Hello
Another pathetic question, it seems som simple, yet I
Add display:inline to your
Add display:inline to your first left float to cancel 'Double Margin Bug'
Validation? you don't close out empty tags with html 4.01 '/>'
Hugo wrote:Add
Add display:inline to your first left float to cancel 'Double Margin Bug'
Works! Simply beautiful, thanx a million - never heard of before, great!
Validation? you don't close out empty tags with html 4.01 '/>'
Thank you Hugo, but please, can you be more specific, what does that mean in this very example?
Thank you once again!
/Tobi
You should validate your
You should validate your HTML, it's good practise.
HTML 4.01 (your doctype) doesn't need the trailing / slashes to close elements; either take them out or bump up your DTD to xHTML 1.0 strict.
thepineapplehead wrote:You
You should validate your HTML, it's good practise.
Yep - just got into the hapit of doing that!
HTML 4.01 (your doctype) doesn't need the trailing / slashes to close elements; either take them out
Ok, how would my head & body tags look then, please specify..
or bump up your DTD to xHTML 1.0 strict.
And then I can leave my code as is?
Ok, once again - a million thanx!
/T
Sorry, it's only empty tags
Sorry, it's only empty tags that don't need the closhing slash in Html 4.01
Example:
that's XHTML. For your HTML 4 DTD, you'd use:
Leave the head and body tags as they are
It's only necessary to close the single empty tags, such as the meta tags, stylesheet links, and HTML content such as <br /> and <hr />, tags that don't by default have a closing tag eg <p></p>
Hello thepineapplehead, and
Hello thepineapplehead, and thank you very much for your explanatory answers! Things are a lot clearer now!
All the best!
1000 thanx
/Tobi