Login | Register | FAQ
Anonymous

wrap text around div

+ Post a reply

2 posts Page 1 of 1


wrap text around div

by csskida » Fri Jul 13, 2012 11:59 am

can any body give me the code for attached image

just need to wrap text around div

please reply ASAP with full code

Attachments

  1. wrap.jpg (12.08 KiB) Downloaded 1354 times

User avatar

csskida

  • Posts: 1
  • Joined: Fri Jul 13, 2012 11:56 am

Re: wrap text around div

by atik » Fri Jul 13, 2012 3:28 pm

Here is skeleton code you can use, just change the other styles and width of your divs as necessary -

Code: Select all
<style type="text/css">
   .content_area1 {
      float: left;
      width: 40%;
   }
   
   .content_area2 {
      float: left;
   }
   
   .footer {
      clear: both;
   }
</style>

<div class="header">
Header text
</div>

<div class="content_area1">
text1
</div>

<div class="content_area2">
text2
</div>

<div class="footer">
footer text
</div>
User avatar

atik

  • Posts: 472
  • Joined: Mon Oct 17, 2011 4:55 pm


+ Post a reply

Page 1 of 1

?>