가운데 정렬

IE6
{
text-align: center;
}

해당 div를 감싸는 곳에 위 값을 넣는다.

 
Firefox

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

해당 div의 속성 값으로 위 값을 넣는다.
Advertisements

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