Closed Bug 189227 Opened 23 years ago Closed 23 years ago

users.pandora.be - uses display: block instead of display: table

Categories

(Core :: DOM: CSS Object Model, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: the_voodoochile, Assigned: jst)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2) Gecko/20021126 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2) Gecko/20021126 bad display after collapsing the table... IE doesn't have this... Reproducible: Always Steps to Reproduce: 1. click -, nothing happens.. 2. click +, the table collapses fine 3. click + again, and the table shows up again, but incorrect. layout isn't nice... Actual Results: bad table layout Expected Results: show the table 100% width as always...
Problem code: function hideTable(ID){ var el = document.getElementById(ID); //el.style.visibility=(el.style.visibility=="show")?"collapse":"show";//proberen :) if (el.style.display == "block"){ el.style.display = "none"; }else{ el.style.display = "block" } } Tables are "display: table", not "display: block", per CSS 2. (Not sure if IE handles display: table; you may have to vary the script by browser. Try substituting "table" for "block" in the above script and see what happens.) Resolving as INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
Summary: after collapsing (i have an error, you have to click the + png 3 times), the table layout is fucked up a little... → users.pandora.be - uses display: block instead of display: table
You need to log in before you can comment on or make changes to this bug.