How do you use html to put two things side by side?

Cathy

New member
I'm new to the html scene, but I'm trying to learn. I have a menu on one side of my page, and a picture I want to be the header. When I put the menu up, it was next to the top of the page and that's where I want it. But then I put the picture up, and it moved the menu down to under the picture. How can I get them side by side? Help? Anyone... Anyone???
 
There are three ways you can do this: either make a table and have the menu and the image be in adjacent cells in the same row, or use CSS floating and positioning.

#imageid{
float: right;
}

This will align it with the text in the menu, as long as you put the tags in the right place.
 
Back
Top