FRIHOSTFORUMSFAQTOSBLOGSDIRECTORY
You are invited to Log in or Register a Frihost Account!

Images / Formatting to the top of the page *Resolved*

 


Donutey
I know this has probably been asked before (and I've seen a fix for it somewhere) but how can you get so that your formatting or images on (x)html pages appear directly at the top of the page like at digg.com, instead of down about 10 pixels.

Thanks in advance.


Last edited by Donutey on Sun Jul 16, 2006 7:51 pm; edited 1 time in total
Marston
Code:
body{
margin: 0px;
}
It's CSS. Specifically, in your case, if you just want the top of the page to have no margin, it's done like this:
Code:
body{
margin-top: 0px;
}
Donutey
Awesome, it's always something simple like that. thanks.
Reply to topic    Frihost Forum Index -> Scripting -> Html, CSS and Javascript

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2007 Frihost, forums powered by phpBB.