Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Page content, create div arund images, how?
#3
(2013-10-01, 18:52:49)yardan74 Wrote: Hi.

When user creates a page and puts an image on it, the result is currently this:
Code:
<p>
   <img src="" alt="">
</p>

I'd like to change this so, that GetSimple would automagically create a div around it, like this:
Code:
<p>
   <div id="content-image">
     <img src="" alt="">
   </div>
</p>
That would make some css-things easier to do, I hope.
How can I achieve this? What to edit and how?

I hope you know that this is invalid HTML - no div is allowed inside a p.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
Reply


Messages In This Thread
RE: Page content, create div arund images, how? - by mvlcek - 2013-10-01, 21:15:49



Users browsing this thread: 1 Guest(s)