View Full Version : Text Wrap Problem

08-10-2005, 07:32 AM
I have a content div on my site. Inside the that I have a bio class that I want to use with a picture and some text about me....here's the bio class:

font-family: "Times New Roman", Times, serif;
font-size: 14px;
font-weight: bold;

.bio img{

When I use this in my page, the picture appears behind the content div. Is there anything I should add to .bio img so that the image will appear in front of the content div? I'ver heard something about using the clear variable...would that be relevant here?

08-10-2005, 07:37 AM
Judging by the link you gave and the html you posted, I'd say...

...oh, wait. :)

It'd be nice to see the code, or a link to your page.

08-10-2005, 09:15 AM
echo"<div id='main'><div class = 'heading'>A Little Bio of The Sandman and Why He Has Created This Fantastic Site!</div>";
echo"<div class='bio'><img src='userImages/b549397b2f2b4478b8542a6bb1a9ede1_me.jpg' class='floatImg'></img>";


08-10-2005, 09:19 AM
Thats still really not enough info. What browser is the image not displaying correctly? Have you tried the site in more than one browser? We would prefer the outputted code after it gets to the client not the server side code. A link or the rest of your code would be helpful.

08-10-2005, 10:44 AM
<img src='userImages/b549397b2f2b4478b8542a6bb1a9ede1_me.jpg' class='floatImg'></img>";

should in the <img src="blah.jpg class="FloatImg" /> format.