Maheriano
January 31st, 2010, 07:09 AM
I have a website and I'm trying to get 2 images to load side by side at the very top.
So at the top of the index.php page I added:
<div id="maxwell"></div>
Then in the CSS I added:
#maxwell {
width: 200px;
height: 70px;
background-image: url(maxwell.jpg);
margin: 0 0 0 800;
color: #000;
}
My 2 questions are:
1. How do I get this image to load aligned with the right side of my page? Basically I have my page set to cover 75% of the page and I want this image to line up with the right side of the layout on all resolutions.
2. How do I get another image to load next to it, lined up with the left side?
You can take a look at www.xchangerealtygroup.com to get a feel for it but it'll probably change soon as I keep working on it to figure it out. Thanks!
So at the top of the index.php page I added:
<div id="maxwell"></div>
Then in the CSS I added:
#maxwell {
width: 200px;
height: 70px;
background-image: url(maxwell.jpg);
margin: 0 0 0 800;
color: #000;
}
My 2 questions are:
1. How do I get this image to load aligned with the right side of my page? Basically I have my page set to cover 75% of the page and I want this image to line up with the right side of the layout on all resolutions.
2. How do I get another image to load next to it, lined up with the left side?
You can take a look at www.xchangerealtygroup.com to get a feel for it but it'll probably change soon as I keep working on it to figure it out. Thanks!