i know how to code a layout but how do i get the layout to touch the top and bottem of the page so theres no gaps.
+rep to helpers
i know how to code a layout but how do i get the layout to touch the top and bottem of the page so theres no gaps.
+rep to helpers
<style>
body {margin-top:0;}
</style>
in the head.
that puts it at the top
can you change it to like left and stuff to so it sticks to the left?
+rep
<style>
body {margin-top:0;margin-left:0;margin-right:0;margin-bottom:0;}
</style>
THXSS
wud rep u agan but cnt
HTML GEEK +rep i dident know that eaither lol i do now
it's not HTML it's CSS
LOL
Lol ermm I knew that.
And it's 0px not 0.
Yes most browsers assume it's px, but not all.
XHTML, CSS, AJAX, JS, php, MySQL.
--
HxF moderators can't read timestamps.
Want to hide these adverts? Register an account for free!