Skatecrazy1 Posted October 10, 2006 Share Posted October 10, 2006 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 upfunny 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 Quote Link to comment https://forums.phpfreaks.com/topic/23500-margins/ Share on other sites More sharing options...
Wuhtzu Posted October 10, 2006 Share Posted October 10, 2006 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 Link to comment https://forums.phpfreaks.com/topic/23500-margins/#findComment-106671 Share on other sites More sharing options...
wildteen88 Posted October 10, 2006 Share Posted October 10, 2006 [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. Quote Link to comment https://forums.phpfreaks.com/topic/23500-margins/#findComment-106683 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.