![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I'm in the process of converting all the presentation aspects of my tables from HTML to CSS (finally). I've run into a snag where the content of the left column is spilling over to the next. I increased the width of the table to no avail. The left and middle columns remain small, and the right column remains large. Please look at this page for instance: http://www.asiya.org/bos/corrdays.html |
#3
| |||
| |||
|
|
I'm in the process of converting all the presentation aspects of my tables from HTML to CSS (finally). |
|
I've run into a snag where the content of the left column is spilling over to the next. I increased the width of the table to no avail. The left and middle columns remain small, and the right column remains large. Please look at this page for instance: http://www.asiya.org/bos/corrdays.html |
|
font-family: Verdana, Arial, Helvetica, sans-serif; |
#4
| |||
| |||
|
|
Hi, I'm in the process of converting all the presentation aspects of my tables from HTML to CSS (finally). I've run into a snag where the content of the left column is spilling over to the next. I increased the width of the table to no avail. The left and middle columns remain small, and the right column remains large. Please look at this page for instance: http://www.asiya.org/bos/corrdays.html Please help - How can I fix this? [...] thead th { background: #27AF81; font-family: Verdana, Arial, Helvetica, sans-serif; color: #FFFFFF; font-size: 1em; font-weight: bold; padding: 1.5%; ^^^^ text-align: center; border: 1px solid #308468; } [...] tbody td { font-size: 0.9em; font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000; border: 1px solid #308468; text-align: left; padding: 1.3% } ^^^^ |
#5
| |||
| |||
|
|
It seems to be these percentage paddings that are causing the problem in Firefox. My guess is that the browser is ignoring the percentage when it computes the preferred width of the cell (since it doesn't at that point know the total table width, so can't resolve the percentage). But then later, when the table width is known, it does resolve the percentage and just uses it. This makes the cell's contents including the padding wider than the cell, which shouldn't happen. So it's a bug. Suggested workaround is not to use a percentage padding there-- if I were working on Firefox then I'd fix the bug by ignoring the percentage altogether so your percentage paddings would then do nothing anyway. So just set padding to 0.5em or something instead. |
#6
| |||
| |||
|
|
Scripsit Asiya: I've run into a snag where the content of the left column is spilling over to the next. I increased the width of the table to no avail. The left and middle columns remain small, and the right column remains large. Please look at this page for instance: http://www.asiya.org/bos/corrdays.html What am I expected to see? I see no "spilling". |
|
font-family: Verdana, Arial, Helvetica, sans-serif; Why do you re-implement poor design, instead of redesigning the site (using modern tools as appropriate, and older tools otherwise)? |
#7
| |||
| |||
|
|
In article <C3987D4B.26753%asiya_is_here (AT) sbcSORATHglobal (DOT) net>, Asiya <asiya_is_here (AT) sbcSORATHglobal (DOT) net> wrote: I'm in the process of converting all the presentation aspects of my tables from HTML to CSS (finally). I've run into a snag where the content of the left column is spilling over to the next. I increased the width of the table to no avail. The left and middle columns remain small, and the right column remains large. Please look at this page for instance: http://www.asiya.org/bos/corrdays.html Your body>#menu { position: fixed; } makes the menu unable to be seen on my 1200px monitor. Get rid of html>body #menu { width: 125px; } and body>#menu { position: fixed; } and instead of your: #menu { position: absolute; top: 10px; left: 10px; border: #DFDB6A 2px solid; background: #4682B4; width: 154px; padding: 5px 15px 15px 15px; } put #menu { float: left; border: #DFDB6A 2px solid; background: #4682B4; width: 8em; padding: .3em; } and keep simplifying ... |
#8
| |||
| |||
|
|
On 12/27/07 2:21 AM, "Jukka K. Korpela" <jkorpela (AT) cs (DOT) tut.fi> wrote: font-family: Verdana, Arial, Helvetica, sans-serif; Why do you re-implement poor design, instead of redesigning the site (using modern tools as appropriate, and older tools otherwise)? Can you elaborate? What's wrong with those fonts? |
![]() |
| Thread Tools | |
| Display Modes | |
| |