Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
(WYSIWYG Editor) Images without <p>
#1
Hello!

I have a problem.

I have to give the text on the page a padding of 10px.
On the head of the content part there is an image which should not get the padding.

So if I go in the editor, click source and delete the <p> and update then some text, the editor makes automatically a new <p> around it.

How to avoid that on images?

I had the idea to solve this problem with css, but it does not work:
Code:
#content p{
padding:10px;
}


#content p img{
padding:0px;
}

Please help me Smile

Thanks,
Martin


/edit:
Screenshot:
[Image: screenzf7b.png]
Reply


Messages In This Thread
(WYSIWYG Editor) Images without <p> - by nitramf - 2010-12-10, 04:34:17



Users browsing this thread: 1 Guest(s)