Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Table width is always at 100%

Reply
Thread Tools

Table width is always at 100%

 
 
Trap
Guest
Posts: n/a
 
      07-30-2007
Hi,

I am enhancing an website made from others.

I want to put a table with this CSS property:

..tooltip table {
font-size: 9px;
color: black;
table-layout: auto; <-------------- useful ?
width: 20%; <-------------- note this
}

..tooltip td {
font-size: 9px;
color: black;
}

..tooltip tr {
font-size: 9px;
color: black;
}

note that I "forked" the table width to 20%. But when I show it on the
browser, that table is *always* at 100% of width (entire screen
width!).

Why is it doing this?

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tetration (print 100^100^100^100^100^100^100^100^100^100^100^100^100^100) jononanon@googlemail.com C Programming 5 04-25-2012 08:49 PM
Shrinking the width of a WIDTH=100% table Swifty Javascript 18 01-23-2012 03:36 PM
Help! Fixed width table with a 100% width image in it is assuming theimages intrinsic size, although it does shrink the image satya.komatineni@gmail.com HTML 1 12-29-2007 08:32 PM
how to replace this like <img width=100 ...> with <img width="100" ...> zhanye815@gmail.com Perl Misc 7 06-21-2006 11:16 PM
Refresh always needed for 100% table width C. David Rossen HTML 5 06-27-2005 03:17 PM



Advertisments