SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: css woes?

  1. #1
    SitePoint Addict TBanks's Avatar
    Join Date
    Jan 2003
    Location
    Earth:\USA\California
    Posts
    228
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    css woes?

    I'm working on this page:

    www.eodweb.com/sitepoint/example.htm


    css here:

    www.eodweb.com/sitepoint/example.css

    The problem is that the text doesn't stay within the content area (which is defined in the stylesheet). Any suggestions?

    Bonus round: when I scroll to ther right (because there IS a nasty scrollbar) the grey background of the contentwrapper does not extend all the way - why not?

    Thanks for any help

    Toni
    dare to Dream, dare to Be...
    www.eodweb.com

  2. #2
    SitePoint Enthusiast jianson's Avatar
    Join Date
    Jul 2001
    Location
    Here and there ...
    Posts
    85
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I believe the problem is your "white-space: nowrap" instruction for the "content" div. Your single, long line of text in your page source will not be wrapped so will appear as a single, long line on screen.
    John I'anson-Holton
    Public Speaking

  3. #3
    SitePoint Addict TBanks's Avatar
    Join Date
    Jan 2003
    Location
    Earth:\USA\California
    Posts
    228
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you're brilliant! Duh! I used the same code for my portfolio pages and I didn't want them to wrap - hence the nowrap...but text is different. Augh!

    Thank you soooo much!

    Toni
    dare to Dream, dare to Be...
    www.eodweb.com


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
  •