CSS equivelant of width="*"

N

Nathan Sokalski

I am trying to convert <td width="*"> to CSS, but all the sources I could
find that give the syntax for the CSS width property say that you must
specify a length, percentage, auto, or inherit. I also noticed that the
Style Builder dialog in Visual Studio 2005 does not let me enter an * for
the width property (not to say that this isn't an error in VS2005, but it
makes me wonder if an * is valid or not for CSS). How would I convert <td
width="*"> to CSS? Thanks.
 
R

Rick Strahl [MVP]

Hi Nathan,

Width="*" is pretty much the default for any element, so you really
shouldn't ever need to specify it. However, it makes sense only when all
other elements in the same table/element have their width explicitly set
(either as fixed values or percentages). You should make sure that you have
you have a width defined for your outer element however.

+++ Rick ---
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top