Jump to content
xisto Community
Sign in to follow this  
zach101

Help Setting Table Size. Seting it to precentages. Instead of Pixels

Recommended Posts

Hey guys I use dreamweaver alot and I was wondering about one thing cause it would help me with this and the raw coding. Whats the code to make your table(say if your whole site was a table) Be as wide as there monitor/resolutioin or w/e? Cause its really hard for me to do it cause i have to minmiize all the other horizontal tabs in DW, then get it the right size, Save it, Check in browser etc... and its a pain in the neck isnt there some way just to make it be the width of the browser window or somthing?

Share this post


Link to post
Share on other sites

In the table tag just add width="100%" and it will create a table that is as wide as the screen lets it. Also, if you added this to a table that is nested, then the new table will be as wide as its surrounding table will let it be. Also, you can do the same thing in style sheet by using width : 100%; under the class or id name of the table you want 100% of the allowed area.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.