DS928
asked on
Photo in A Div
I am trying to put a photo in a div and its not staying in the div.
<div class="container_12 top-1">
<a href="homeerase.html"><div id="zoom_img" class="grid_4 box-1">
I've put too much<br>
personal information<br>
on the Internet!<br>
Can I get it back?
</div></a>
#zoom_img{
width:250px;
height:150px;
border:5px solid gray;
border-radius:15px;
background:#FFF;
font-family:Arial, Helvetica, sans-serif;
color:#000;
font-weight:bold;
font-size:20px;
padding-top:40px;
padding-right:10px;
/*padding-bottom:20px;*/
padding-left:30px;
}
ASKER
A little complex. So I attached the file. Here is the link
www.davidschure.com
Trying to get the photo in the rounded rectangle with the writing on top. Maybe I'm making this more complicated than it needs to be!
grid-12.css
www.davidschure.com
Trying to get the photo in the rounded rectangle with the writing on top. Maybe I'm making this more complicated than it needs to be!
grid-12.css
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You probably need to add overflow:auto to one of the classes