UseBB Community

The official board for UseBB help and discussion

UseBB Community » Resources & Customization » board left-aligned

board left-aligned

Moderators: Gaia.

Page: 1

Author Post
Member
Registered: Jan 2007
Posts: 12
Hi board user, hi Dietrich,

my question ist stnading in the headline yet.
i want to advertise banners and so on, so it is nessesary to adjust the alignment of the board to the left side.

i try to change the styles.css in the folder templates

Quote
html, body {
font-size: 8pt;
font-family: verdana, sans-serif;
text-align: center;
background-image: url(gfx/body_bg.png);
background-color: #CCC;
cursor: default;
}


from center to left, but this was´nt the solution.

how can i adjust the alignment?

thanks and forgive me my bad english :oops:
Moderator
Registered: Oct 2005
Posts: 462
Location: canada
You will want to edit the following CSS:


#pagebox-bg {
width: 785px;
background-image: url(gfx/pagebox_bg.png);
background-repeat: repeat-x;
background-color: #FFF;
margin: 0 auto 0 auto;
}


Remove the margin to see how it looks.
Member
Registered: Jan 2007
Posts: 12
Thank you, it works perfect.
Member
Registered: Jan 2007
Posts: 12
oh sorry, i ve realized, that the alignment changes in firefox only. the same site viewed with internet explorer is centred.

how is the css to change, that the right alignment is in bothe browsers activated?

thank you for your anwser.

torsten
Developer
Registered: Apr 2004
Posts: 2224
Location: Belgium
You need to remove "text-align: center" from "body" as well.
_______________
--Dietrich (developer)
UseBB roadmap, dev mailing list & weblog

Page: 1

UseBB Community » Resources & Customization » board left-aligned

UseBB Community is powered by UseBB 1 Forum Software