Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 6 of 6
  1. #1
    Junior Member
    Join Date
    Dec 2006
    Posts
    9
    Member #
    14524
    Hello everyone. I am fairly new to web design. I am trying to get text to wrap around an image, like a newspaper. I havent found much on google that seams to work. Thanks for any help.

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    To what extent you are looking for, I dont know, but check out http://www.tizag.com/cssT/float.php

  4. #3
    Junior Member
    Join Date
    Dec 2006
    Posts
    9
    Member #
    14524
    Thanks for the reply. I have played around and I have yet to find a solution.

    The code I have used so far is:

    html
    <code>
    <img src="image.jpg" class="floatRight">
    </code>

    css
    <code>
    img.floatRight
    {
    float: right;
    margin: 4px
    }
    </code>

    That just gives me an image then the text below it. What i am trying to do is to make the text to be inline with the image which is 171x100 or atlease the text to wrap around the image. If that makes any sense. Thanks

  5. #4
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    You want to have the [minicode]img[/minicode] tag and the text in the same container.

  6. #5
    WDF Staff mlseim's Avatar
    Join Date
    Apr 2004
    Location
    Cottage Grove, Minnesota
    Posts
    7,755
    Member #
    5580
    Liked
    720 times
    Stealth ...

    Do you mean like this?

    http://www.catpin.com/stealth


    View the HTML source code to see the HTML and CSS.


  7. #6
    Junior Member
    Join Date
    Dec 2006
    Posts
    9
    Member #
    14524
    Ah, thanks for everyone’s help. Very much appreciated.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:56 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com