Topic: Vertical Centering (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Yes |
posted 02-04-2002 22:40 |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 02-04-2002 22:49
SB: I was going to say that I'd tried and I didn't think it was possible (as I've said this before) although you would think that margin-top: auto; margin-bottom: auto; would do the trick. However, I did a little nosing around and there is a trick to make it work: |
Paranoid (IV) Inmate From: Yes |
posted 02-05-2002 03:31
Didn't work in the latest my IE either. My old hompage use to have a verticle centering jscript but it was slow and you had to wait for all the images to load to boot. |
Bipolar (III) Inmate From: somewhere in the old world |
posted 02-05-2002 08:30
Bugimus made this script for CPrompt. You may find it interesting. |
Maniac (V) Inmate From: Brisbane, Australia |
posted 02-05-2002 10:20
Verticle centering with Javascript isn't slow at all. Not if it's done right. |
Maniac (V) Inmate From: there...no..there..... |
posted 02-06-2002 19:56
Yes that script that Bugs did for me works great. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 02-06-2002 20:56 |
Maniac (V) Inmate From: Brisbane, Australia |
posted 02-08-2002 00:09
Did you try putting the script in an external .js file? |