View Full Version : specifying table width with stylesheets

09-13-2002, 03:43 PM
how do i do that?
when i gave my table an id or class, and thenin my stylesheet said
#id {width: whatever} it did nothing

09-13-2002, 04:41 PM
Maybe it's this:
table {

Forgot to specify units? 300px

09-13-2002, 04:51 PM
umm, what about %?
i tried width: 50% or so and it did not work
neither did the pixels

09-13-2002, 04:57 PM
And what if you put the style inline?
Like <table style="width:50%;">?

09-13-2002, 09:34 PM

you're so much help! :thumbsup:

well, it ended up being that teh inline stylesheet worked and i could not figure out why not external. well, the site is all in miva, and miva incerts its own formatting tags without your concent. i thought i coded to "counterat" everything, but had missed some tags. once i got that worked out my external stylesheet started working.


EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum