Table width is always at 100%

T

Trap

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?
 

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,743
Messages
2,569,478
Members
44,899
Latest member
RodneyMcAu

Latest Threads

Top