The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

> Help with tables
colinmc8
post Dec 8 2009, 06:23 PM
Post #1





Group: Members
Posts: 9
Joined: 8-December 09
Member No.: 10,533



Hi everyone,

Iīm the type who likes to do things myself, when I get stuck I google a solution.
In this case I canīt see what Iīm doing wrong.
So heres the situation, I made a webpage in photoshop, the header, buttons, images etc. and sliced them into seperate images.
After alot of googling I decided to arrange the page with tables, one central table that will hold all the images together.
bit by bit it all came together except the last piece of course, anyway heres the code and website link:

http://colincampbell.t35.com/Index.html

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>COLIN CAMPBELL</title>

<style type="text/css">

img#bg {
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
}

#Table{
position: absolute;
top: 100px;
left: 50%;
margin-left: -375px;
}

table
{
width:750px;
height:400px;
}

</style>
</head>
<body>

<img src="/Images/BG.jpg"

alt=""

id="bg"


<div id="Table">
<table cellpadding="0" cellspacing="0" table border="0">
<tr>
<td rowspan= "2"><a href="Index.html"><img src="/Images/Header.jpg" /></a></td>
<td colspan="4" align= "left"><img src="/Images/Bespoke.jpg" /></td>
</tr>
<tr>
<td><a href="colincampbell.t35.com"><img src="/Images/Home-button.jpg" /></a></td>
<td><a href="colincampbell.t35.com/profile"><img src="/Images/Profile-button.jpg" /></a></td>
<td><a href="colincampbell.t35.com/portfolio"><img src="/Images/Portfolio-button.jpg" /></a></td>
<td><a href="mailto:my email@blah.com"><img src="/Images/Contact-button.jpg" /></a></td>
</tr>
<tr>
<td><img src="/Images/Main-area.jpg" /></td>
</tr>
</table>
</div>


</body>
</html>

As you can see the cell to the top right of the table is sitting on the edge along with the four columns. Why donīt they go beside the header?
any help or suggestions will be greatly appreciated.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Posts in this topic


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 16th April 2024 - 09:54 AM