Trouble closing gaps

This is a discussion on "Trouble closing gaps" within the Web Page Design section. This forum, and the thread "Trouble closing gaps are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Sep 17th, 2007, 13:47
SuperMember

SuperMember
Join Date: Mar 2007
Location: UK
Age: 21
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Trouble closing gaps

Ok, how come on IE this slots together fine, but on Firefox it has spaces

http://www.phixongfx.com/steel/

Thanks in advance
Reply With Quote

  #2 (permalink)  
Old Sep 17th, 2007, 13:57
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Trouble closing gaps

Add this to your CSS

Code: Select all
#middle p {
    margin: 0;
    padding: 0;
}
Every element has default styles to it ... margin and padding being the one that affect the layouts the most.

Many use the universal select ( * ) to reset the margins and padding of every element like this

Code: Select all
* {
    margin: 0;
    padding: 0;
}
The are a few drawbacks to the universal selector however ... this article might be of some help

No Margin For Error

Last edited by karinne; Sep 17th, 2007 at 14:02. Reason: Added link to related article
Reply With Quote
  #3 (permalink)  
Old Sep 17th, 2007, 14:00
SuperMember

SuperMember
Join Date: Mar 2007
Location: UK
Age: 21
Posts: 75
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Trouble closing gaps

Thankyou so much. Works perfectly
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Gaps between divs :-( danny322 Web Page Design 13 Jan 24th, 2008 10:14
gaps in layout jtyoungs Web Page Design 11 Oct 8th, 2007 15:41
Strange gaps in FF (IE works fine) Donny Bahama Web Page Design 18 May 28th, 2007 15:31
Gaps due to tables in Firefox Sporky Web Page Design 8 Dec 20th, 2006 14:33
Strange gaps in table cells Paula Web Page Design 2 Oct 2nd, 2006 15:44


All times are GMT. The time now is 05:58.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43