Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > HTML, XHTML and CSS

Reply
 
LinkBack Thread Tools
Old August 15th, 2006, 04:57 AM   #1
csa
WebForumz Member
 

Join Date: Nov 2005
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 csa is on a distinguished road
Align list to the left

Is there an easy way to align a bulleted list to that it is right up the left hand side and is viewable in all browsers? See Attached. In this instance I am using my own image bullets rather than pre-set. Thanks
Attached Images
File Type: gif list.gif (462 Bytes, 46 views)
csa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 15th, 2006, 05:01 AM   #2
Elite Veteran
 
Ryan Fait's Avatar
 

Join Date: May 2006
Location: Las Vegas
Posts: 3,784
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Ryan Fait is a jewel in the rough Ryan Fait is a jewel in the rough Ryan Fait is a jewel in the rough Ryan Fait is a jewel in the rough
Re: Align list to the left

I don't quite understand what you're trying to do, but something like this will give you full control:

Code:
<style type="text/css">
    ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
    }
    li {
        margin: 0;
        padding: 0 0 0 10px;
        background: #fff url("bullet.gif") no-repeat 0 50%;
    }
</style>
Ryan Fait is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 15th, 2006, 07:39 AM   #3
Highly Reputable Member
 
masonbarge's Avatar
 

Join Date: Jan 2006
Location: Atlanta GA
Posts: 649
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 masonbarge will become famous soon enough
Re: Align list to the left

You really need to restate your question more carefully. I can't tell what you want to do.
masonbarge is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 15th, 2006, 10:43 AM   #4
Elite Veteran
 

Join Date: Aug 2005
Location: That Place
Posts: 2,081
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Rep Altering Power: 0 moojoo will become famous soon enough moojoo will become famous soon enough
Re: Align list to the left

Something like this should get you going.

#foo ul {
padding:0;
margin:0;
}

#foo li {
list-style-type:none;
padding: 0 0 0 12px; /* or whatever the bullet size is plus a few pixels */
background: url(../images/foo_bullet.jpg) center left no-repeat;
}
__________________

moojoo is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old August 16th, 2006, 04:22 AM   #5
csa
WebForumz Member
 

Join Date: Nov 2005
Posts: 67
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 csa is on a distinguished road
Re: Align list to the left

Thank you css posters, this has worked.

Will try and expand on my posts in future.
csa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks

Tags
align , list , left


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using a list for navigation, can you center a list? tonyb HTML, XHTML and CSS 4 May 9th, 2008 12:26 PM
2 Drop down list - auto select depending on choice from first list ciaranleeper JavaScript 0 March 26th, 2008 07:38 AM
Spacing between list items incorrect when span tag is used in a list item... MikeTheVike HTML, XHTML and CSS 5 April 17th, 2007 09:52 PM
List to align left csa HTML, XHTML and CSS 6 February 26th, 2006 03:19 AM
Having trouble moving list to the left csa HTML, XHTML and CSS 2 December 12th, 2005 04:56 AM


Search Engine Optimization by vBSEO 3.2.0 RC8