Jump to content


Photo

Unneccessary Scroll Bars


  • Please log in to reply
3 replies to this topic

#1 jwwceo

jwwceo
  • Members
  • PipPipPip
  • Advanced Member
  • 212 posts

Posted 08 September 2006 - 08:23 PM

I just finished the back end work for this page..

www.liquidcotton.com

for some reason the page has unneccessary scroll bars, both horizontal and vertical.

I think it might have something to do with the javascript menus that are built at the top fo the page..

any ideas???

#2 effigy

effigy
  • Staff Alumni
  • Advanced Member
  • 3,600 posts
  • LocationIL

Posted 08 September 2006 - 08:25 PM

In the CSS use body { overflow: hidden }
Regexp | Unicode Article | Letter Database
/\A(e)?((1)?ff(?:(?:ig)?y)?|f(?:ig)?)\z/

#3 jwwceo

jwwceo
  • Members
  • PipPipPip
  • Advanced Member
  • 212 posts

Posted 11 September 2006 - 07:53 PM

That works kinda... but then nothing scrolls...even when it is supposed it..it blocks out anything larger than 1 screen tall.

I don't really get this... when I take out the javascript menu data at the top of the page the page works fine... theres something about the menus that makes the page wider and taller than it's supposed to be..

any ideas???

#4 ToonMariner

ToonMariner
  • Members
  • PipPipPip
  • Advanced Member
  • 3,342 posts
  • LocationNewcastle upon Tyne, UK

Posted 12 September 2006 - 09:06 AM

Thats your answer then....

There is some part of the code that has the javascript menu 'starting' at the right hand side of the body.

There is an absolute shed load of html in there (sure you need that much to achieve something that looks like it should be quite simple).  Also various tags missing like <body> etc.

Suggest you validate your html....
follow me on twitter @PHPsycho




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users