IWETHEY v. 0.3.0 | TODO
1,095 registered users | 1 active user | 0 LpH | Statistics
Login | Create New User
IWETHEY Banner

Welcome to IWETHEY!

New Hard to say what's wrong.
I've noticed myself duplicating CSS for no apparant reason other than that seems to be what it takes.

But some thoughts for you to consider: You're not confusing ID selectors (e.g. #Menu and ID='Menu') with class selectors (e.g. .Menu and class='Menu') are you? Also, #Menu>A:link is more restrictive than #Menu A:link as the latter means you can put something else between the #Menu'ed tag and the A tag.

Wade.

"Ah. One of the difficult questions."

New Re: Hard to say what's wrong.
But some thoughts for you to consider: You're not confusing ID selectors (e.g. #Menu and ID='Menu') with class selectors (e.g. .Menu and class='Menu') are you? Also, #Menu>A:link is more restrictive than #Menu A:link as the latter means you can put something else between the #Menu'ed tag and the A tag.


No, I'm not confusing ID selectors with class selectors.

I first tried it with only ID selectors like <div id="Menu"> in my HTML, and #Menu>a:link in my CSS. In that particular instance, my pretty menu box that showed up with white links on an orange background in Mozilla was a completely orange box in IE.

What I did to fix it was add class="menu" attributes to all of the <a> tags in the HTML, and duplicate the "a" definitions in the CSS to be a.menu as well as #Menu>a.

I can't say as I truly understand why that works, but it does.

IE is borked.
-YendorMike

What if the hokey pokey really is what it's all about?
- Jimmy Buffett, June 20, 2002, Tinley Park
New Try this.
Make the div <div class='Menu'>. Make your CSS selector .Menu instead of #Menu. Change the #Menu>A:... selectors to .Menu A:... and remove the class= from the <A> tags. You should also be able to then remove the a.menu selectors.

In my reading, the W3C standard is a little unclear about how style elements cascade from ID selectors whereas class selectors are better defined in that regard. Then too, I haven't played much with ID selectors. :-)

Wade.

"Ah. One of the difficult questions."

New WOO!
That worked! Double-coding removed, and it reportedly still works in IE. Life is good, and Wade roX0rz.

Thankee sai.
-YendorMike

What if the hokey pokey really is what it's all about?
- Jimmy Buffett, June 20, 2002, Tinley Park
New *bows*
Nice to see my long hours of trying to fathom the W3C's CSS document is useful to someone else. :-)

I know it's a bit belated, but you might like to browse [link|http://yceran.org|my web site] for other CSS ideas.

Wade.

"Ah. One of the difficult questions."

New Re: *bows*
Looks good, Wade!

Browses quite nicely in Mozilla 1.0. You also reminded me to download Opera, if only to test that my site works in it. (It does.)

Kudos!
-YendorMike

What if the hokey pokey really is what it's all about?
- Jimmy Buffett, June 20, 2002, Tinley Park
     OK, so one of those kinks that needs working out... - (Yendor) - (15)
         For one thing... - (a6l6e6x)
         I miss Duckman - (SpiceWare)
         I think I see what it's doing - (JayMehaffey)
         See if that works... - (Yendor) - (7)
             Hard to say what's wrong. - (static) - (5)
                 Re: Hard to say what's wrong. - (Yendor) - (4)
                     Try this. - (static) - (3)
                         WOO! - (Yendor) - (2)
                             *bows* - (static) - (1)
                                 Re: *bows* - (Yendor)
             What I've been doing - (JayMehaffey)
         A few comments, etc. - (tseliot) - (3)
             Re: A few comments, etc. - (Yendor) - (2)
                 Spit and polish - (tseliot) - (1)
                     Re: Spit and polish - (Yendor)

(to borrow Ashton's excellent phrase)
46 ms