css question
- Started
- Last post
- 18 Responses
- cb
I'm wondering what's the easiest way to center a table horizontally + vertically in your browser window... I'm hoping this is a quick + dirty css tag instead of using frames or something crazy. Any ideas?
thanx
- dehryll0
i'd do it the old fashioned way:
[center]
[table height="100%"][tr][td valign="middle"]
[table]your stuff here[/table]
[/td][/tr][/table]
[/center]
- dehryll0
i know its not css, thats why i called it the "old fashioned way."
it still works.
whats the advantage of css in this case?
- jevad0
standards compliance
- dehryll0
its not *that* compliant.
it doesn't work on ie5 or ns4.7 for mac os9.
- jevad0
what doesn't?
- dehryll0
the examples from the noodle incident site.
- jevad0
ns4.7 is not a standards compliant browser, so it wouldn't. ie 5 too, is very borderline....
- unknown0
"its not *that* compliant.
it doesn't work on ie5 or ns4.7 for mac os9"
- you mean these browsers aren't *that* compliant!
- dehryll0
i'll concede that neither browser is standards compliant.
but, the table method is a better solution because it'll work with both compliant and noncompliant browsers.
- unknown0
you really worried about netscape 4.x ???
- dehryll0
hell yeah, i'm concerned about ns 4!!
- jevad0
so I am - it totally concerns me that people still use the fucking thing....
- unknown0
we should be designing for standards, not browsers.
- jevad0
yep
- unknown0
check out zeldman.com in ns4.7
a sight for sore eyes :)
- dehryll0
word!!!
i'm reverting back to morse code.
netscape 8.0
- jevad0
I'm rocking mosaic....