stfc_boy
01-11-2008, 05:40 PM
Hi Guys,
Wondering oif someone could help with my layout please
In my layout I have some text that I call out of a database. I then want the text to align alongside two div elements, but I can't get it to work. I want it like this:
http://www.slougheaz.org/example.jpg
<style>
.pic_float_right {
float:right;
border:solid 1px silver;
padding:5px;
margin-left: 5px;
margin-right:10px;
margin-top: 10px;
margin-bottom: 10px;
}
.video_float_right {
background-color: #F5F5F5;
width:200px;
display:inline;
float:right;
border:solid 1px silver;
padding:5px;
margin-left: 5px;
margin-right:10px;
margin-top: 10px;
margin-bottom: 10px;
}
</style>
[/html]
<div class="video_float_right"><img src="images/camera.png" />View Video</div>
<div class="pic_float_right"><img src="images/person.jpg" /></div>
<p><?php echo nl2br($body_text); ?></p>
Thanks
Chris
Wondering oif someone could help with my layout please
In my layout I have some text that I call out of a database. I then want the text to align alongside two div elements, but I can't get it to work. I want it like this:
http://www.slougheaz.org/example.jpg
<style>
.pic_float_right {
float:right;
border:solid 1px silver;
padding:5px;
margin-left: 5px;
margin-right:10px;
margin-top: 10px;
margin-bottom: 10px;
}
.video_float_right {
background-color: #F5F5F5;
width:200px;
display:inline;
float:right;
border:solid 1px silver;
padding:5px;
margin-left: 5px;
margin-right:10px;
margin-top: 10px;
margin-bottom: 10px;
}
</style>
[/html]
<div class="video_float_right"><img src="images/camera.png" />View Video</div>
<div class="pic_float_right"><img src="images/person.jpg" /></div>
<p><?php echo nl2br($body_text); ?></p>
Thanks
Chris