---------- Original Message ----------------------------------
From: Enayet Rasul
Reply-To: Enayet Rasul
Date:  Mon, 13 Jun 2005 18:59:20 -0400

.......

If I styled a list using type selectors, the list was rendered fine in
these browsers (IE Win 6, Firefox 1.4, IE Mac 5.2, NS Win 6.2)

http://mustang.activematter.com/AM/ul_macie.html

BUT if i tried to styling a list using a parent class, the widthless
floats in the list expanded to full width on IE/Mac (It looked fine on
the Windows side):

http://mustang.activematter.com/AM/class_macie.html

Does IE Mac have a specificity problem? Or am I not calling the
"inline" style correctly? That's the style that solves the IE Mac
issue with expanding floats.

No problems with specificity in IE Mac.
There is however a difference between the 2 pages. The page that doesn't work has this:
.primarynavcontainer li {
...
  text-align: center;
}
Which cause the li to expand full width of the parent block.
solutions:
1/ remove the text-align:center, and use padding/margin.
2/ leave the   text-align:center, but additionally, add the following:
.primarynavcontainer li {
        ...;
        text-align: center;
        width:1px;
        white-space:nowrap;
}

This probably is better hidden from all other browsers. For some filters to show things only to IE Mac
<http://www.l-c-n.com/IE5tests/hiding/#anshow>

Have fun,
Philippe
---
Philippe Wittenbergh
<http://emps.l-c-n.com/>

______________________________________________________________________
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