Hey there. I'm coding a layout and all the boxes need to be expandable. I've coded this and it works. Look at the result:
Up until it reaches the blue is the image, but the blue table is expandable and coded. The text goes their perfectly. However, I want this where the text is.
That box is also coded to be expandable and works. But it goes all messy and completely ruins the layout when I replace the text with the code for that above table.
Any ideas?
Complete Page Code:
News Box Code:
(It still doesn't work without the DIV tags)
IDEAS? PLEASE HELP.
Up until it reaches the blue is the image, but the blue table is expandable and coded. The text goes their perfectly. However, I want this where the text is.
That box is also coded to be expandable and works. But it goes all messy and completely ruins the layout when I replace the text with the code for that above table.
Any ideas?
Complete Page Code:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Title</title>
<link rel="shortcut icon" href="favicon.ico">
<style type="text/css">
body {background-image: url('b.png');}
.boxes {
padding-left: 9px;
padding-right: 3px;
}
.style1 {
padding-left: 9px;
padding-right: 3px;
font-size: 10px;
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
.topright {
padding-top: 8px;
}
.marquee {
padding-left: 58px;
padding-right: 8px;
font-size: 10px;
color: #000000;
font-family: Verdana, Arial, Helvetica, sans-serif;
}
#nav {position: absolute; right: 20; top: 15;}
</style>
</head>
<body>
<center>
<img src="Banner2.png">
<td width="912" valign="top"><table width="912" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="main-top.png" /></td>
</tr>
<tr>
<td background="main-middle.png" class="style1"><p>Expands vertical.</p><p>Expandable.</p><p>Table should be here. ;(</p>
<tr>
<td><img src="main-bottom.png" /></td>
</tr>
</body>
</html>
News Box Code:
Code:
<div id="nav"><td width="197" valign="top"><table width="197" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="nav-top.png" /></td>
</tr>
<tr>
<td background="imgs/leftmid.png" class="style1"><p>lol</p><p>sl</p>
<tr>
<td><img src="imgs/leftbot.png" /></td>
</tr></div>
(It still doesn't work without the DIV tags)
IDEAS? PLEASE HELP.