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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.