Results 1 to 5 of 5

Thread: Text Flow Problem

  1. #1
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Text Flow Problem

    Hi all

    I have a site that is using tables. In order to achieve a text wrap around an image, I have used tables. On a few of the pages (see link below) there is some sort of spacing in the cell that is causing the text to look like it has too many breaks being used.

    Can anyone take a look and see what I am doing wrong? Thanks.


    http://rasusa.com/new/projectmanagement.html

  2. #2
    Join Date
    May 2006
    Posts
    259
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    Looks fine on my end. I had a look at just about all your pages and I didn't notice broken text.

    Anyone???
    "Only dead fish flow with the stream".
    - Unknown

  3. #3
    Join Date
    May 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hmmmm. Between the first and second paragraphs?

  4. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    ....Yeah.
    you have a line break there.

    that's because you have seperated the content using tables.

    <table ... cellspacing="0" cellpadding="0">
    That might help.

    But... basically... you're slicing your text, then complaining that it's seperate. This is cause and effect. If you don't like the cause then you need to change the effect.

    Maybe set the valign="bottom" (vertically align to bottom of cell) for the cell containing the text next to the image and "top" for the text below.

    Or, better yet, reword, resize, or otherwise make it work to break a paragraph there, not a sentence.


    Just realize this isn't a matter of bad code, but of trying to fit a round peg in a square hole. something's gotta change, sadly.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Instead of tables, floats would probably be more appropriate to what you say you want. Something like:

    HTML Code:
    <div>
    <p>lots of text</p><img src="whatever.jpg" style="float:right;"><p>lots more text</p>
    </div>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •