A bit of Background centering help?, Please? |
![]() ![]() |
A bit of Background centering help?, Please? |
![]()
Post
#1
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Feb 2006 Member No: 373,178 ![]() |
So, I've got this layout, and basically, I want the image, blog text and the background to be centered.
So, after much work, I found that I can center the background (using top center), but found myself unable to do the same for the image and the blog text. Being the ever flexible person, I figured to do it the other way around, and fix my image and blogtext at left: 300px. Unfortunately... I can't do the same for my background. Hmm... ![]() Some help? This be my Background and Blog Text code: This be the image/header code Any help will be MUCHLY appreciated. ![]() Thanks! |
|
|
![]()
Post
#2
|
|
![]() i lost weight with Mulder! ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 4,070 Joined: Jan 2005 Member No: 79,019 ![]() |
1. please give a link to your lj.
2. do you have GLOBAL_HEAD<= at the beginning of your stylesheet? 3. im still a little confused. maybe its because im tired... but why would you want to center the background? i can help you center the entries/layout... but the background? |
|
|
*Libertie* |
![]()
Post
#3
|
Guest ![]() |
QUOTE(tealeafkitty @ Feb 6 2006, 10:00 PM) I'm a little confused too, but I think maybe what you're trying to do is position the background 300 px from the left? You would change your body code to: QUOTE body {
overflow-x: visible; margin-top: 600px; margin-left: 300px; background: #E2DDB5; overflow:-moz-scrollbars-vertical; background-image: url(http://i21.photobucket.com/albums/b271/leafgreentea/Back.jpg); background-repeat: repeat-y; background-position: 300px; |
|
|
![]()
Post
#4
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Feb 2006 Member No: 373,178 ![]() |
QUOTE(insomniac @ Feb 6 2006, 11:25 PM) 1. please give a link to your lj. 2. do you have GLOBAL_HEAD<= at the beginning of your stylesheet? 3. im still a little confused. maybe its because im tired... but why would you want to center the background? i can help you center the entries/layout... but the background? I'm trying to center the background, because I'm too lazy to create tables and such, so I make a false table, to make it look like the text is enclosed in a white box, but it's actually the background. So if the background and the text aren't at the same place, it looks all wacky. And about the global head: yes, I have one ^_^ Hope this cleared things up a little. |
|
|
![]()
Post
#5
|
|
![]() i lost weight with Mulder! ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 4,070 Joined: Jan 2005 Member No: 79,019 ![]() |
oh. ok. sorry. i havent slept in like... well, a while.
try what danielle said to do. |
|
|
![]()
Post
#6
|
|
Newbie ![]() Group: Member Posts: 3 Joined: Feb 2006 Member No: 373,178 ![]() |
QUOTE(Libertie @ Feb 7 2006, 12:28 AM) I'm a little confused too, but I think maybe what you're trying to do is position the background 300 px from the left? You would change your body code to: Yay! It worked! Thanks so much! @Insomniac: Yeah, your username pretty much gives it away ![]() |
|
|
*Libertie* |
![]()
Post
#7
|
Guest ![]() |
Haha. I don't sleep much either (takes me forever to fall asleep), but I've heard that before, maybe I should try it.
![]() Anyway, glad that fixed it. ![]() Closed. |
|
|
![]() ![]() |