PDA

View Full Version : CSS on MAC


css2code
09-08-2005, 09:21 PM
i tried to use float right an inline list but it does not float to the right on MAC. Any advise?

_Aerospace_Eng_
09-08-2005, 10:23 PM
Since I don't have a Mac I can't really tell you how to fix your problem but if you expect anyone else to then it would be wise if you posted your html and css.

css2code
09-08-2005, 10:46 PM
I have fix the float right issue. another problem is that the background image on Li does not show.

#subnavigation {
width: 710px;
height: 22px;
background-color:#FF6600;;
}

#sub_link {
font-family:Arial, Helvetica, sans-serif; font-size:11px; background-color:#FF6600; float:right;}
#sub_link ul {margin:0; padding:0; padding-top:2px; }
#sub_link li {display:inline; padding-left:125px; background: url(../images/arr_subnav.gif) no-repeat 5px 2px; border:solid;}
#sub_link a:link, #sub_link a:visited {
padding: 0px 25px 0px 10px;
color:#ffffff;
background-color:#FF6600;;
text-decoration:none;
border: 0px; float:right;}
#sub_link a:hover {color:#ffcc00; background-color:#FF6600;}

------------------------------------------------

<div id="subnavigation">
<div id="sub_link">
<ul>
<li><a href="#">how we work</a></li>
<li><a href="#">what we do</a></li>
<li><a href="#">who we are</a></li>
<li><a href="#">home</a></li>
</ul>
</div>
</div>

_Aerospace_Eng_
09-08-2005, 11:25 PM
Is the image just not showing on a Mac or is it not showing on PC's either? Can you give us a link to the page?

css2code
09-08-2005, 11:48 PM
after so many trials and error. i finally got it. Thanks for trying to help. thank you

_Aerospace_Eng_
09-09-2005, 04:22 AM
Can you post the solution so others can benefit from it?