Forum Moderators: open
Is there a way to delclare td widths in:
<td width="23%" class="dark">Text</td>
There is a warning for a whole bunch of things that are fowling up my attempts:
"document type does not allow element "INPUT" here; missing one "P", "H1", "H2", "H3", "H4", "H5", "H6", "PRE", "DIV", "ADDRESS" start-tag"
For those that may say get rid of the tables, I cant :)
Any pointers gratfully recieved.
Cheers
Are the <p> tags closed?
Also, if you have set the overall body size to 80%, setting the size of paragraph fonts to 80% actually means "80% of body size", which would be about 64% of browser default...
Use % or em. Just remember that explicitly setting the size for a child element makes the takes relatively smaller compared to its parent.
<body>
Test
<div>
Test
<p>
Test
</p>
</div>
</body>
Setting font size to 50% for each element (body, div, and p) would make the text in the above example smaller and smaller...
One way to handle this is to only set the font size in either the outer-most or the inner-most elements - just not both!