SuperSilent Posted April 9, 2006 Share Posted April 9, 2006 HeyIs there something I can do so that the second line of each listing starts where the first one did? And not straight below the list marker?Thanks! Link to comment Share on other sites More sharing options...
Little Goat Posted April 10, 2006 Share Posted April 10, 2006 Ok, I have no Idea what you are talking about. :)post some code and tellin more detail what it is your trying to do. :)LG Link to comment Share on other sites More sharing options...
raimo Posted April 10, 2006 Share Posted April 10, 2006 HeyIs there something I can do so that the second line of each listing starts where the first one did? And not straight below the list marker?Thanks!<{POST_SNAPBACK}> Hmmm.. :)How are You changing those lines? With <br> or only as a new line.2nd line should starts there where 1st line starts, but if You have changed list-style-position to inside and use <br>it will start from marker.Try: list-style-position: inside; and list-style-position: outside;and a linebreak without <br>I mean, this shoud work fine:<li>1st line2nd line3rd line If no help, post Your CSS-code or URL. Link to comment Share on other sites More sharing options...
SuperSilent Posted April 10, 2006 Author Share Posted April 10, 2006 Hmmm.. :)How are You changing those lines? With <br> or only as a new line.2nd line should starts there where 1st line starts, but if You have changed list-style-position to inside and use <br>it will start from marker.Try: list-style-position: inside; and list-style-position: outside;and a linebreak without <br>I mean, this shoud work fine:<li>1st line2nd line3rd line If no help, post Your CSS-code or URL. <{POST_SNAPBACK}> Okay, I'm gonna try and explain what I mean.. Let's say that x is the list-marker. And the text is a sentence divided into to lines, or more, because of the size of the div it's placed in.I have this:x texttexttexttexttexttexttexttexttextAnd I want it to look like this:x texttexttexttexttexttexttexttexttextI'm pretty new to css, so excuse me if the solution to this is ridiculously simple, and thanks a lot for your help :)Edit: that didn't work, of course.. I mean that i want the text in the second line to start straight under the text in the first line, and not under the x, like it obviously did here too.. Link to comment Share on other sites More sharing options...
Little Goat Posted April 10, 2006 Share Posted April 10, 2006 http://www.w3schools.com/css/tryit.asp?fil...css_text-indentset the indent to a negative value.http://www.w3schools.com/css/pr_text_text-indent.aspmore detail.LG Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now