471,605 Members | 1,651 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,605 software developers and data experts.

The simplest & cross browser way to vertical align - 2007

I found a lot of methods from the web telling how to vertical align,
but seems can't find a perfect solutions, they have different methods,
and some of the contents is at the year of 2003, I am not sure If I
missed any updated information...anyway, consider the following
codes, what you can add with min. no of codes while work in most
current browser (i.e. IE 6.0+, FF 1.5+)

<style>
..wrapper {
height:600px; width:300px; background-color:red;
}

</style>

<div class="wrapper">

test

</div>

Sep 8 '07 #1
0 1679

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Waguih Boctor | last post: by
7 posts views Thread by Daniel Jung | last post: by
7 posts views Thread by Daniel Kaplan | last post: by
3 posts views Thread by pamela fluente | last post: by
1 post views Thread by XIAOLAOHU | last post: by
reply views Thread by MichaelMortimer | last post: by
reply views Thread by CCCYYYY | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.