Forums

[resolved] Gray Bar won't go away... (6 posts)

  1. Amusesmile
    Member
    Posted 10 months ago #

    This is my site: http://thisiswhatwecareabout.com/

    The problem: All the content that's wider than the browser width gets cut off by a gray bar (to the right). I've tried changing everything in the CSS file that I can think of but still the gray bar will not die. Can anyone tell me what this is and why it's there? Thanks in advance.

  2. Abinav Thakuri
    Member
    Posted 10 months ago #

    Add this to your css styles:

    body{ width:150%; }

  3. Abinav Thakuri
    Member
    Posted 10 months ago #

    You hadn't defined any width for your body and the content is larger than 100% of the screen.

  4. Abinav Thakuri
    Member
    Posted 10 months ago #

    Hmm...one small correction.You can keep the width to 120% or your width will be excess.

  5. Amusesmile
    Member
    Posted 10 months ago #

    Abinav- Many, many thanks. That was really driving me out of my mind. Especially since I'm doing all this advanced image processing stuff and I was being defeated by one line of CSS. Arg. Anyway it's fixed now and again I really appreciate it.

  6. Abinav Thakuri
    Member
    Posted 10 months ago #

    Glad it worked out..What you're doing is interesting.Best of luck on it! :)

Reply

You must log in to post.

About this Topic