lew26
10 Jan 2007, 06:53 PM
Hello,
The problem i am having with webdesign is working with the table. For an example i created a image place holder one for the header and one for the logo. Logo 100w x 100ht and the Header 640w x 100ht whne i add the two the cells that they are placed in expands so the height become more than the height i need which i want it to be the size of the picture so if i have content below it it looks funny in the browser how to i get the cells to be the same size as the image?
HTML 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>Untitled Document</title>
</head>
<body>
<table width="895" height="430" border="1">
<tr>
<th scope="col"><img src="" alt="logo" name="Logo" width="100" height="100" id="Logo" /></th>
<th colspan="2" scope="col"><img src="" alt="header" name="Header" width="640" height="100" id="Header" /></th>
</tr>
<tr>
<th height="192" scope="row"> </th>
<td colspan="2"> </td>
</tr>
</table>
</body>
</html>
The problem i am having with webdesign is working with the table. For an example i created a image place holder one for the header and one for the logo. Logo 100w x 100ht and the Header 640w x 100ht whne i add the two the cells that they are placed in expands so the height become more than the height i need which i want it to be the size of the picture so if i have content below it it looks funny in the browser how to i get the cells to be the same size as the image?
HTML 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>Untitled Document</title>
</head>
<body>
<table width="895" height="430" border="1">
<tr>
<th scope="col"><img src="" alt="logo" name="Logo" width="100" height="100" id="Logo" /></th>
<th colspan="2" scope="col"><img src="" alt="header" name="Header" width="640" height="100" id="Header" /></th>
</tr>
<tr>
<th height="192" scope="row"> </th>
<td colspan="2"> </td>
</tr>
</table>
</body>
</html>