Jump to content


CSS spacing


2 replies to this topic

#1 crushed

    Young Padawan

  • Members
  • Pip
  • 30 posts

Posted 09 July 2005 - 12:20 PM

Well, you all may recall seeing me post last night about a CSS problem, but I decided to change my layout not because I couldn't get it to work, but for the better. So here I am again..let's go ahead and give the link..

www.virtueskate.com

You may look at my code and realizing the box on the left is a navigation box, and the box on the right is a content box. I'll have a pretty easy time filling them with DIV's, but I want them to be divided by a 10px space. I tried giving the navigation box a 10px margin to teh right, (it's width is 230, and the others is 560px, so it adds up to 790px, when my layout is 800, so the 10px margin fits in) that didn't work. so now i am trying to give the left one a positoin: absolute and then give the content box a left margin of 240px; theres still no 10px gap between them! code would very much be appreciated..although i may figure it out..i had my tonsils taken out, so i can't do anything for two weeks



RESOLVED

Edited by crushed, 09 July 2005 - 12:29 PM.


#2 crushed

    Young Padawan

  • Members
  • Pip
  • 30 posts

Posted 10 July 2005 - 04:13 PM

Welp, I'm back. Looks fine in firefox, but in internet explorer, the spacing if off. I got the problem above to work, but theres 5 pixels of space between the logo and the navigation and the content box, and the navigation and the stats box (under it). in internet explorer, it looks as if there is 15 px of space between the nav and stats box. help? thanks

#3 Jaymz

    Retired P2L Staff

  • Members
  • PipPipPipPip
  • 4,104 posts

Posted 10 July 2005 - 04:58 PM

IE's CSS is rendered differently than standards complaint browsers, do a google on the "Box Model Hack" :blink:





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users