My problem is very simple, basically I have 2 img's in my HTML like so:
CODE
<img class="central" src="text.png" alt="text"/>
<img class="righter" src="logo.png" alt="logo"/>
with the CSS:
CODE
IMG.central
{
margin-left: auto;
margin-right: auto;
display: block;
}
IMG.righter
{
margin-left: auto;
display: block;
}
Now what I want displayed, is the text image (text.png) in the centre, and the logo image (logo.png) to the right hand side. It currently does this, however they are on separate lines. I would like them both to be on the same line, and I would like to not use tables to achieve it.
I know display: block; enters a line break before and after the image, but I have tried floating the images and display: inline; but this all results in the margin code becoming null. Any help would be appreciated.