positioning/alignment |
positioning/alignment |
Aug 13 2004, 08:53 PM
Post
#1
|
|
![]() Member ![]() ![]() Group: Member Posts: 16 Joined: Mar 2004 Member No: 9,005 |
I'm trying to position my boxed xanga. I'm using this :
<DIV class="boxed" align="center" valign="middle"> and I added this to my stylesheet: div.boxed {overflow: auto; width: 560px; height: 385px; background-color: #ffffff; background-image: url(PLACE URL HERE); background-position: bottom left; background-attachment: fixed; background-repeat: no-repeat;} ...I've tried to change the alignment but nothing happens, am i doing something wrong? |
|
|
|
![]() |
| *NatiMarie* |
Aug 13 2004, 09:11 PM
Post
#2
|
|
Guest |
that's not going to help the alignment because...it's just adjusting the size of the blog. Look at my tutorial in Xanga Help [it's pinned] on how to make a skin. There's a code for a boxed xanga...well actually...to position the blog. Hmm...wait, can I see your xanga?
|
|
|
|
Aug 13 2004, 09:36 PM
Post
#3
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 1,384 Joined: Aug 2004 Member No: 37,337 |
have u read the whole tutorial on how to make a skin?
|
|
|
|
Aug 13 2004, 09:55 PM
Post
#4
|
|
![]() Member ![]() ![]() Group: Member Posts: 16 Joined: Mar 2004 Member No: 9,005 |
my xanga is :here
i'm not trying to make a skin, i'm just trying to position my boxed xanga. btw,I read the tutorial and tried the boxed xanga script that was given, I can only adjust the width and height. the left & top margin doesn't work. |
|
|
|
Aug 13 2004, 09:59 PM
Post
#5
|
|
|
The Phisch ![]() ![]() ![]() ![]() Group: Member Posts: 195 Joined: Aug 2004 Member No: 38,433 |
Div's aren't alignable that way... I don't think. I mean you can't just say "center" and it will center itself... the best thing to do is to add margin-top: pixels; and margin-left: pixels; and center it the best that you can.
There IS a way that you can center a DIV using the <center> tags... but I don't remember what the position was... PS: Valign is a table thing... it doesn't work for DIV's. OT: Dude, you're makin me look dumb here by editing your posts... >< |
|
|
|
Aug 13 2004, 10:05 PM
Post
#6
|
|
|
The Phisch ![]() ![]() ![]() ![]() Group: Member Posts: 195 Joined: Aug 2004 Member No: 38,433 |
I'm a little confused... what doesn't work with your DIV? It looks centered to me...
|
|
|
|
Aug 13 2004, 10:08 PM
Post
#7
|
|
![]() Member ![]() ![]() Group: Member Posts: 16 Joined: Mar 2004 Member No: 9,005 |
yea, thats how it's always been, I don't want it centered, instead I want it aligned to the left
|
|
|
|
Aug 13 2004, 10:37 PM
Post
#8
|
|
|
The Phisch ![]() ![]() ![]() ![]() Group: Member Posts: 195 Joined: Aug 2004 Member No: 38,433 |
Ah, I see. You didn't specify that. You can TRY changing the alignment to "left" and taking out the valignment.
OT: Sorry... I use tables more than DIV's so... I half know what I'm doing and half don't... ^^" |
|
|
|
![]() ![]() |