 |
|
|
| View previous topic :: View next topic |
| Author |
Message |
mikson
Joined: 07 Apr 2005 Posts: 7
|
Posted: Thu Apr 07, 2005 8:27 pm stretching two tables |
|
|
|
ok i have that problem i want to stretch 2 different tables at the same time with the same value website is made by using css, actualy those are 3 tables i want them to be stretched at the same time as main table(body)
if it is possible plz tell me how if no too bad
PEACE \,,/ |
|
degsy

Joined: 23 Feb 2005 Posts: 2440 Location: North East, UK
|
Posted: Fri Apr 08, 2005 5:46 am |
|
|
|
| You can set the height using the CSS height attribute |
|
mikson
Joined: 07 Apr 2005 Posts: 7
|
Posted: Fri Apr 08, 2005 6:37 am |
|
|
|
i know but if u set fixed height they wont stretch, it looks like
--------------------------------
| | | |
| | | |
| | | |
| | | |
| | | |
---------------------------------
i want those on the side to stretch |
|
degsy

Joined: 23 Feb 2005 Posts: 2440 Location: North East, UK
|
Posted: Fri Apr 08, 2005 7:24 am |
|
|
|
| use percentage heights |
|
mikson
Joined: 07 Apr 2005 Posts: 7
|
Posted: Fri Apr 08, 2005 12:28 pm |
|
|
|
wont work cuz i want them stretched to the bottom of a page all the time,
i mean that height of one table should be the same as height of the tallest table  |
|
degsy

Joined: 23 Feb 2005 Posts: 2440 Location: North East, UK
|
Posted: Fri Apr 08, 2005 1:50 pm |
|
|
|
Still not sure what you want.
| 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>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
<!--
.table1 {
float: left;
height: 100%;
width: 200px;
border: thin solid #FF0000;
}
.table2 {
height: 100%;
width: 200px;
margin-left: 300px;
border: thin solid #0000FF;
}
body {
height: 96%;
}
-->
</style>
</head>
<body>
<table cellpadding="0" cellspacing="0" class="table1">
<tr>
<td> </td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" class="table2">
<tr>
<td> </td>
</tr>
</table>
</body>
</html>
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|
|
 |
|
|
|
|
|
|
|