I have been slowly transforming my site to CSS but have now reached an image problem.
The web page is www.c5d.co.uk/young.php
I have two images at the top which I want to be both 234px x 60 px.
If I specify this is the HTML then it works fine. I can’t seem to get it to work though by using CSS
At present one image is miles bigger than the other.
I think this is the relevant bit from the HTML
<div id=“advert1”>
<a href=“http://www.jdoqocy.com/click-5433512-10520381” target=“_top”>
<img src=“http://www.awltovhc.com/image-5433512-10520381” width=“234” height=“60” alt=“234x60: I am, your Nan” border=“0”></a></div>
<!–START MERCHANT:merchant name Find My Past from affiliatewindow.com.–>
<div id=“advert2”><a href=“http://www.awin1.com/cread.php?s=265538&v=2114&q=126749&r=127588”><img src=“http://www.awin1.com/cshow.php?s=265538&v=2114&q=126749&r=127588” alt=“264x60” border=“0”></a></div>
<!–END MERCHANT:merchant name Find My Past from affiliatewindow.com–>
And this is the relevant bit from the CSS
img.ionian {padding-top: 50px;padding-left:350px;height:length;160px;}
img.young {height:length:450px; width:382px;}
img.young { display: block; margin-left: auto; margin-right: auto; }
p.keftext{text-align:center; padding-top: 120px}
p.keftext2{text-align:center; padding-top: 20px}
table {margin:auto;a:link, a:visited {color:#000000; font-size: 15px;font-weight:bold;}}
#advert1 {float:left; display:inline-block; background:#000; width:250px;}
#advert2 {float:right; display:inline-block; background:#000; width:250px;}
As always, any help appreciated
Thanks
Antony