Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





  Last Thread  Next Thread
Author
Thread Post New Thread   

Re: Using CSS width 'auto' value to automatically justify table column
 

Jim Moe




quote this post edit post

IP Loged report this post

Old Post  12-20-05 - 12:06 AM  
bissatch@yahoo.co.uk wrote:
>
> How do I set the width of each column within a table? Would I use the
> auto value for width? I tried to do:
>
> #mytable td { width: auto; }
> ...but no luck.
>
What luck are you hoping for?
There are a number of ways to set the width of columns. The one you show
is one but you chose the default for <td>. Using a % or a fixed width
value to set the (minimum) width for all columns in #mytable.
You could use a class to define a width.
There is <colgroup> to set the width for individual columns, or groups
of columns.
You could use the "width" attribute for the <td> element.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)


Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 02:14 PM. Post New Thread   
  Previous Last Thread   Next Thread next
Stylesheets archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top