...

View Full Version : positioning an image at the VERY top of the page



adweaver
11-19-2009, 05:55 PM
Hello All,

I'm new here, and quite new to coding, so please bare with me.

I've had a site developed for me, and I'm tryiong to make modifications on my own. I've got a bit of a handle on things, but I'm unable to get my top image to line up flush with the top of the screen.

Any suggestions would be greatly appreciated.

Applicable code is as follows;




body, html{
background: url(../images/background.gif) repeat;
border-spacing:0;
vertical-align: top;
margin: 0;
padding-top: 0;
border: 0;
outline: 0;
vertical-align: top;
position: relative;
top: 0;

}







</script>
</head>
<body onload="MM_preloadImages('images/bttn_hover.gif','images/bttn-hover.jpg')" style="vertical-align:top" topmargin="0px" >

<form action="https://www.fooshenergytrial.com/orderpage.php" method="post" name="frmSignUp" id="frmSignUp">


<table align="center" style="vertical-align:top" cellpadding="0" cellspacing="0" background="#ffffff"><td><table align="center" style="vertical-align:top" width="972" cellspacing="0" cellpadding="0">

<tr>

<td scope="row" valign="top"><img src="images/topBanner.gif" /></td>

</tr>

<tr>

<td scope="row"><img src="images/header.gif" /></td>

</tr>
</table>




page can be seen at www.fooshenergytrial.com/test6

Thanks,

Andrew

Excavator
11-19-2009, 06:08 PM
Hello adweaver,
You have a break inserted at the top of your code. Remove this bit highlighted in red -
<form action="https://www.fooshenergytrial.com/orderpage.php" method="post" name="frmSignUp" id="frmSignUp">


<br> <table style="vertical-align: top;" align="center" background="#ffffff" cellpadding="0" cellspacing="0"><tbody><tr><td><table style="vertical-align: top;" width="972" align="center" cellpadding="0" cellspacing="0">



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum