On 9/3/10 1:04 AM, Kim Brooks Wei wrote:
At 9:31 PM -0400 9/2/10, David Laakso wrote:
On 9/2/10 8:23 PM, Kim Brooks Wei wrote:
I have nth child even-odd styling on this page set up as an ID. When
I changed this to class so I could set up a second styled section
farther down the page the styling broke. Any ideas as to why?
http://bit.ly/ad7AEl
I am not quite sure what you mean? And it may well be that I simply
do not understand the question or the relevant CSS specifications.
It would seem to me, If you set it to a class then it must be a class
in /both/ the CSS /and/ the markup. And either way -- class or id --
that attribute is not supported in any version of IE-- including IE/8.
Best,
Helen Adams Keller
Tuscumbia, Alabama
Hmmm, Hellen Keller,
I did change both my markup and css. I truly don't know why an id
would work but not a class. Is there something else IE consumes
without indigestion that will permit me to color the background on
every second listing in a ul?
Cheery Kimi
--
I don't know why it does not work, either :-) .
Try jQuery [off-topic for this list] for IE.
<http://api.jquery.com/nth-child-selector/>
Dr Larka
Mexico City
PS Difficulty with type set 20 percent smaller than default on a 116.5
dpi MBP... that page is really quite nice when viewed at default.
--
:: desktop and mobile ::
http://chelseacreekstudio.com/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/