What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » General » General Chit Chat » CSS Help!

CSS Help!
Author: Message:
albert
Veteran Member
*****

Avatar

Posts: 2247
Reputation: 42
– / Male / Flag
Joined: Feb 2005
RE: CSS Help!
The easy way to do this?

Simply put everything you want aligned in an another div, and on the html page write.

code:
<div align='center>
     <div class='container>
     </div>
</div>


Saves you from a bunch of problems to center-it horizontally. As for the vertical, depending on how big your container is (e.g. 40%), you would simply have to do : (100% - 40%) /  2, and then use the result ( 30% here) and use it as top in your position propriety.

code:
#container
{
position:relative;
top:30%;
}


This post was edited on 06-09-2007 at 02:59 PM by albert.
06-09-2007 02:56 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
CSS Help! - by Eddie on 06-09-2007 at 09:50 AM
RE: CSS Help! - by ayjay on 06-09-2007 at 10:12 AM
RE: CSS Help! - by Eddie on 06-09-2007 at 11:34 AM
RE: CSS Help! - by Nathan on 06-09-2007 at 12:01 PM
RE: CSS Help! - by Supersonicdarky on 06-09-2007 at 12:25 PM
RE: CSS Help! - by Nathan on 06-09-2007 at 12:30 PM
RE: CSS Help! - by hmaster on 06-09-2007 at 12:32 PM
RE: CSS Help! - by Lou on 06-09-2007 at 12:33 PM
RE: CSS Help! - by Nathan on 06-09-2007 at 12:39 PM
RE: CSS Help! - by ayjay on 06-09-2007 at 12:45 PM
RE: CSS Help! - by Eddie on 06-09-2007 at 12:49 PM
RE: CSS Help! - by albert on 06-09-2007 at 02:56 PM
RE: CSS Help! - by ayjay on 06-09-2007 at 03:17 PM
RE: CSS Help! - by Lou on 06-09-2007 at 04:10 PM
RE: CSS Help! - by Eddie on 06-09-2007 at 04:23 PM
RE: CSS Help! - by Eddie on 06-11-2007 at 12:47 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On