Jump to content


Top align


1 reply to this topic

#1 Veng

    Young Padawan

  • Members
  • Pip
  • 12 posts

Posted 19 September 2007 - 05:43 AM

Well... It's like 100 years since I last played around with html, css and php.
I've forgotten the most simple things about it :)

So far I got this simple code:
<div align="center">
<table width="726" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/pic_02.jpg" /></td>
</tr>
</table>
<table width="726" cellpadding="0" cellspacing="0">
<tr>

<td valign="top" background="images/pic_28.jpg">
<table width="155px" cellpadding="0" cellspacing="0">
<tr><td><img src="images/pic_04.jpg" /></td></tr>
<tr><td width="155px" height="27px" background="images/pic_08.jpg" align="right" /><input name="username" type="text" value="Username" size="20" style=" font: tahoma; font-size: 8pt; border-bottom-width:thin; background-color:#628fa9; border-color:#527f99" align="right" /></td></tr>
<tr><td><img src="images/pic_09.jpg" /></td></tr>
<tr><td width="155px" height="27px" background="images/pic_10.jpg" align="right" /><input name="username" type="password" value="Password" size="20" style=" font: tahoma; font-size: 8pt; border-bottom-width:thin; background-color:#628fa9; border-color:#527f99" align="right" /></td></tr>
<tr><td><img src="images/pic_11.jpg" /></td></tr>
<tr><td><img src="images/pic_12.jpg" /></td></tr>
<tr><td><img src="images/pic_14.jpg" /></td></tr>
<tr><td><img src="images/pic_18.jpg" /></td></tr>
<tr><td><img src="images/pic_20.jpg" /></td></tr>
<tr><td><img src="images/pic_22.jpg" /></td></tr>
<tr><td><img src="images/pic_26.jpg" /></td></tr>
<tr><td><img src="images/pic_27.jpg" /></td></tr>
<tr><td><img src="images/pic_28.jpg" /></td></tr>
</table>
</td>

<td valign="top" background="images/pic_33.jpg">
<table width="48px" cellpadding="0" cellspacing="0">
<tr><td><img src="images/pic_05.jpg" /></td></tr>
<tr><td><img src="images/pic_13.jpg" /></td></tr>
<tr><td><img src="images/pic_33.jpg" /></td></tr>
</table>
</td>

<td valign="top" background="images/pic_31.jpg">
<table width="494px" cellpadding="0" cellspacing="0">
<tr><td><img src="images/pic_06.jpg" /></td></tr>
<tr><td background="images/pic_15.jpg" />Test<br />Test</td></tr>
<tr><td><img src="images/pic_30.jpg" /></td></tr>
</table>
</td>

<td valign="top" background="images/pic_23.jpg">
<table width="29px" cellpadding="0" cellspacing="0">
<tr><td><img src="images/pic_07.jpg" /></td></tr>
<tr><td><img src="images/pic_23.jpg" /></td></tr>
</table>
</td>

</tr>
</table>
<table width="726" cellpadding="0" cellspacing="0">
<tr>
<td><img src="images/pic_35.jpg" /></td>
</tr>
</table>
</div>
I know this is not the perfect way of doing it... But as I said I'm become a newbie again :(

My problem is that I got this small space:
Posted Image
The top image/table needs to be "tuching the browser"... If you know what I mean :)
As far as I remember it has something to do with css... But I don't remember how to do it.
Could someone help me here? :)

(And sorry for my bad english)

#2 tomos

    Young Padawan

  • Members
  • Pip
  • 58 posts

Posted 19 September 2007 - 09:53 AM

You could try adding this into the css right at the top of the css:

* {
	 margin: 0;
	 padding: 0;
}






3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users