Posts: 55
Threads: 13
Joined: Feb 2010
I am trying to place a simple image in a page.
the image will not align left.
The image appears on the page on the page about 3 cm into the page.
Any suggestions?
Thank you.
Posts: 55
Threads: 13
Joined: Feb 2010
I had a request from someone to start a paragraph with an image, with text next to the image.
If the first paragraph is started with a small image, the image is "indented".
Then once the image is removed. The text remains indented. Any suggestions?
Posts: 972
Threads: 27
Joined: Aug 2009
Could you share the source so we can check out why it might be indented? You don’t have a text-indent CSS property going?
Posts: 55
Threads: 13
Joined: Feb 2010
There is no page source as such.
When using "source" the page starts with a gap after the <p>, this is a copy and past from source
<p>
Kukuřice byla pro Maye..... and so on.
When viewed "normally" the paragraph shows normal alignment in the editing window.
But, then when you view the page the paragraph is indented....?
Posts: 972
Threads: 27
Joined: Aug 2009
That’s weird, as browsers should take away all whitespace. Is it some default theme? Then there might be a text-indent somewhere in the CSS.
Posts: 55
Threads: 13
Joined: Feb 2010
Ouch.
When the template is swapped to default the "problem goes away.
I will take a look.
Thank you for pointing me in the right direction!
Posts: 55
Threads: 13
Joined: Feb 2010
Thought it would be an idea to post what i found in case anyone has a similar problem.
CSS was:
#content {
margin: 0px 15px 20px;
line-height: 21px;
text-align: left
}
CSS is now:
#content {
margin: 30px 15px 20px;
line-height: 21px;
text-align: left
}
The 0 margin caused all text and images in the first paragraph to be indented.
Thanks Zegnåt for pointing out the right direction.