Hi there,
I want to increase the width of the main content on the site I'm currently working on: http://www.benweek.org.uk
In the main stylesheet I've edited the following and increased the width to 510px
#main {
margin:0;
padding:0;
width:510px;
text-align:left;
float:left;
margin-left:15px;
}
This renders fine in Firefox, but makes no difference in IE. Can anyone point me in the right direction?
Thanks for your help.
Cass
Open header.php and amend:
<!--[if IE]>
<style type="text/css">
#main {width:450px;}
</style>
<![endif]-->
to
<!--[if IE]>
<style type="text/css">
#main {width:510px;}
</style>
<![endif]-->
Or just delete that block completely. I can't see that it's doing much other than forcing you to make width edits in two places.
Thanks for your help. It worked!
bogrunberger
Member
Posted 4 years ago #
Thank you so much. I had the exact same problem and it was driving me nuts! I completely missed that 'if IE' but now it works fine. Thank you man!!