Hello,
The thread on a List Apart made me go visit their site. Wow. If
there's a contest for the www's smallest font, they're in the running.
I thought it would be a good use of user css. And that led to a
question about attribute selectors.
I looked under the hood, and found the following body tag:
<body onload="window. defaultStatus=' A List Apart, for people who make
websites.'" id="sectiontwo" >
So, in my userContent.css the following:
body[onload="window. defaultStatus=' A List Apart, for people who make
websites.'"] {
font-size: 100% !important ;
}
Restarted Mozilla, nothing. I have successfully used my user css for
other overrides, but this attribute selector thing has me stumped. Are
there any resources on using them outside of the css 2 spec?
--
Brian
follow the directions in my address to email me
The thread on a List Apart made me go visit their site. Wow. If
there's a contest for the www's smallest font, they're in the running.
I thought it would be a good use of user css. And that led to a
question about attribute selectors.
I looked under the hood, and found the following body tag:
<body onload="window. defaultStatus=' A List Apart, for people who make
websites.'" id="sectiontwo" >
So, in my userContent.css the following:
body[onload="window. defaultStatus=' A List Apart, for people who make
websites.'"] {
font-size: 100% !important ;
}
Restarted Mozilla, nothing. I have successfully used my user css for
other overrides, but this attribute selector thing has me stumped. Are
there any resources on using them outside of the css 2 spec?
--
Brian
follow the directions in my address to email me
Comment