Hi, new here.
I'm designing a site. The page in question has a navbar on left taking 15%
of the screen. A header, containing a centered graphic, requires about
200px.
What I want is to have a picture on the right margin and the text not go
through the picture, as it does now. I figured out how to do this, but I
forgot.
Here's the CSS I have so far. Other than the text passing through the pic,
it looks right.
div.pcontent {
position: absolute;
top: 200px;
left: 20%;
width: 80%;
}
div.photoright {
position: absolute;
top: 200px;
right: 0;
padding: 1em;
}
Help?
I'm designing a site. The page in question has a navbar on left taking 15%
of the screen. A header, containing a centered graphic, requires about
200px.
What I want is to have a picture on the right margin and the text not go
through the picture, as it does now. I figured out how to do this, but I
forgot.
Here's the CSS I have so far. Other than the text passing through the pic,
it looks right.
div.pcontent {
position: absolute;
top: 200px;
left: 20%;
width: 80%;
}
div.photoright {
position: absolute;
top: 200px;
right: 0;
padding: 1em;
}
Help?
Comment