This is a discussion on "CSS Breaking up in Firefox, unnecessary margins in IE" within the Web Page Design section. This forum, and the thread "CSS Breaking up in Firefox, unnecessary margins in IE are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
CSS Breaking up in Firefox, unnecessary margins in IE
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
CSS Breaking up in Firefox, unnecessary margins in IE
I am trying to make a full CSS/div web site, and I have the layout done which validates both CSS and HTML....it looks exactly as it should in the design view of dreamweaver 8, but when on the web, it looks completely broken up in Firefox. On IE, it looks almost okay, but there are unecessary margins between each div row...
My code is very simple and organized, but I don't know why it doesn't look the way it should. Here is the page: http://www.solsurfer.com/alienindex.html EDIT: I fixed my problem by adding this to the ".row" style: "clear: both;"..........this fixed the issue with the layout breaking in Firefox, but now I still have about 5px spacing between the rows in IE. Last edited by tox0tes; Jun 27th, 2007 at 20:46. |
|
|
|
#2
|
|||
|
|||
|
Re: CSS Breaking up in Firefox, unnecessary margins in IE
Ok.. I've got your site in dreamweaver and I don't understand the problem. It looks the exact same in IE7 and FF.
More please??? |
|
#3
|
|||
|
|||
|
Re: CSS Breaking up in Firefox, unnecessary margins in IE
On IE, it looks like this, with a space between the first row and the second row:
![]() |
|
#4
|
|||
|
|||
|
Re: CSS Breaking up in Firefox, unnecessary margins in IE
The two divs named right grad and left grad have a set height of 223px. The center container is longer than that...
The content div is going to have to be set at the dimensions of the image. |
|
#5
|
|||
|
|||
|
Re: CSS Breaking up in Firefox, unnecessary margins in IE
I have tried that. Basically, the left side and right side each contain an image that will always be aligned to the top. But, they also each have a background image to fill up the space in case the middle content div gets longer. I made a 776px wide container div to house all 3 divs and then specify a background image for this container div - that way when the content gets longer, the space will be filled up by that background image regardless of the height of the left and right divs. But, it doesn't work for some reason. It won't show the background image.
Here's my code:
|
|
#6
|
|||
|
|||
|
Re: CSS Breaking up in Firefox, unnecessary margins in IE
dane is this now sorted out???? or are you still having trouble here?
|
|
#7
|
|||
|
|||
|
Re: CSS Breaking up in Firefox, unnecessary margins in IE
yeah this is fine, sorry, this thread went into the same topic as the other one. Ignore this one.
|
|
#8
|
|||
|
|||
|
Re: CSS Breaking up in Firefox, unnecessary margins in IE
Ok that's what I thought! Thread Closed!
|
![]() |
| Tags |
| css |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Any ideas why this is breaking over the ftr | lostboys | Web Page Design | 2 | Mar 11th, 2008 13:36 |
| [SOLVED] page breaking on ie 6 and 7 | lostboys | Web Page Design | 3 | Jan 22nd, 2008 17:11 |
| Breaking up a .SQL file | Assault | Databases | 5 | Nov 28th, 2007 21:38 |
| Margins in IE are different than Firefox | KiwiTaicho | Web Page Design | 3 | Sep 28th, 2007 14:57 |