Closed Thread Icon

Preserved Topic: valign help! (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18224" title="Pages that link to Preserved Topic: valign help! (Page 1 of 1)" rel="nofollow" >Preserved Topic: valign help! <span class="small">(Page 1 of 1)</span>\

 
u-neek
Bipolar (III) Inmate

From: Berlin, Germany
Insane since: Jan 2001

posted posted 08-04-2001 13:58

how can i center that without using frames?
http://www.spiritual-pixel.com/testosteron/

i know that it might be possible with tables, but i want to do that without them... is there a css solution?

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 08-04-2001 14:08
code:
<p style="text-align:center">adsada</p>
or <center>
<div align="center">adasda</div>



whatever...

u-neek
Bipolar (III) Inmate

From: Berlin, Germany
Insane since: Jan 2001

posted posted 08-04-2001 14:15

i meant vertical align...

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-04-2001 14:38

There was a discussion about this a long time ago, and conclusion was that it can only be done with tables...

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 08-04-2001 22:20

In worst cases you can pad it with spaces above and below it until you see that it's somehow vertically centered.

MalFunkShun
Maniac (V) Inmate

From: PA
Insane since: Jul 2001

posted posted 08-05-2001 03:40

Hrmm.

From my understanding CSS should be able to align anything however you want it to be aligned, but i just started getting into it so I really don't know. WHich probably means I shouldn't have made a reply in the first place.
*turns, walks out ashamed and confused*





[This message has been edited by MalFunkShun (edited 08-05-2001).]

u-neek
Bipolar (III) Inmate

From: Berlin, Germany
Insane since: Jan 2001

posted posted 08-05-2001 11:50

:-/

~Sir_KiTree~
Bipolar (III) Inmate

From: PA
Insane since: Jul 2001

posted posted 08-05-2001 15:02

check out Glish.com. Might be somehting there to help ya out.

Emperor
Maniac (V) Mad Scientist with Finglongers

From: Cell 53, East Wing
Insane since: Jul 2001

posted posted 08-05-2001 15:17

Technically if one can horizontally center using:

.hCenter {
margin-left: auto;
margin-right: auto;
}

then vertical centering should be:

.vCenter {
margin-top: auto;
margin-bottom: auto;
}

However, given the fact that IE5.x/Win doesn't allow the first example you might have to wait a while before CSS2 compliant browsers allow the second example but test it to see if it works. Have a look at this page for information about horizontal alignment and see if you can get it to work for the vertical variety:
http://bluerobot.com/web/css/center1.html

Emps

« BackwardsOnwards »

Show Forum Drop Down Menu