Sign Up! Login: Password: New User? Forgot? Support
Top Mods!
Wowhead Search
by sonofsamedi
Digital Clock
by Wolfar15
Admin Forums
Welcome to the GuildPortal Help Community! These forums are for admin-to-admin help.
Available Forums
Forums : Pimp My Site! > Aligning right?
538738280_Inactive (New Admin) 3/28/2007 12:31 PM EST : Aligning right?
538738280_Inactive
Posts: 238
Fingers of Fury!

I'd like to align all my content containers to the right side of the page. There's an automatic option for left and center, but no right. I know it's odd, but it will be better for the design I'm cooking up.

How do I go about aligning it manually in the custom style sheet?
TopBottom

Neutrio (Guild Admin) 3/28/2007 3:25 PM EST : RE: Aligning right?
Neutrio
Posts: 165
Posts With Wolves

 If I have it right, you will want to add the following line of code to each of the CSS objects you are interested in aligning:

     TEXT-ALIGN: RIGHT;

as in:

.ContentBoxBody
{
... whatever you already have ...

     TEXT-ALIGN: RIGHT;
}

Enjoy!
Neutrio
Neverwinter:  Defenders of Neverwinter
      Production:  Heroes Inc

Test: Connectus Interruptus
TopBottom

538738280_Inactive (New Admin) 3/28/2007 3:32 PM EST : RE: Aligning right?
538738280_Inactive
Posts: 238
Fingers of Fury!

I appreciate the help, but all that seems to do is move the text to the right. I'd like to align all the tables and content boxes on the right as well.

Anyone have a solution?
TopBottom

Neutrio (Guild Admin) 3/28/2007 3:42 PM EST : RE: Aligning right?
Neutrio
Posts: 165
Posts With Wolves

All I can think of is to make all of your page objects be on the right side -- i.e. on your Site Pages pages, all objects would be Right Pane objects.

Perhaps a glimpse into what effect you are after would help.
Neutrio
Neverwinter:  Defenders of Neverwinter
      Production:  Heroes Inc

Test: Connectus Interruptus
TopBottom

538738280_Inactive (New Admin) 3/29/2007 12:07 PM EST : RE: Aligning right?
538738280_Inactive
Posts: 238
Fingers of Fury!

http://guildportal.com/Guild.aspx?GuildID=159920&TabID=1355515

There is the link to the site where I'm currently working on this. Basically, I don't want the tables and content containers to obscure the background too much. I can go into the control panel and specify that I want everything to align left or center, but not right.

I can change the margins but then that fixes the containers to an absolute position, and I'd like it to be relative.
TopBottom

Neutrio (Guild Admin) 3/29/2007 2:56 PM EST : RE: Aligning right?
Neutrio
Posts: 165
Posts With Wolves

Hm ... yes ... now I see what you are going for.

I think this might work -- check out my Test site (in my sig block below) for how I did this to allow the sliding menu to have room & not obscure other content.

I did this by adding the following line to the BODY object in my CSS code:

FORM
{
     PADDING-LEFT: 175px;
}

Then, I made all my content container's Display Options either Center or Right.
Neutrio
Neverwinter:  Defenders of Neverwinter
      Production:  Heroes Inc

Test: Connectus Interruptus
TopBottom

Admins Online
There are   members online.
So-and-so has logged on!
%title%
%message%