DrDoc

msg:1175026 | 5:04 am on Apr 30, 2003 (gmt 0) |
CSS3 selectors are not supported by IE6 (maybe in IE9 ;)) So, I'm afraid the best option is to use either a class or ID for the button. I usually use .button. Then you can always style it the way you want, reset previous borders/styles too if needs be :)
|
grahamstewart

msg:1175027 | 5:10 am on Apr 30, 2003 (gmt 0) |
Grrr.. I was afraid of that. Okay, if I just add a .button class to my buttons then is there any way to return the button border to its default 'buttony' look? BTW: input[type="text"] is not a CSS3 selector, attribute selectors [w3.org] are in the CSS2 spec. Just not actually suppported by Microsoft apparently. :(
|
papabaer

msg:1175028 | 5:25 am on Apr 30, 2003 (gmt 0) |
| CSS3 selectors are not supported by IE6 (maybe in IE9 ;)) |
| LOL! Hey DrDoc! aren't you rushing IE a bit? Maybe IE19.... IE, the new NN4! Attribute selectors will make managing style soooo much easier. I use some now, but only for non-critical items. Where I would LOVe to use them is in this situation: a[href] {some:style;} I use a number of anchors for reference/content (<a id="def-sound-sampling">Sound sampling</a>) The ability to style only anchors that have the "href" attribute would allow me to eliminate a .class that currently allows me to differentiate between the two types. Opera and Mozilla(family) support attribute selectors very nicely! While IE.... well....!
|
grahamstewart

msg:1175029 | 5:34 am on Apr 30, 2003 (gmt 0) |
| Opera and Mozilla(family) support attribute selectors very nicely! While IE.... well....! |
| Yup, I use this one in my print stylesheets.. a.external:after { content: " (" attr(href) ") "; font-size: 90%; } It adds in the address of the link in brackets after the link text. Works great in Opera, but not IE. I leave it in there in the hope that IE will eventually support it.
|
|