...

View Full Version : Need help with my layout.?



roxy26
02-12-2012, 06:13 PM
This is my website http://www.pinkl0ve.d0wnfall.info/
From what I believe everything looks okay apart from the header as you can see won't align to fit snug on top of the content and side bar on the left.
This is the code I am working with <div style="position:absolute; top:24; left:360;">
<img src="/images/pinkloveheader01.png">
</div>
Can anyone help tell me what is wrong and what I need to do to fix.
Also can you tell me if everything is okay apart from the header

Thanks

Taro
02-12-2012, 06:23 PM
First, you can try to center the image using the <center> tag in the html page.
For the div style, you can try inserting it in CSS:



___________ {width: _px;
margin-right: auto;
margin-left: auto;
margin-top: 0px;
margin-bottom: 0px;
}


Hopefully it might center out and align with the sidebar.

Co1dFusion
02-12-2012, 06:28 PM
Looks ok. I can't really see what the problem is.

Some comments
(a) Your comment div dosn't do anything
(b) Try not to use the "style" sttribute inside the div, instead have put that code in CSS document.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum