HighDots Forums  

Re: Strange css problem (bug?)

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: Strange css problem (bug?) in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Knud Gert Ellentoft
 
Posts: n/a

Default Re: Strange css problem (bug?) - 08-28-2005 , 04:34 PM






M O J O skrev:

Quote:
I also found out, if I put a <p>&nbsp;</p> below the <a href...> in the
code above, everything works fine.
In xhtml text must be in a blockelement, so that's why it works
without doctype.

<p><a href="http://www.microsoft.com/">This is just a
link</a></p>
--
Knud
Topposter du svar, så ryger du på min ignoreringsliste.
Svar under det du citerer og citer kun det du svarer på - tak.
http://usenet.dk/netikette/citatteknik.html


Reply With Quote
  #2  
Old   
David Dorward
 
Posts: n/a

Default Re: Strange css problem (bug?) - 08-28-2005 , 05:08 PM






Knud Gert Ellentoft wrote:

Quote:
In xhtml text must be in a blockelement
No, that's Strict (HTML 4.01 Strict and XHTML 1.0 Strict). Transitional DTDs
allow text to be contained directly within the <body>, (Not that anybody
should be using Transitional in this day and age).

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.