--- Gunlaug Sørtun <[EMAIL PROTECTED]> wrote:
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> The voice-family hack is extremely unreliable, and should not be used.
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

Agh... it's been so long since I used a box model hack, I didn't realize that. 
I usually try and
avoid box model issues altogether but I can't seem to avoid it on this menu.

><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
> If compensation between quirks modes in IE/win and Netscape(fall back
> for Mozzy), then a '* html' hack will do the trick, like so:
> 
> #svmp_vert ul a {/*other rules*/; width: 156px;}
> * html #svmp_vert ul a {width: 140px;}
>
> Write complete styles to begin with, and compensate for IE/win (and also
> IE/Mac I'm afraid).
><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

No need to support IE/Mac. Anyway, makes sense, so I did this:

#svmp_vert ul a {
font-size: 12px;
display: block;
padding: 2px 8px 2px 8px;
background-color: #2175bc;
color: #fff;
text-decoration: none;
width: 156px;}

* html #svmp_vert ul a {width: 140px;}

(I did this for each of the 4 levels)

Testing is showing this is working just fine in IE6, but nothing else. Broken 
in FF, NS7 and IE5
and 5.5... Maybe I'm going about this the wrong way? Here is the page again:

http://www.pixelmech.com/rev/menu.html (css is inline)
http://www.pixelmech.com/rev/menu.css  (css separated out for your convenience)

Have I made a mistake implementing the hack, or am I simply going about things 
the wrong way? I've
never had so much trouble with a nav list, although this one is nested 4 
deep..still...

Thanks!



http://www.pixelmech.com/

A man spoke frantically into the phone: "My wife is pregnant and her 
contractions are only two minutes apart"! "Is this her first child?" the doctor 
asked. "No, you idiot!" the man shouted. "This is her husband!"

Q: What do you call a muddy chicken who crossed the road two times?
A: A dirty double crosser...

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to