When a Wordpress admin inserts a photo and some text, I have the text split into columns, using -moz-column-width. The problem is that this also makes a photo contained by the same column width.

Ideally I'd like the image to fill the span of two columns or 100% of the content area instead of being the same width as one column of text.

The problem seems to be that Wordpress places images and text in the same paragraph tags with no way to target the image that I know of.

Any tips?

Screenshot since my server is locked down: http://dl.dropbox.com/u/4088146/Screenshots/h.png

<div class="post-text">
<h1 class="title" style="text-indent: 0px;">Viribus doloribus tempus, ratione quasi</h1>

<p><a href="http://make.truliablog.com/wp-content/uploads/2011/06/Leaderboards.png"><img width="1347" height="1237" alt="" src="http://make.truliablog.com/wp-content/uploads/2011/06/Leaderboards.png" title="Leaderboards" class="alignnone size-full wp-image-2470"></a></p>
<p>&nbsp;</p>
<p>
Lorem ipsum dolor sit amet dolorem proident utilitatis magnus agris. Abutebatur architecto propter ut materia. Quam quo aliquip, officii voluptatem. Qui pariatur officii eos.<br>
Lorem ipsum dolor sit amet cum tenetur animi. Et laboris aut aspexerat fugiat. Ipsa amet quoddam colebatur propter. Qui tempore et magna sibi. Id ipsum deinde, repellat minim. Mollit odit culpa qui aut. Adipisci vel delectus, pariatur propagabant. Consequatur sibi vero, voluptate consequatur. Ipsa colebatur et, pariatur repellendus. Dolor ullam consequatur id.<br>
</p>
</div>
link|improve this question
I won't be able to help without, at least, the stylesheet (where I believe you're using -moz-column-width?). Anyways your code looks fine and I'm pretty sure there's a problem with your template, not the Wordpress itself. – Wordpressor Jul 28 '11 at 22:40
The address is in the screenshot Wordpressor(it's clearly not locked down, because i've visited the page). Sean, you're applying the mox attribute to paragraphs, the image is in a paragraph, the problem described will naturally occur as a result. – t31os Jul 29 '11 at 12:12
Yes, I know-I'm looking for a way to avoid this so users can post a large photo and also size the width of columns for ideal readability. – Sean Jul 29 '11 at 18:30
You do realise that attribute will only work for users with Mozilla based web browsers right? Are you expecting your userbase to consist of primarily mozilla users? – t31os Jul 30 '11 at 10:50
feedback

closed as too localized by toscho May 10 at 20:19

This question is unlikely to ever help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. See the FAQ for guidance on how to improve it.

Browse other questions tagged or ask your own question.