Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
a horizental menu in mozila
Old 12-20-2006, 04:55 AM a horizental menu in mozila
Skilled Talker

Posts: 60
Name: tami
Trades: 0
hi, i have a horizental menu that looks fine in explorer and in mozila it looks like one long line so i tried to add a gif but it isnt working....:
Code:
 <ul id="Links">
        <li><a href="some.html"> one </a></li><img src="images/space.gif" border="0" height="10" width="10" /> 
        <li><a href="some.html"> two</a> </li><img src="images/space.gif" border="0" height="10" width="10" /><li><a href="some.html"> three </a></li>    </ul>
in the css i have this:
Code:
#Links li
{
display: inline;
 
}
how do i solve this?
pizza is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-20-2006, 11:18 AM Re: a horizental menu in mozila
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
There is no need for spacer gifs using CSS.
The display: inline is correct for making a horizontal list. Now to space them out, you need to use margin and padding on the LI and/or <a> elements.

A method I use to see what's going on is to add a 1px border around the element I'm testing, you can then easily see the effects of the changes you are making. When you've got it squared away, delete the border.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by LadynRed; 12-20-2006 at 11:20 AM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Old 12-20-2006, 11:53 AM Re: a horizental menu in mozila
Skilled Talker

Posts: 60
Name: tami
Trades: 0
but nothing i do works with Mozila .....
i tried padding, padding-left, and also margin and margin- left, and it has no effect in the Mozila....
and i also get an error in the Mozila :
Warning: Error in parsing value for property 'border-left-color'. Declaration dropped.
regarding this:
border-left-color:1px solid #851F03;and it looks ok to me...

the complete code for that is:
]#festLinks li{
display: inline;
border-left-color:1px solid #851F03;
font-family:Arial, Helvetica, sans-serif;
color:#851F03;
padding: 3px 6px;
}
pizza is offline
Reply With Quote
View Public Profile
 
Old 12-20-2006, 02:28 PM Re: a horizental menu in mozila
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
there is no property of border-left-color

just border-left:
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-20-2006, 04:29 PM Re: a horizental menu in mozila
Skilled Talker

Posts: 60
Name: tami
Trades: 0
ok, what about the first part? why dosent anything i do to my horizental list work?
pizza is offline
Reply With Quote
View Public Profile
 
Old 12-20-2006, 05:19 PM Re: a horizental menu in mozila
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,517
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
no idea, do we get a link so we can see the issue first hand ?
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 12-21-2006, 06:03 PM Re: a horizental menu in mozila
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Firefox uses margins for lists, IE uses padding. You're going to have to use BOTH to get the results you want.
In addition, you have links inside the list, so adding padding/margins to the <a> will affect it too.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to a horizental menu in mozila
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.25348 seconds with 12 queries