PDA

View Full Version : [HTML] Help! Im confused!



Decode
10-03-2007, 12:38 PM
Hi, ive started to make a new layout for my website, but i dont know how to fix this problem.

This is an image of the prob:

http://img213.imageshack.us/img213/4935/arghhhbp2.png

the prob is that the text is to close to the edge of the sticky, the code for the sticky is:



<table cellpadding="0" cellspacing="0" border="0">
<tr>
<th width="230" background="s_top.gif" height="20"></th>
</tr><tr>
<td width="230" background="s_bg.gif"><font size="2" face="arial">
<b><center>Bored?</center></b>Why not take part in our <a href="poll.html">poll</a>! Or send us your pixel art/recolours and we will add them to our site.
</font></td></tr>
<tr>
<td width="230" background="s_bottom.gif" height="16"></td></tr>
</table>
<br>
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 3PX;">
<tr>
<th width="230" background="s_top.gif" height="20"></th>
</tr><tr>
<td width="230" background="s_bg.gif">

<font size="2" face="arial"><b><center>Disclaimer</center></b></font>

<font size="1" face="arial">
Habbo®, Habbo Hotel®, Sulake and associated logos are trademarks of Sulake Group. All rights reserved. Copyright, trademarks and other rights in the material from Habbo Hotel® and other
services of Sulake Group on this website are owned by Sulake Group. All rights reserved. This website is neither owned nor operated by Sulake Group and it is not part of Habbo Hotel® or any
other service or website owned or operated by Sulake Group. Sulake Group are not responsible for any content on this website and the views and opinions expressed herein are not necessarily the
views and opinions of Sulake Group.</font>

</td></tr>
<tr>
<td width="230" background="s_bottom.gif" height="16"></td></tr>
</table>



+Rep for all help!

Thanks,
Tom

Amir
10-03-2007, 12:47 PM
I want to help, but when you take the coding and paste on frontpage it comes up as the code on non-HTML and the preview?

Retry the coding, and i'll try again. My help is just put a few spaces infront of the lines.. it gets them slightly more in but it works :)

Decode
10-03-2007, 12:56 PM
I want to help, but when you take the coding and paste on frontpage it comes up as the code on non-HTML and the preview?

Retry the coding, and i'll try again. My help is just put a few spaces infront of the lines.. it gets them slightly more in but it works :)
Hmm, ive disabled word wrap on notepad and this is the code:

<table cellpadding="0" cellspacing="0" border="0">
<tr>
<th width="230" background="s_top.gif" height="20"></th>
</tr><tr>
<td width="230" background="s_bg.gif"><font size="2" face="arial">
<b><center>Bored?</center></b>Why not take part in our <a href="poll.html">poll</a>! Or send us your pixel art/recolours and we will add them to our site.
</font></td></tr>
<tr>
<td width="230" background="s_bottom.gif" height="16"></td></tr>
</table>
<br>
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 3PX;">
<tr>
<th width="230" background="s_top.gif" height="20"></th>
</tr><tr>
<td width="230" background="s_bg.gif"><font size="2" face="arial"><b><center>Disclaimer</center></b></font>
<font size="1" face="arial">
Habbo®, Habbo Hotel®, Sulake and associated logos are trademarks of Sulake Group. All rights reserved. Copyright, trademarks and other rights in the material from Habbo Hotel® and other services of Sulake Group on this website are owned by Sulake Group. All rights reserved. This website is neither owned nor operated by Sulake Group and it is not part of Habbo Hotel® or any other service or website owned or operated by Sulake Group. Sulake Group are not responsible for any content on this website and the views and opinions expressed herein are not necessarily the views and opinions of Sulake Group.</font>
</td></tr>
<tr>
<td width="230" background="s_bottom.gif" height="16"></td></tr>
</table>

Amir
10-03-2007, 01:11 PM
Sorry.. but it's your coding. I give up, you have the wrong coding as it just doesn't make anything but the code.

F32
10-03-2007, 01:17 PM
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<th width="230" background="s_top.gif" height="20"></th>
</tr><tr>
<td width="230" background="s_bg.gif" margin="5"><font size="2" face="arial">
<b><center>Bored?</center></b>Why not take part in our <a href="poll.html">poll</a>! Or send us your pixel art/recolours and we will add them to our site.
</font></td></tr>
<tr>
<td width="230" background="s_bottom.gif" height="16"></td></tr>
</table>
<br>
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 3PX;">
<tr>
<th width="230" background="s_top.gif" height="20"></th>
</tr><tr>
<td width="230" background="s_bg.gif" margin="5">

<font size="2" face="arial"><b><center>Disclaimer</center></b></font>

<font size="1" face="arial">
Habbo®, Habbo Hotel®, Sulake and associated logos are trademarks of Sulake Group. All rights reserved. Copyright, trademarks and other rights in the material from Habbo Hotel® and other
services of Sulake Group on this website are owned by Sulake Group. All rights reserved. This website is neither owned nor operated by Sulake Group and it is not part of Habbo Hotel® or any
other service or website owned or operated by Sulake Group. Sulake Group are not responsible for any content on this website and the views and opinions expressed herein are not necessarily the
views and opinions of Sulake Group.</font>

</td></tr>
<tr>
<td width="230" background="s_bottom.gif" height="16"></td></tr>
</table>

Try that.

Decode
10-03-2007, 01:40 PM
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<th width="230" background="s_top.gif" height="20"></th>
</tr><tr>
<td width="230" background="s_bg.gif" margin="5"><font size="2" face="arial">
<b><center>Bored?</center></b>Why not take part in our <a href="poll.html">poll</a>! Or send us your pixel art/recolours and we will add them to our site.
</font></td></tr>
<tr>
<td width="230" background="s_bottom.gif" height="16"></td></tr>
</table>
<br>
<table cellpadding="0" cellspacing="0" border="0" style="margin-left: 3PX;">
<tr>
<th width="230" background="s_top.gif" height="20"></th>
</tr><tr>
<td width="230" background="s_bg.gif" margin="5">

<font size="2" face="arial"><b><center>Disclaimer</center></b></font>

<font size="1" face="arial">
Habbo®, Habbo Hotel®, Sulake and associated logos are trademarks of Sulake Group. All rights reserved. Copyright, trademarks and other rights in the material from Habbo Hotel® and other
services of Sulake Group on this website are owned by Sulake Group. All rights reserved. This website is neither owned nor operated by Sulake Group and it is not part of Habbo Hotel® or any
other service or website owned or operated by Sulake Group. Sulake Group are not responsible for any content on this website and the views and opinions expressed herein are not necessarily the
views and opinions of Sulake Group.</font>

</td></tr>
<tr>
<td width="230" background="s_bottom.gif" height="16"></td></tr>
</table>

Try that.

No, it dont work :(
+Rep any way


ive fixed prob now :)

Mentor
10-03-2007, 03:31 PM
If you fixed the prob, it doesnt really matter, but id have suggested adding a few px of padding to the tables to stop the text getting so close.

Want to hide these adverts? Register an account for free!