Why does it have to be an ap div? Would a div inside that can be positioned absolutely work? Code below demonstrates a float if you don't already have that part.
<html><head>
<style type="text/css">
#main
{
width: 400px;
}
.infobox
{
margin: 0 0 20px 20px;
padding: 20px;
width: 200px;
float: right;
border: 1px solid black;
}
</style>
</head>
<body>
<div id="main">
<div class="infoBox">
Sharks never get cancer! Their cartilage is used
in being studied with the hope of developing
anti-cancer drugs.
</div>
For buoyancy sharks do not have gas-filled swim bladders like many fish,
but instead have a large liver filled with oil. Its effectiveness is
limited, so sharks employ dynamic lift to maintain depth and sink when
they stop swimming. Some sharks, if inverted, enter a natural state
of immobility. Researchers use this condition for handling sharks
safely. Sandtiger sharks are also known to gulp air from the surface
and store it in their stomachs, using the stomach as a swim bladder.
</div>
</body>
</html>
Tom Whitney
Free Shark Facts and Information
Last edited on Tue Aug 21st, 2007 04:46 am by TomWhitney
|