This is a discussion on "[SOLVED] Gaps between divs :-(" within the Web Page Design section. This forum, and the thread "[SOLVED] Gaps between divs :-( are both part of the Design Your Website category.
|
|
|
|
|
![]() |
||
[SOLVED] Gaps between divs :-(
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
[SOLVED] Gaps between divs :-(
hey guys, down the left of the page, im getting a gap between 2 of my divs in IE and i dont have a clue why. Its fine in FF
http://www.design365.co.uk/mindaid/home.htm |
|
|
|
|||
|
Re: Gaps between divs :-(
its ok in ie7
|
|
|||
|
Re: Gaps between divs :-(
its wrong in ie6, you should see just above the 'stop smoking' area theres a gap between the top of the box and where the stop smoking box starts
|
|
||||
|
Re: Gaps between divs :-(
It's a known trait of IE6 to interpret line carriages in HTML as line breaks. Try putting
Nice to see valid HTML by the way
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
|
|
|||
|
Re: Gaps between divs :-(
hi aso, i tried that, it didnt work. Any other suggestions?
|
|
|||
|
Re: Gaps between divs :-(
Hey, i now have an easier link for you to look at, i just cant get rid of that gap....its IE6 im getting the gaps
http://www.design365.co.uk/mindaid/test.htm HTML:
|
|
||||
|
Re: Gaps between divs :-(
I haven't look at your page but I'm pretty sure it's the old clear:both bug in IE6. DAMN Microsoft.
Try adding this to you css: (both divs) clear:both; If not, then it may well be because of your height parameters. Double check them...
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
|
Re: Gaps between divs :-(
Ive done that, it still doesnt work
Theres no error in my height parameters either, they are all exactly the same size as the images. |
|
||||
|
Re: Gaps between divs :-(
ok, add this to your css:
#stopsmoking, #shadow_top{ display: block; padding:0; margin:0; float:left; clear:both; } one of those should fix it...
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
|
|||
|
Re: Gaps between divs :-(
nope lol
|
|
|||
|
Re: Gaps between divs :-(
I find it very confusing how theres a gap, because all the rest are seperate images as well (weight loss, sexual issues, products) yet there isnt a gap between them. Im so confused and annoyed!
|
|
||||
|
Re: Gaps between divs :-(
Got it!
EDIT: And add this to your CSS
Last Blog Entry: The Google Misconception (Feb 3rd, 2008)
Last edited by Aso; Jan 23rd, 2008 at 20:49. |
|
|||
|
Re: Gaps between divs :-(
aso186 i could kiss you!
|
|
||||
|
Re: [SOLVED] Gaps between divs :-(
LINE HEIGHT... Oh yes...
Well done!
Last Blog Entry: Random String in Javascript (Apr 21st, 2008)
|
![]() |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [SOLVED] how to put divs next to each other | lostboys | Web Page Design | 9 | Jan 13th, 2008 20:47 |
| [SOLVED] Im getting a gap between 2 divs :-( | danny322 | Web Page Design | 1 | Jan 9th, 2008 08:46 |
| [SOLVED] overlapping divs :-( | danny322 | Web Page Design | 7 | Dec 18th, 2007 12:58 |
| gaps in layout | jtyoungs | Web Page Design | 11 | Oct 8th, 2007 15:41 |
| [SOLVED] DIVs and Firefox - help! | Emzi | Web Page Design | 4 | Oct 4th, 2007 10:42 |