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 repeating BG to the top
Avandius (New Admin) 10/28/2008 12:13 PM EST : Aligning repeating BG to the top
Avandius
Posts: 337
Fingers of Fury!

Heya, on my Site i use a center repeating BG with the CSS:

body {background: url(http://i194.photobucket.com/albums/z13/gythawen/Testament/Testament_Background.jpg) center center;background-repeat: repeat-y; background-color: #000000;}

This works fine, however if you notice when you switch pages the side bars/buttons shift around. I'm assuming this is because it is tiling from the bottom up or from the center. I want to tile it from the top down that way the top remains the same and only the bottom resizes/extends.

Any idea how to alter the code to do this? I've tried a couple variations with no success.

TopBottom

RedRydur (Guild Admin) 10/29/2008 2:15 AM EST : RE: Aligning repeating BG to the top
RedRydur
Posts: 1065
Zomgawsh Poster

Nice looking site.
---------------------------------------------
-
RedRydur the Pure
TopBottom

Mottie (MVP) 10/29/2008 3:03 AM EST : RE: Aligning repeating BG to the top
GuildPortal MVP
Mottie
Posts: 3883
Zomgawsh Poster

Try using "top" instead of "center", but leave the second center... changed below in red
body {background: #000000 url(http://i194.photobucket.com/albums/z13/gythawen/Testament/Testament_Background.jpg) top center repeat-y;}
TopBottom

Avandius (New Admin) 10/29/2008 5:08 AM EST : RE: Aligning repeating BG to the top
Avandius
Posts: 337
Fingers of Fury!

Ha now i feel stupid. I tried changing the center to top before, but i changed the 2nd "center" not the 1st... which resulted in my BG now evening showing up.

Perfect! Thank you!

...and thank you as well RedRydur!
TopBottom

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