Jump to content


Photo

Margins


  • Please log in to reply
2 replies to this topic

#1 Skatecrazy1

Skatecrazy1
  • Members
  • PipPipPip
  • Advanced Member
  • 126 posts
  • LocationSouthern California

Posted 10 October 2006 - 04:54 AM

Hey, I'm not like an expert with HTML or anything, I mean I know enough to use it in PHP, but anyways;

I have a page, http://www.snapskate.com/v2 that I've been making a new layout with, but I'm having a slight problem. 

as you can see, the header at the top doesn't go all the way to the sides of the browser window.

I've tried the margin-left, margin-right, and margin-top properties in CSS, but it didn't do anything.

i was wondering if any of you guys knew what was up

funny thing about html, it doesn't give you an error, it just displays incorrectly, so really it's harder to fix problems.

thanks for any help
fuck it or fight it

#2 Wuhtzu

Wuhtzu
  • Members
  • PipPipPip
  • Advanced Member
  • 702 posts
  • LocationDenmark -> Fyn -> Aarup

Posted 10 October 2006 - 07:35 AM

just do something like this in your stylesheet:

body,html{
  margin: 0px 0px 0px 0px
  }


it goes like "margin: top right bottom left"
Feel free to correct me if I'm wrong.

Servage.net: Get 25 Gb of extra storeage by using this coupon code when buying their hosting service - http://www.servage.n...oupon=cust42005

#3 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 10 October 2006 - 08:39 AM

just do something like this in your stylesheet:

body,html{
  margin: 0px 0px 0px 0px
  }

it goes like "margin: top right bottom left"


if you want all margins (top, right, bottom, left) margins have no margins, just margin: 0px; ,will do.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users