1 reply [Last post]
IlusalongFresh
IlusalongFresh's picture
Offline
newbie
Last seen: 10 years 17 weeks ago
Timezone: GMT+3
Joined: 2012-04-15
Posts: 1
Points: 4

Hi everybody,

got a little problem here with IE7, sidebar floats off the page Smile
Meaning the red banner in our case.
it's wordpress with a bought theme (with apparently non existent support)

What should i change in css ?

juukse ravi

Ie7_problem.PNG

And another question:

I would like to use text-align:justify foe all the pages and posts, where should i add it ?

Tyssen
Tyssen's picture
Offline
Moderator
Brisbane
Last seen: 7 years 44 weeks ago
Brisbane
Timezone: GMT+10
Joined: 2004-05-01
Posts: 8201
Points: 1386

No idea what the people who created that theme were thinking

But it's way more complicated than it needs to be.

If it was me, I'd take your current markup:

<div class="module-content">
	<div id="article-wrapper">
		<article id="article">
		</article>
	</div>
	<aside id="sidebar" class="sidebar">
	</aside>
</div>

and remove #article-wrapper. Then float #article left and give it a width and float #sidebar right and also give it a width. Then make .module-content overflow:hidden to contain the floats.

And I wouldn't bother with justifying your text because it looks like crap on web pages due to poor hyphenation support.

How to get help
Post a link. If you can't post a link, jsFiddle it.
My blog | My older articles | CSS Reference