How can I get my website so that there is no space between the top of my page and my banner?
Rep added if your solution works![]()

How can I get my website so that there is no space between the top of my page and my banner?
Rep added if your solution works![]()
I haven't actually got it on the internet yet, but this is the code I've used so far:
<html>
<body bgcolor="#B3AD94"><div align="center">
<img valign="top" src="jadedempathy.jpg">
<table bgcolor="#3B5443" cellpadding="0" cellspacing="0" width="766" valign="top">
<tr height="500">
</html>
The banner jadedempathy.jpg just wont touch the top of the browser window, and I've tried using valign but it hasn't worked![]()
Ok after playing around with the css a bit this should both center and put the image at the abosulte top.
HTML Code:<html> <style> .top { top: 0px; position: absolute; margin-left: auto; margin-right: auto; width: 100%; } </style> <body bgcolor="#B3AD94"><div align="center"> <div class="top" ><img valign="top" src="jadedempathy.jpg"></div> <table bgcolor="#3B5443" cellpadding="0" cellspacing="0" width="766" valign="top"> <tr height="500"> </html>
Want to hide these adverts? Register an account for free!