Hi,
I once came accross this and used it allot but have forgotten now. What I would like to know is:
Does anyone know the CSS to make a table stay a fixed size ALWAYS, if it says width=500 then it stays like that?
Thanx
| SitePoint Sponsor |





Hi,
I once came accross this and used it allot but have forgotten now. What I would like to know is:
Does anyone know the CSS to make a table stay a fixed size ALWAYS, if it says width=500 then it stays like that?
Thanx





does it have to be CSS?
try this:
<style type="text/css">
<!--
table { width: 500px; }
-->
</style>
but just so you know, I tried it in Netscape and it does not work.
Adobe Certified Coldfusion MX 7 Developer
Adobe Certified Advanced Coldfusion MX Developer
My Blog (new) | My Family | My Freelance | My Recipes





it doens't work in netscape? width element functions alright in netscape...weird...
but..hey! you can do it in html..lol
"Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
-- Albert Einstein





No,
It was something like
table {width:fixed; }





hmmm...
I just tried several combinations of CSS, plus I checked several references and could find nothing besides the method I posted.
sorry...I will wait to see if anyone else has an idea.
Adobe Certified Coldfusion MX 7 Developer
Adobe Certified Advanced Coldfusion MX Developer
My Blog (new) | My Family | My Freelance | My Recipes





I can't find it either, but I used it once when my tables kept resizing when a definate size had been set.
Then all my problems went away.
Peter





whoops
totally forgot about it..
there isn't any..I checked w3...w3schools....zvon....bleh..none
maybe it wasn't css?
or if it is....i only see a few that have values 'fixed' and they supported specifically by ie5.5 only.
"Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world."
-- Albert Einstein
Bookmarks