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.
Add this to your css styles:
body{ width:150%; }
You hadn't defined any width for your body and the content is larger than 100% of the screen.
Hmm...one small correction.You can keep the width to 120% or your width will be excess.
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.
Glad it worked out..What you're doing is interesting.Best of luck on it! :)