Log In · Register

 
DIV values not working
flaymzofice
post Apr 26 2007, 08:16 AM
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
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: