Topic: Table vertical align pro Pages that link to <a href="https://ozoneasylum.com/backlink?for=25282" title="Pages that link to Topic: Table vertical align pro" rel="nofollow" >Topic: Table vertical align pro\

 
Author Thread
Tekapo
Nervous Wreck (II) Inmate

From:
Insane since: Aug 2004

IP logged posted posted 03-17-2005 13:37 Edit Quote

Hi, guys. I am stuck in the middle of dark place.
I am trying to place table in the middle of my page.
I mean vertically center of the page.
I found belowe:

code:
vertical-align: middle



then I wrote in the external stylesheet such as:

code:
table{vertical-align: middle}



But some reason, it does not work at all.
I used to be able to do this. I know kinda silly question
But I really appreciate if you help me out this.
Cheers.

(Edited by Tekapo on 03-17-2005 13:38)

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

IP logged posted posted 03-17-2005 17:31 Edit Quote

How do I get vertical and horizontal centering with CSS?

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

IP logged posted posted 03-17-2005 18:14 Edit Quote

For the record, the 'vertical-align' attribute applies to the contents of a table cell (<td> or <th>) pretty much exclusively.

One of the major shortcomings of CSS 1&2.



(Edited by DL-44 on 03-17-2005 18:15)

Tekapo
Nervous Wreck (II) Inmate

From:
Insane since: Aug 2004

IP logged posted posted 03-18-2005 10:20 Edit Quote

Thanks, mates. Have a good week end!



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu