Forum Moderators: not2easy
Everything I try is as complicated as a table plus I still can't get it to work. I really want to start moving away from tables.
Thanks for any help.
#container {
text-align:center;
}
#picRightDiv {
width:300px;
margin-left:auto;
margin-right:auto;
text-align:right;
}
#picLeftDiv p {
margin:5px;
}
#picleftDiv img {
margin:5px;
float:right;
}
and in the HTML:
<div class="container">
<div class="picRightDiv">
<img src="picture.gif">
<p>some text</p>
</div>
</div>
This will hopefully center the div and place the image to the right.
try different margins and paddings and width
hope this will help
/ m a r t i n