Mehdi72
08-01-2007, 01:15 AM
Here I have two images :
h**p://soccer-europe.com/newindex.html
I want them displayed next to each other. How do I do it?
Here's the relevant HTML :
<div id="image1">
<img src="Graphics/Photos/flickr/2_April_2007_Milan_by_superleague_formula_thebeautifulrace.jpg" width="500" height="334">
<img src="Graphics/Photos/flickr/5_July_2007_Carlos_Tevez_by_dentough.jpg" width="300" height="410">
<div id="cap">© 2007 Superleague Formula</div>
</div>
and the relevant css :
#image1 {
float: left;
padding-right: 10px;
}
#image2 {
float: right;
padding-left: 10px;
}
h**p://soccer-europe.com/newindex.html
I want them displayed next to each other. How do I do it?
Here's the relevant HTML :
<div id="image1">
<img src="Graphics/Photos/flickr/2_April_2007_Milan_by_superleague_formula_thebeautifulrace.jpg" width="500" height="334">
<img src="Graphics/Photos/flickr/5_July_2007_Carlos_Tevez_by_dentough.jpg" width="300" height="410">
<div id="cap">© 2007 Superleague Formula</div>
</div>
and the relevant css :
#image1 {
float: left;
padding-right: 10px;
}
#image2 {
float: right;
padding-left: 10px;
}