Evening all,
I working on redoing a website at work here and I am fairly new to working with all this and learning as I go.
I am trying to center a picture with a text description next to it inside a div.
|------------------------------------------|
| |
| |img|TEXT |
| |
| |img|TEXT |
| |
|------------------------------------------|
Now these two images and their corresponding text are going to be the only elements with in the div.
I have tried doing this
<img src="" alt="" id="logopic"><p>text</p>
#logopic img {
clear:left;
}
When I do this it aligns the text and image correctly but shifts everything to the left.
How do I go about it so that it looks like the crude drawing I have made?
Any help is greatly appreciated.
Thank you.
Alex