tdikun21
02-07-2007, 06:52 AM
I've got an external file, with css in it that looks like this:
<style type="text/css">
table {width:750px; height: 1000px; border-width: 1px;}
.header {height:120px;}
.spacer {height:10px; background-color:#000000;}
.menu {width:300px; }
.sidebar {width:150px; }
</style>
the html looks like this:
<html>
<head>
<title>sample site</title>
<LINK REL=StyleSheet HREF="style.css" TYPE="text/css">
</head>
<body topmargin="0" leftmargin="0"><center>
<table>
<tr><td class="header" colspan="3"><h1>Amateur Theology...Banner/logo</h1></td></tr>
<tr><td class="spacer" colspan="3"> </td></tr>
<tr><td class="menu"><v align="center">
example
</td>
<td><iframe src="home.html" name="content" width="100%" Height="100%" border="0" scrolling="no"></iframe>
</td>
<td class="sidebar"><p align="right">Random schtuff, possibly ads</td>
</tr>
<tr><td class="footer" colspan="3"><h5>Cool footer thing/(c) info</h5></td></tr>
</table>
</body>
</html>
for some reason the css seems to not be affecting the size of the table, no matter what i change it to, the table size remains the same! (height & width)
can someone please help?
i want the width to be: 75% and height 100% but i cant get it to work!
<style type="text/css">
table {width:750px; height: 1000px; border-width: 1px;}
.header {height:120px;}
.spacer {height:10px; background-color:#000000;}
.menu {width:300px; }
.sidebar {width:150px; }
</style>
the html looks like this:
<html>
<head>
<title>sample site</title>
<LINK REL=StyleSheet HREF="style.css" TYPE="text/css">
</head>
<body topmargin="0" leftmargin="0"><center>
<table>
<tr><td class="header" colspan="3"><h1>Amateur Theology...Banner/logo</h1></td></tr>
<tr><td class="spacer" colspan="3"> </td></tr>
<tr><td class="menu"><v align="center">
example
</td>
<td><iframe src="home.html" name="content" width="100%" Height="100%" border="0" scrolling="no"></iframe>
</td>
<td class="sidebar"><p align="right">Random schtuff, possibly ads</td>
</tr>
<tr><td class="footer" colspan="3"><h5>Cool footer thing/(c) info</h5></td></tr>
</table>
</body>
</html>
for some reason the css seems to not be affecting the size of the table, no matter what i change it to, the table size remains the same! (height & width)
can someone please help?
i want the width to be: 75% and height 100% but i cant get it to work!