*) except old buggy browsers, ofcourse
Yep...it's will work in IE5/Mac is it's just span (without display:block) oddly enough, otherwise it doesn't. Good thing I don't really develop for that browser any more. I still need to check all of this on IE5/PC though...later. ;)
On Mar 31, 2005, at 2:00 PM, Kornel Lesinski wrote:
On Thu, 31 Mar 2005 12:31:25 +0100, Vaska.WSG <[EMAIL PROTECTED]> wrote:
The tricky part, since I can't do this with a span (I believe) is that I only want class='sentence' to be just the width of the word itself (just as a span does it)
a bit offtopic note:
From CSS point of view there is no difference between tags. You can* do same things with <span>, <div>, <b>, <table> or even apply styles to <title> and <meta> tags.
*) except old buggy browsers, ofcourse
Magic: span {display: block;} div {display: inline;} and you have presenation of those two swapped!
This doesn't affect HTML, which still has to follow it's own rules and should carry semantics.
-- regards, Kornel Lesi?ski
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
****************************************************** The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************