CSS + Float help

Discussion in 'Web Programming' started by Gone Fishing, Aug 21, 2007.

CSS + Float help
  1. Unread #1 - Aug 21, 2007 at 3:49 PM
  2. Gone Fishing
    Joined:
    Feb 5, 2007
    Posts:
    896
    Referrals:
    3
    Sythe Gold:
    0

    Gone Fishing Apprentice

    CSS + Float help

    Ok, I'm trying to make an image float to the corners of my table to give it a rounded shape, but whenever I do float:left, it floats outside the table, how do I fix this :S :(.
     
  3. Unread #2 - Aug 21, 2007 at 11:28 PM
  4. timk777
    Joined:
    Feb 19, 2007
    Posts:
    156
    Referrals:
    0
    Sythe Gold:
    0

    timk777 Active Member

    CSS + Float help

    ... Are you gonna post the source?
     
  5. Unread #3 - Aug 21, 2007 at 11:36 PM
  6. Gone Fishing
    Joined:
    Feb 5, 2007
    Posts:
    896
    Referrals:
    3
    Sythe Gold:
    0

    Gone Fishing Apprentice

    CSS + Float help

    Code:
    <html>
    <head>
    <style type="text/css">
    .left {float:left;}
    </style>
    </head>
    <table>
    <tr><td><div class="left"><img src="border-1.gif"></div></td></tr>
    </table>
    </html>
    
     
  7. Unread #4 - Aug 22, 2007 at 2:46 AM
  8. timk777
    Joined:
    Feb 19, 2007
    Posts:
    156
    Referrals:
    0
    Sythe Gold:
    0

    timk777 Active Member

    CSS + Float help

< website help | Davido83's Guide To HTML (Hypertext Markup Language) >

Users viewing this thread
1 guest


 
 
Adblock breaks this site