Log In · Register

 
 
Closed TopicStart new topic
Table layout. D:<
x_nova
post Nov 18 2006, 12:42 PM
Post #1


Funny ol` world innit?
****

Group: Member
Posts: 133
Joined: May 2005
Member No: 144,657



Okay, so I'm trying to make a table layout.. but the bg won't show up in the middle.



I know I can just put the bg in the css but I want a footer on my layout.

What the hell is wrong with my code?

Please & thank you.

CODE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>lalalalalal</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="style.css" rel="stylesheet" type="text/css">
</head>
<center>
<table width="415" border="0" cellpadding="0"
cellspacing="0" style="background-image:url('images/bg.gif')">
    <tr>
        <TD COLSPAN=5>
            <IMG SRC="images/Untitled-1_01.jpg" WIDTH=415 HEIGHT=107 ALT=""></TD>
    </TR>
    <TR>
        <TD COLSPAN=5>
            <IMG SRC="images/Untitled-1_02.jpg" WIDTH=415 HEIGHT=85 ALT=""></TD>
    </TR>
    <TR>
        <TD COLSPAN=5>
            <IMG SRC="images/Untitled-1_03.jpg" WIDTH=415 HEIGHT=73 ALT=""></TD>
    </TR>
    <TR>
        <TD>
            <IMG SRC="images/Untitled-1_04.jpg" WIDTH=253 HEIGHT=21 ALT=""></TD>
        <TD>
            <IMG SRC="images/Untitled-1_05.jpg" WIDTH=4 HEIGHT=21 ALT=""></TD>
        <TD>
            <IMG SRC="images/Untitled-1_06.jpg" WIDTH=56 HEIGHT=21 ALT=""></TD>
        <TD>
            <IMG SRC="images/Untitled-1_07.jpg" WIDTH=59 HEIGHT=21 ALT=""></TD>
        <TD>
            <IMG SRC="images/Untitled-1_08.jpg" WIDTH=43 HEIGHT=21 ALT=""></TD>
      </TR></TR>
    <TR>
        <TD COLSPAN=5>
            <IMG SRC="images/Untitled-1_09.jpg" WIDTH=415 HEIGHT=14 ALT=""></TD>
      </table>    
      
<td valign="top" style="background-image:url('images/bg.gif')">
<div class="content">

<!-----------------------------CONTENT START----------------------------->

Welcome
jsdlkfjlskdjflskdjflksdjflksjdflksdjf<br><br>
dofihgodifhgoidfhgoidfhgoidfhgoidhfgoihdfo

<!-----------------------------CONTENT END------------------------------->

</div>
</table></td></tr><tr><td>
<img src="images/footer.gif" width="415" height="10" alt=""></td></tr></table>
</body></html>
 
freeflow
post Nov 18 2006, 12:45 PM
Post #2


t-t-t-toyaaa
********

Group: Official Member
Posts: 19,821
Joined: Apr 2004
Member No: 11,270



You have bg.gif. Is that supposed to the background? Did you even specify a background for them?

If bg.gif is supposed to be it. It needs to be uploaded in the main folder of your site. (as in the root)
 
x_nova
post Nov 18 2006, 12:48 PM
Post #3


Funny ol` world innit?
****

Group: Member
Posts: 133
Joined: May 2005
Member No: 144,657



Opps, fixed that part. But it still doesn't show up.

I'm just editing it on PSPad right now.. it's not on the internet.
 
whomps
post Nov 26 2006, 12:12 AM
Post #4


:hammer:
*******

Group: Staff Alumni
Posts: 9,849
Joined: Mar 2004
Member No: 7,700



What's in your CSS ?

In your CSS try putting
"
body {
background-attachment: scroll;
}
table, div, td {
background-attachment: scroll;
}
"

If that doesn't work try adding background-repeat: repeat-y;
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: