0
How to align the image in the table?
2 Respuestas
+ 3
I have a look to your code: do you still requires help for align image in table?
Anyway, as I was looking it, I take some notes about corrections that you could do:
Line 4 you have an unexpected closing tag... you must write: <meta charset="UTF-8">
L48 missing a double quote after width value.
L53,69 and many others unexpected </img>
L70,71,72 and almost next... You can't put <hx> inside <p>, like: <p><hx>text</hx></p>, as it's parsed as <p></p><hx>text</hx> or something like, resulting in unexpected spaces due to margin of added element when browser try to correct invalid code ^^
L72 also, <hr> not valid inside a <p> too.
About unexpected </img>: Contents are unexpected inside <img>, they are not designed for have child elements, this is why the closing tag is invalid :P
Be carefull also to right embed tags: you have some <img> (imagine it's a <div>, valid if content) with a starting <form> tag inside, but you close the first before the second: <div><form></div></form>
It's unlogical and not valid... you are saved by the fact the </img> is no more valid and so is ignored ^^
You don't need to use <hx> tag to set font-size... <hx> are for different title level... not for others text content, even the frontier is close sometimes. You may use some <p> with removing <hx>, setting some class to define different level of <p>... and use only once <h1> (design purpose is to be unique as a main title of the page), using others <hx> levels if needed other title levels.
You must avoid tag attribute 'align' and all attributes for styling when you can replace them (almost always) by css.
Also for <center> tag, and others <b>, <I>...
Globaly, it's not too bad, but it's less clear when looking at details: try too to better indent your code to better readability, and put your css rules in the css tab, you will get more usabily for your html code: it's easier to switch between tabs, than to scroll in text...
Well, and after all that, I maybe could help you to better handle/display your layout