DIV values not working |
DIV values not working |
![]()
Post
#1
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 547 Joined: Dec 2005 Member No: 337,439 ![]() |
So I'm creating my own style (using S1 if this is relevant); it's pretty basic but I can't get my sidebar navigation to work. I've put it in a div but for some reason, the declarations are all being ignored; it's not positioning anywhere near where I want it to and I don't know why.
Here's the code in my lastn_page box: (excluding CSS) CODE %%head%% <title>%%title%%</title> </head> <body bgcolor="#000000" text="#ffffff" link="%%color:page_link%%" vlink="%%color:page_vlink%%" alink="%%color:page_alink%%"> <div class="header" style="position: absolute; top: 50px; left: 25px;"> <img src="http://img.photobucket.com/albums/v27/flaymzofice/LJheader2.jpg"> </div> <p> <div class="content" style="position: absolute; top: 550px; left: 445px;">%%events%%</div> <div class="navigation" style="width: 100px; height: 250px; top: 550px; left: 50px;"> <center> %%userpic%% Stalking %%range%%<br> <table> %%skiplinks%% </table> </center> </div> And this is what it looks like; you can just about see the userpic peeking out the top left, behind the header, despite the navigation div telling it to be shifted 550px down. What is going on? http://frozen-out.livejournal.com/data/cus...?styleid=678169 |
|
|
![]() |
![]()
Post
#2
|
|
![]() Senior Member ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 547 Joined: Dec 2005 Member No: 337,439 ![]() |
I figured it out; the table or div containing the %%events%% line has to be at the end of all the tables/divs used.
Oh, okay. I'm glad you figured it out. :) } Azarel This post has been edited by Azarel: Apr 27 2007, 01:21 AM |
|
|
![]() ![]() |