Images

Dear All,

I have been looking at my code until my eyes ache and I can’t see what’s wrong

On the following page the images stack vertcially rather than horizontally

http://www.torreviejatimes.com/property

There is no <br /> and the div should be large enough to accommodate 4 side by side?

What’s making them stack vertically?

Thanks

Will

HI,

In line 23 of layout css you set all images to block which causes them to start ona new line:


img {
    border: medium none;
    display: block;
    margin: 0;
    padding: 0;
}

Just reset them to inline for your current context.


#property_photos img{display:inline}

Thanks a million. I wonder why my CSS tool didn’t pick that up.