This is a discussion on "List to align left" within the Web Page Design section. This forum, and the thread "List to align left are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
List to align left
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
List to align left
I'm using a list as follows below however I want the bullets to align to the left hand side of the div tag navcontainer, at the moment it indents the list in FF but it's fine in IE. I know FF doesn't like margin... but it's also ignoring any padding I put in.
#navlist{ list-style-image: url(images/bullet.gif); margin-left: 20px; } #navcontainer{ width: 275px; } thanks Last edited by csa; Feb 22nd, 2006 at 14:14. |
|
|
|
||||
|
Re: List to align left
Try this:-
Change to margin-left:0; padding-left:20px; Not 100% sure it'll work.
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
||||
|
Re: List to align left
I'm not one for styling lists except or use in navigation so generally always remove the bullets..... I'll remember this one Herkalees!
__________________
Rob - SEO Specialist Owner & Founder of Webforumz.com I am currently unavailable for private work
Last Blog Entry: Creative Labs threaten developer over home made drivers.... (Apr 1st, 2008)
|
|
|||
|
Re: List to align left
Thanks, I can see how this would work. However I often have more than one list on my page and end up get confused as to the best way of identifying each. Obviously ul will apply to all my links, could someone be so kind as to show me a brief example of how I to do this correctly?
Thank you. |
![]() |
| Tags |
| list, align, left |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Using a list for navigation, can you center a list? | tonyb | Web Page Design | 4 | May 9th, 2008 16:26 |
| 2 Drop down list - auto select depending on choice from first list | ciaranleeper | JavaScript Forum | 0 | Mar 26th, 2008 10:38 |
| Spacing between list items incorrect when span tag is used in a list item... | MikeTheVike | Web Page Design | 5 | Apr 18th, 2007 01:52 |
| Align list to the left | csa | Web Page Design | 4 | Aug 16th, 2006 08:22 |
| Having trouble moving list to the left | csa | Web Page Design | 2 | Dec 12th, 2005 08:56 |