HighDots Forums  

Re: "(non-)replaced"?

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


Discuss Re: "(non-)replaced"? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Sander Tekelenburg
 
Posts: n/a

Default Re: "(non-)replaced"? - 12-30-2004 , 01:22 AM






-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[Crossposted and followups set to
<news:comp.infosystems.www.authoring.stylesheets >]

In article <hsivonen-C1B6AC.11011529122004 (AT) news (DOT) dnainternet.net>,
Henri Sivonen <hsivonen (AT) iki (DOT) fi> wrote:

Quote:
In article <user-461ADB.09280129122004 (AT) news (DOT) euro.net>,
Sander Tekelenburg <user (AT) domain (DOT) invalid> wrote:
[...]

Quote:
I was wondering whether an empty SPAN with a background
image and explicit width is a valid construction.

It the syntactic sense it is valid.

I use that construction at <http://www.lotzofmusic.com/>. Mozilla
1.7.5, Opera 7.5.4 and iCab 3.0 happily deal with this the way I
hoped

Only because the display property computes to block, because you
have set float: left;.
Yes, that would make sense. However, I don't see that confirmed by

Quote:
http://www.w3.org/TR/CSS21/visuren.html#dis-pos-flo
which says "[...] if 'float' has a value other than 'none', the box
is floated and 'display' is set according to the table below [...]".
Then in 'the table below' it seems to say that in this case display
is set to "same as specified". Eh?

(Ah, I see that <http://www.w3.org/TR/CSS21/visuren.html#q27> even
provides an example of a floating SPAN with an explicit width.)

[...]

Quote:
But then why does the W3C validator not complain?

Declaring properties that do not apply in some situations is not a
syntax error.
Duh, I knew that - just forgot to think of it Thanks.

Btw, are there CSS checkers that have more to offer than mere
syntactic validation?

Quote:
[The reason I posted this to ciwah, in spite of all the CSS
involved, was that it seemd to be about elements and thus about
HTML.]

This is all CSS stuff.
So it seems. Crossposting and setting followups to
<news:comp.infosystems.www.authoring.stylesheets >

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1 - not licensed for commercial use: www.pgp.com

iQA/AwUBQdOehOsywKfXgqKdEQKPPgCggDf84AokrHY7r0XafCupTh 3pI6QAoM8S
ulRnhVbLNj0tVk+OEdgBYyUD
=wILx
-----END PGP SIGNATURE-----

--
Sander Tekelenburg, <http://www.euronet.nl/%7Etekelenb/>


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 - 2009, Jelsoft Enterprises Ltd.