15 CSS properties you never use, but maybe should (Full Version)

All Forums >> [Web Development] >> Cascading Style Sheets



Message


c1sissy -> 15 CSS properties you never use, but maybe should (2/18/2007 8:23:37)

15 CSS Properties You Probably Never Use (but perhaps should)

This is a very interesting list of properties with their explainations.




Tailslide -> RE: 15 CSS properties you never use, but maybe should (2/18/2007 8:28:28)

It's an interesting article - although there's a good reason why many of those are rarely used (they don't work in enough browsers).




jaybee -> RE: 15 CSS properties you never use, but maybe should (2/18/2007 12:00:34)

There are also some there that work in all browsers but do completely different things. If you use any of them check them out in all the main browsers to see what the differences are.




c1sissy -> RE: 15 CSS properties you never use, but maybe should (2/18/2007 14:16:29)

quote:

These are all CSS level 2 properties but some of them don't work in all browsers, so make sure and test things out before putting them into use.


The autor of the article states that you need to check this out before using.




Starhugger -> RE: 15 CSS properties you never use, but maybe should (2/21/2007 19:16:19)

According to SitePoint's Designing Without Tables Using CSS (published 2003, 2006) which has a complete and very useful list of CSS properties:

  • clip is buggy or inconsistent in Netscape 4, IE4 for Macs and Opera.
  • content isn't supported by IE at all up to 6 (don't know about 7, since it was released after the book).
  • visibility: collapse isn't compatible in any browsers, although :hidden and :visible are supported by all browsers.
  • quotes work differently in different browsers.
  • font-variant is supported but seems to be a bit buggy or inconsistent.
  • table-layout only works in IE5 or later and Opera 7.
  • empty-cells are supported only by Netscape 6 and Mozilla broswers, and not at all at least up to IE6 (7 unknown).
  • I can personally testify that page-break-before and -after, and widows and orphans are useless (at least in IE7 and FF1.5).
  • text-shadow, counter-increment, counter-reset, marks, font-size-adjust and font-stretch are not supported by any browsers (as of publication).

There are a lot of very cool and potentially useful CSS properties that aren't used by browsers. Makes me wonder why they were created, but I guess the creators aren't those who apply the stuff. I really wish some of these were usable on a reasonably consistent basis! I believe there's a new version of the book available, so maybe it has more up-to-date info about these properties.

Thanks for the link c1sissy!

Starhugger




Tailslide -> RE: 15 CSS properties you never use, but maybe should (2/22/2007 3:05:02)

I reckon that your list is fairly accurate currently Starhugger. Font-variant is pretty much ok - I use that one a fair bit.




jaybee -> RE: 15 CSS properties you never use, but maybe should (2/22/2007 6:38:08)

quote:

I can personally testify that page-break-before and -after, and widows and orphans are useless (at least in IE7 and FF1.5).
Tell me about it. I spent a good few hours coming up with a really cool use for it and then had my hopes dashed upon the rocks of nothingness. [&o]




Starhugger -> RE: 15 CSS properties you never use, but maybe should (2/22/2007 12:45:43)

quote:

ORIGINAL: Tailslide

Font-variant is pretty much ok - I use that one a fair bit.

Do you know if it's compatible with the older browsers? I've wished I could use it sometimes but figured it was a waste of time.

SH




Starhugger -> RE: 15 CSS properties you never use, but maybe should (2/22/2007 12:48:34)

quote:

ORIGINAL: jaybee

Tell me about it. I spent a good few hours coming up with a really cool use for it and then had my hopes dashed upon the rocks of nothingness. [&o]

Yup, you were the one who helped me realize it wasn't just my lack of programming skills that was at fault when I tried to use it in an application several months ago. Not that I didn't keep trying anyway...
[sm=BangHead.gif]

SH




Tailslide -> RE: 15 CSS properties you never use, but maybe should (2/23/2007 2:55:21)

Dunno about older browsers. I have used it and not noticed an issue (can't quite remember where). It's one of those things that even if it's not understood it's not fatal - you just get normal text rather than the variant.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.078125