View Full Version : lists in CSS
opel
January 6th, 2005, 11:28 AM
I have lists in my main body text and some lines go over onto two lines. How do I get the second line to left-align with the text above?
ditt0
January 6th, 2005, 03:45 PM
Your code or a link?
opel
January 6th, 2005, 04:37 PM
the css file
senocular
January 6th, 2005, 04:58 PM
yes, what ever you are using to do whatever it is you are trying to do.
opel
January 6th, 2005, 05:20 PM
pardon?
I just want the sencond link of text on my list to left align?
senocular
January 6th, 2005, 05:23 PM
yes thats nice, but to help we need to know what you're doing to not have that happen now. You say "lists" but what are you using? [Un]ordered lists? By default they left align in wrapping. Either you are using something else or have somehow messed up that list behavior. In seeing your code we can debug and figure out what is wrong.
line 2
opel
January 6th, 2005, 05:52 PM
ok I'm unisng unordered list where I wrap the text in:
< ul >
< li >text </ li>
< ul >
my css so far is:
#container li {
list-style-type:none;
font-size:14px;
}
opel
January 6th, 2005, 05:53 PM
there is a closiong tag but forum php didnt pick it up
Kristopher
January 6th, 2005, 08:33 PM
This link should be all you need. You should be able to figure it out on you own from here.
http://www.stylegala.com/features/css-reference/list-style-position.htm
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.