Jump to content

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.