[thelist] css question: no spaces after a line....
martin burns
martin at lists.evolt.org
Mon Oct 2 11:22:51 CDT 2000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
At 16:50 02/10/00, Andy Olsen wrote:
>The only workaround I can find is to specify a property tag that will
>"replace" use of headings. Then, this can be used through the DIV, or
><SPAN> tag. I've done this on another web site, http://www.wisconsun.org
>and it worked on CSS-compliant browsers (which the client understood and
>accepted).
>
>I have this problem in IE 5 and NS4.7x, but not Opera 4. (Go, Opera!)
IE5/Mac's pretty good too.
>But, did I say "replace?" Well, what happens when one replaces the H1 tag
>with a div and the user does not have a CSS-compliant browser? Well, then
>they simply see a paragraph break. No heading formatting. The workaround
>requires much more markup than I want to stuff into my web pages.
More worryingly, you've then lost the structure of the page in question.
Remember that <hn> is *structural* markup - it's a vital part of being
accessible to people with disabilities
Actually, I don't view broken UAs mis-displaying styles to the tune
of a few pixels' space after a heading tag as being particularly significant.
If you *really* want that level of control, then either design for a homogenous
platform (most intranets qualify), or work on print. The more important factors
are that it looks consistent within itself on a given platform (and doesn't
break
branding across platforms) and that the structure is there.
Cheers
Martin
________________
Martin Burns, Content Management Consultant
tel: +44 (0)778 068 6418
http://evolt.org/index.cfm?menu=9&uid=32
http://www.easyweb.co.uk/
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
Comment: PGP Key ID: 0xA835CCCB
iQA/AwUBOdixn3HoHnCoNczLEQIT3gCfc+mEGSCjGiypFoQn5yyr4MDJZAIAn31j
9Vljjatq0jbsT4iVhcnmsiHk
=6162
-----END PGP SIGNATURE-----
More information about the thelist
mailing list