Topic: Vertical Centering |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: Yes |
![]() ![]() ![]() ![]() |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() 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 |
![]() ![]() ![]() ![]() Bugimus made this script for CPrompt. You may find it interesting. |
Maniac (V) Inmate From: Brisbane, Australia |
![]() ![]() ![]() ![]() Verticle centering with Javascript isn't slow at all. Not if it's done right. |
Maniac (V) Inmate From: there...no..there..... |
![]() ![]() ![]() ![]() Yes that script that Bugs did for me works great. |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() ![]() ![]() ![]() |
Maniac (V) Inmate From: Brisbane, Australia |
![]() ![]() ![]() ![]() Did you try putting the script in an external .js file? |