Humper
10-03-2006, 02:00 PM
resolved
|
Click to See Complete Forum and Search --> : [RESOLVED] footer not lining up correctly and page to wide Humper 10-03-2006, 02:00 PM resolved Rezon 10-03-2006, 03:17 PM First off, you shouldn't need to specify your containers width. Also, if you must use percentages, don't use 100% in this particular case, use something like 90%. I'd try removing your width on the container first though. The reason your second issue is happening is because of your padding. You need to remember that Padding + Width = True Width. So in the case of your footer and your table, they are in essence, not the same width. Humper 10-03-2006, 03:24 PM I have tried to chage the padding and the margin to be the same and still it is short.. I actually have everything the same and it is still short.... any one know why this is?? this is driving me insane.... Rezon 10-03-2006, 03:32 PM Just a curious question... why did you make your footer a table? You can acheive the same thing by doing the following: <div id="footer"> Copyright © 2006 Airwave Networks. All Rights Reserved. </div> #footer { text-align: center; padding: 5px 0; background-color: #C9D9E2; } Humper 10-03-2006, 04:00 PM I tried that earlier.. and it works but I cant get it to center align with the other div... any suggestions? Rossario123 10-03-2006, 04:22 PM margin:0 auto; Humper 10-04-2006, 08:36 AM resolved webdeveloper.com
Copyright Internet.com Inc., All Rights Reserved. |