Relative positioning

liunx

Guest
Hi,

In an external css file, I have this:

.thebody{
position:relative;
left:110px;
top:-100px;
}

A div, containing the main text of the page, has a class of thebody. The movement of it 110 pixels to the right is necessary to make way for a menu. However, when I use it, the main text goes off the side of the page. In IE, it doesn't even let me scroll across to see it.

How can I make the text go onto a new line at the edge of the window?

Thanks,

NeilAdd margin-right:110px; or change left:110px; to margin-left:110px;Thanks, both worked!

Neil
 
Back
Top