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.

HTML Forum


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



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
List not aligning correctly in IE
Old 03-28-2007, 08:13 PM List not aligning correctly in IE
Skilled Talker

Posts: 52
Name: ana
Trades: 0
My list is not aligning correctly in IE - help:

http://www.outer-edge.com.au/develop...e/gearbox.html

-- HTML --

<div id="gearbox">
<div id="gearbox_content">

<ul>
<li>4WD</li>
<li>mountain biking</li>
<li>fishing</li>
<li>family camping</li>
<li>overnight</li>
</ul>

</div>
</div>


-- Styles --

#gearbox li {
list-style-image: url(images/arrow.gif);
list-style-position: outside;
font-weight: bold;
font-size: 18px;
}


#gearbox {
background: url(images/white_bg_top.jpg);
background-repeat: no-repeat;
background-color: #FFFFFF;
height: auto;
width: 800px;
padding-top: 100px;
}

#gearbox_content {
height: auto;
font-size: 12px;
padding-left: 90px;
padding-right: 40px;
padding-bottom: 20px;
background-color: #FFFFFF;
text-align: justify;
}
ana_rad is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 03-28-2007, 08:29 PM Re: List not aligning correctly in IE
vangogh's Avatar
Post Impressionist

Latest Blog Post:
Why Responsive Design?
Posts: 10,815
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
Try:

#gearbox ul {
margin-left: 0
padding-left: 0
}

That should get the list aligned the same in both Firefox and IE. You'll probably need to add back a little to either the margin or the padding (one or the other, but not both) to have things align where you want.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Old 03-28-2007, 08:44 PM Re: List not aligning correctly in IE
Skilled Talker

Posts: 52
Name: ana
Trades: 0
I've tried that, and then Firefox is out too far to the left, but IE is closer to the right spot but still not accurate.

i need the list bullets to line up to the arrow from the page heading img.

any ideas?
ana_rad is offline
Reply With Quote
View Public Profile
 
Old 03-28-2007, 10:43 PM Re: List not aligning correctly in IE
Tom_M's Avatar
Ultra Talker

Posts: 250
Name: Tom Maurer
Location: Pennslvania, USA
Trades: 0
Are you trying to align the small arrow with the big arrow? If so, add some left margin to the list element.

Code:
#gearbox li {
    list-style-image: url(images/arrow.gif);
    list-style-position: outside;
    font-weight: bold;
    font-size: 18px;
    margin-left:20px;
}
Not sure if that's what you wanted to do or not.

Last edited by Tom_M; 03-28-2007 at 10:44 PM..
Tom_M is offline
Reply With Quote
View Public Profile
 
Old 03-28-2007, 11:01 PM Re: List not aligning correctly in IE
Skilled Talker

Posts: 52
Name: ana
Trades: 0
geez how obvious was that.

thanks heaps!
ana_rad is offline
Reply With Quote
View Public Profile
 
Old 03-29-2007, 02:17 PM Re: List not aligning correctly in IE
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Because of the differences in the way the browsers handle list bullets (well MOSTLY IE), it would probably be easier to set your orange arrow as BACKGROUND on the <li> or <a>, then you can use padding to push the text over. Just set the background to no-repeat and it'll stay over to the left.
__________________
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 List not aligning correctly in IE
 

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.23513 seconds with 12 queries