CSS
-Tricks
treehouse :
what would you like to learn today?
Web Design
Web Development
iOS Development
Show search box
Search
Search in:
All
Articles
Forums
Snippets
Videos
✕
Home
Forums
Snippets
Gallery
Videos
Almanac
Demos
Lodge
Navigation 'n' Search
Forums
Illustration by Nick Sirotich
Forums
»
CSS Combat
IE 7 Problem
rainemaida
Permalink to comment
#
October 2010
Hi,
I've just finished a site but I've got an error in IE7 that doesn't happen in any other browser!
http://greenjesmond.co.uk/group/standard-fair/
The cakes overflow into the sidebar on IE7 and I'm stumped how to fix it! Any help would be great!
Cheers,
Steve
virtual
Permalink to comment
#
October 2010
Give "entry-content" a width of 630px.
rainemaida
Permalink to comment
#
October 2010
Hmmm I tried that.
I've not made a new div called cakes and gave it a width of 630 - i've also added position:relative as well - still doesn't seem to be working.
Any other ideas?
Cheers,
Steve
kylewiedman
Permalink to comment
#
October 2010
#container { width: 660px; }
worked for me.
virtual
Permalink to comment
#
October 2010
It worked for me with your original code in IE7. Otherwise put a clear div after the third image of the cakes so that the fourth one will get pushed down.
Add a Comment
I've just finished a site but I've got an error in IE7 that doesn't happen in any other browser!
http://greenjesmond.co.uk/group/standard-fair/
The cakes overflow into the sidebar on IE7 and I'm stumped how to fix it! Any help would be great!
Cheers,
Steve
I've not made a new div called cakes and gave it a width of 630 - i've also added position:relative as well - still doesn't seem to be working.
Any other ideas?
Cheers,
Steve
worked for me.