Wow Web Designs Forums Home

Search
   
Members

Calendar

Help

Home
Search by username
Not logged in - Login | Register 


Text wrap around a AP div
 Moderated by: Aycan  

New Topic

Reply

Print
AuthorPost
Hanne
Member
 

Joined: Mon Aug 20th, 2007
Location:  
Posts: 1
Status:  Offline
Mana: 
 Posted: Mon Aug 20th, 2007 10:07 pm

Quote

Reply
I'm working in DW CS3.
I'm using a HTML layout (2 column liquid, left sidebar, header and footer) and I would like to add an AP div and I want to get my text to wrap around the AP div.
Can I do that? How?

Thanks
Hanne

TomWhitney
Member


Joined: Fri Dec 30th, 2005
Location: Phoenix, Arizona USA
Posts: 99
Status:  Offline
Mana: 
 Posted: Tue Aug 21st, 2007 04:35 am

Quote

Reply
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


 Current time is 07:45 pm




Powered by WowBB 1.7 - Copyright © 2003-2006 Aycan Gulez
Page processed in 0.1416 seconds (9% database + 91% PHP). 16 queries executed.