Skip to content

Centered Vertical and Horizontal Align of elements in css

November 18, 2011

Centered Vertical and Horizontal Align of elements in css

Monday 16 February 09 by Flep in CSS Tutorials

In this tutorial, we will see how to center align:

horizontaly an element with a fixed width

horizontaly an element with no specific width

verticaly an element with a fixed height

verticaly an element with no specific height

horizontally and vertically an element with fixed measure

horizontally and vertically an element with no specific measure

horizontally and vertically a single line of text

via Centered Vertical and Horizontal Align of elements in css.

Advertisements

From → CSS

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: