By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,463 Members | 2,858 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,463 IT Pros & Developers. It's quick & easy.

Table width is always at 100%

P: n/a
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?

Jul 30 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Trap wrote in comp.lang.javascript:
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?
Wrong newsgroup, try comp.infosystems.www.authoring.stylesheets.
Redirecting ...
PointedEars
Jul 30 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.