Jump to content

Margins


Skatecrazy1

Recommended Posts

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, [url=http://www.snapskate.com/v2]http://www.snapskate.com/v2[/url] 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
Link to comment
https://forums.phpfreaks.com/topic/23500-margins/
Share on other sites

[quote author=Wuhtzu link=topic=111028.msg449682#msg449682 date=1160465731]
just do something like this in your stylesheet:

[code]body,html{
  margin: 0px 0px 0px 0px
  }[/code]

it goes like "margin: top right bottom left"[/quote]

if you want all margins (top, right, bottom, left) margins have no margins, just margin: 0px; ,will do.
Link to comment
https://forums.phpfreaks.com/topic/23500-margins/#findComment-106683
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.