Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,746
    Thanks
    18
    Thanked 155 Times in 146 Posts

    Word wrap/css margin issue...

    Can someone help me pinpoint a problem with the text wrap/left margin issue inside the "INDUSTRY NEWS BRIEFS - TECHNOLOGY & MEDIA" box on this page: http://www.mediamogulsweb.com/indust...s.shtml#briefs...

    The copy should be flush left, aligned with the subheads.....It's definitely a CSS problem...But I've been looking at this for a little bit, and I'm not making any progress...thanks for any help!
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!

  • #2
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    You're surrounding the text you need aligned with <span>. <span> is inline, meaning the margin assigned to it won't "wrap" along with it.

    If you place your text in <p> tags-- which you should be doing anyway-- you can apply a little margin or padding and it'll wrap just fine.

    You could actually save TONS of code and space by coding that page a little more semantically; plus it'll make it easier to debug. It took awhile for me to wade through your tables and font tags to find the problem...

  • #3
    Senior Coder chump2877's Avatar
    Join Date
    Dec 2004
    Location
    the U.S. of freakin' A.
    Posts
    2,746
    Thanks
    18
    Thanked 155 Times in 146 Posts
    thanks for wading throught that and for the tip about the <span> and <p> tags...sorry if the code is a little sloppy, some of it isn't mine...anyway, your tip worked...
    Regards, R.J.

    ---------------------------------------------------------

    Help spread the word! Like my YouTube-to-Mp3 Conversion Script on Facebook !! :)
    [Related videos and tutorials are also available at my YouTube channel and on Dailymotion]
    Get free updates about new software version releases, features, and bug fixes!


  •  

    Posting Permissions

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