Jump to content

No scrolling?


dominod

Recommended Posts

Hi

 

I am no HTML newbie, but this makes no sense ...

 

I created a normal HTML/CSS page but for some reason there is no vertical scroller on the page..

 

http://haukaas.nu/new/webpage/

 

I´ve tested it both in Safari and Firefox and there is no scroller.. I cant even use the scroller on my mouse..

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/206904-no-scrolling/
Share on other sites

Hi,

 

Get rid of position: fixed; in:

.content
{
  width: 700px;
--->	  position: fixed;
  margin-top: 75px;
  text-align: justify;
}

 

By setting your content div which contains pretty much everything that's on your page to position: fixed; means that you are telling the browser that div content should stay fixed in it's position and not move therefore there is no need for a scroll bar because it's not going anywhere.

 

Joe

 

Link to comment
https://forums.phpfreaks.com/topic/206904-no-scrolling/#findComment-1081990
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.