WeLoveCSS Logo
Home Profile Members Search Rules Help New Posts



WeLoveCSS > WEB DESIGN > CSS > why is there a space?

Reply
  Thread Tools Display Modes
Old 16th April 12, 09:45 AM   #1
AJLComputers
WLC Member
 
Join Date: Apr 2012
Posts: 8
Default why is there a space?

Hi guys, I'm trying to redo my website to make it in to a wordpress theme, mainly for content management.

Anyway, I've created a 3 widget footer and put contact form 7 with some custom styling into the first footer widget. For some reason there is a gap from the edge of the page to where the contact form is and it makes it look a little odd but I can't figure out where the gap has come from.

The page is 960 pixels and each footer section is 320px so they should line up perfectly but they don't.

My Site
AJLComputers is offline   Reply With Quote
Old 16th April 12, 11:07 AM   #2
chrishirst
Banned
 
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
Default Re: why is there a space?

The will only "line up" if they are in the same container.

Your calulation of 3 x 320 = 960, (which in the real world would be correct. However in the W3c world their box is a little different
the equation would be 3 x 320 + 3 x right & left border + 3 x left & right margins + 3 x left & right padding.
chrishirst is offline   Reply With Quote
Old 16th April 12, 11:39 AM   #3
AJLComputers
WLC Member
 
Join Date: Apr 2012
Posts: 8
Default Re: why is there a space?

Quote:
Originally Posted by chrishirst View Post
The will only "line up" if they are in the same container.

Your calulation of 3 x 320 = 960, (which in the real world would be correct. However in the W3c world their box is a little different
the equation would be 3 x 320 + 3 x right & left border + 3 x left & right margins + 3 x left & right padding.
but I've removed all the padding and margins, that's why I'm confused, or have I missed something?
AJLComputers is offline   Reply With Quote
Reply


Thread Tools
Display Modes
Linear Mode Linear Mode

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

Forum Jump


All times are GMT. The time now is 04:41 AM.



Home | Advertise | Contact Us | Top
Home | Advertise | Contact Us | Top

Copyright© 2006 WeLoveCSS.com. All Rights Reserved.
Powered by vBulletin Version 3.8.4 Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.