Jump to content

Trouble with new look for my site


BrandonE97

Recommended Posts

Been working on a new theme and have a problem when displaying in IE7. IE8 and the latest firefox displays correctly. The problem is in IE7 the area for my content is displayed below the navigation instead of beside it. Not sure if its a html or css problem. Here is the URL http://www.brandone97.com/theme/ice3/. Its a lot of code and had a problem trying to paste it.

Link to comment
Share on other sites

It's a CSS problem, but unfortunately I don't have time to dig around the code too much right now. I'm guessing the navigation is floated left? If so, try removing any left margin you have on the content (if you have any). There are ways you can re-write your code to stop this from happening, but if you get absolutely stuck, you can use conditional comments to fix the problem.

Link to comment
Share on other sites

Got the content area where I need it to be, changed to absolute positioning. The bottom of the page with text links doesn't render correctly with IE7 still. The text moves up when rendered with IE7, anything below moves up and interferes with the graphics.

Also since this is posted in HTML help and probably needs to be in CSS help is there a way I could move it to the correct section?

Any help would be appreciated. Thanks.

Link to comment
Share on other sites

As far as I can see, the only difference is that the padding-bottom doesn't appear as large in IE7 as it does in FF3.0 (I have not tested other browsers).

I do not know exactly why this is, but to get round it, you could just specify a larger padding-bottom value in a file called ie7styles.css

and then insert this below the call to your existing stylesheets:

<!--[if IE 7]>
	<link rel='stylesheet' type='text/css' href='ie7styles.css' />
<![endif]-->

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.