View Full Version : Table - image allignment prob

02-11-2005, 11:00 PM
Hi guys, just came across this site whilst looking for help in HTML..

my problem is i have made a splash screen for a site im working on, i have sliced the image into 3 parts, the middle part is set as <td background image, which spans 100%, anyhoo my problem is i want my "banner" to be positioned at the very bottom of my page not the top, i have tried various codes, valign ect, but im kinda havin problems..

any info wud be appreciated, thx in advance..

P.S im an amateur :P:P


02-11-2005, 11:07 PM
well we need to see your code for us to give any "real" info

02-11-2005, 11:15 PM
ok this is the code so far, i have removed the valign=bottom code since it never worked..

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<td><img src="images/spid_splash1_01.gif"></td>
<td background="images/spid_splash1_02.gif" width="100%"></td>
<td><img src="images/spid_splash1_03.gif"></td>


so all im trying to do is position the table at the very bottom of my page, if that helps...

02-11-2005, 11:24 PM

Well, there's the wrong way to do it, which involves tables and nesting and more... then there's the (or a, there are a few) right way(s), which is what I'm going to give you. If you are a newbie this may look a little wacky.

<html lang="en">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<style type="text/css">

html, body {
height: 100%;
margin: 0;
padding: 0;

table {
position: absolute;
bottom: 0;


<table width="100%" border="1" cellspacing="0" cellpadding="0">
<td width="100" height="100"><img src="images/spid_splash1_01.gif"></td>
<td background="images/spid_splash1_02.gif" width="100%"></td>
<td><img src="images/spid_splash1_03.gif"></td>

Since you're just getting started in the web I'd suggest learning from sources that are a little more "up to date," such as:


It'll help you get a better handle on the ways to position things and code your pages without having to dive into nested tables and hack markup.

Hope this helps,

02-11-2005, 11:37 PM
thx dude i`ll mess around with that, so this is using CSS, only got into style sheets a little while ago so think i only scratched the surface.

ok thx again....

P.S yeah i use w3schools now and again :P