Help - Search - Members - Calendar
Full Version: coding help
Forums > Resource Center > Support Center > Xanga Support > Xanga Resolved Topics
smrkangl
Hello! I am making a layout with the header centered, but when I put the background, in an 800x600 resolution, the background moves and the header does not align with the background anymore. Can someone hlep me in coding the background part?

QUOTE
<div align="center">
<IMG SRC="http://img114.imageshack.us/img114/6426/esloveme6vg.jpg" WIDTH="356" HEIGHT="600 BORDER="0" ALT="">
</div>


HEADER: http://img114.imageshack.us/img114/6426/esloveme6vg.jpg
BACKGROUND: http://img123.imageshack.us/img123/5025/eslovemebg5sw.jpg
YourSuperior
Try this:

CODE
<div align="center">
<IMG SRC="http://img114.imageshack.us/img114/6426/esloveme6vg.jpg" WIDTH="356" HEIGHT="600 BORDER="0" ALT="">
</div>

<style type='text/css'>
Img {
Margin-Left: -60px;
}
Body {
Background-Image:url('http://img123.imageshack.us/img123/5025/eslovemebg5sw.jpg');
Background-Repeat: repeat-y;
Background-Position: center center;
}
</style>


I attempted to align it for you. _smile.gif
smrkangl
thank you thank you thank you thank you thank you!




you're awesome :D
YourSuperior
You're welcome. I'm glad I could help you solve your problem. If you have more questions, you can PM me. _smile.gif
Eryi
TOPIC CLOSED
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.