I am tyring to set the width of a table in a CSS class but I can't figure out how to do it. Ntohing seems to change when the code below is used. I expect an extremely large table for test purposes. Here is my code:
My goal is the equivlent of <table width=1750>, but just in a CSS sheet. This has been driving me crazy the whole day. I looked at W3 but I still can't figure it out.
http://www.w3.org/TR/REC-CSS2/visudet.html#the-width-property
http://www.w3.org/TR/CSS21/tables.html#width-layout
Any ideas? Thanks for the help.
Code:
--- CSS Sheet -----
.threeColTable {
table-layout:fixed;
width:1750;
}
Code:
--- page ----
<link rel="stylesheet" type="text/css" href="andreas01.css" media="screen,projection" />
......
<table class="threeColTable">
<tr>
<td>.......</td>
</tr>
</table>
My goal is the equivlent of <table width=1750>, but just in a CSS sheet. This has been driving me crazy the whole day. I looked at W3 but I still can't figure it out.
http://www.w3.org/TR/REC-CSS2/visudet.html#the-width-property
http://www.w3.org/TR/CSS21/tables.html#width-layout
Any ideas? Thanks for the help.