PDA

View Full Version : Some paragraphs indented from left, some not??


Richard
07-04-2005, 01:31 PM
I've made a two column layout using CSS. However, the paragraphs in the top part of the content section are indented from the left by about 4px, and the lower ones are normal :confused: I think it has something to do with the content in the left column, because the more content there is in the left column the further down the content section the indent goes appears.

I won't post my own code here because it's too much, but there's another example of what I mean here: http://css.maxdesign.com.au/floatutorial/tutorial0816.htm Scroll down to the demonstration at the bottom. The header and first paragraph are indented slightly from the left down to the line beginning with 'accumsan', then after that the rest of the paragraph and the second one look okay :confused:

How can this problem be solved?

mcdougals4all
07-04-2005, 05:12 PM
Seeing it in IE?

I had a similar problem with a two column layout, except it was an offset in the position of <li>'s in the main column, depending on the height of the content in the first column which was floated left.

Adjusting the width of the <ul> to anything less than 100% fixed it. I imagine setting a similar width for <p> would have the same effect in the example you posted.

Richard
07-04-2005, 05:52 PM
Nope that didn't work :(

_Aerospace_Eng_
07-04-2005, 06:07 PM
You might want to read this (http://www.positioniseverything.net/explorer/threepxtest.html).