Skip to main content
March 26, 2007
Answered

Browser scrollbars

  • March 26, 2007
  • 1 reply
  • 266 views
Hi all,

How do I enable scrollbars for my site to help people with small monitor / resolution sizes view my site?

here is my site: www.marklawrencedesign.com

I have seen a few things on the internet, but not concerning the way my site is set to always be centrerd in the browser. What I want to happen is when a browser is too small for my site, scrollbars appear for the user!

Any help is greatly appreciated,

Cheers
This topic has been closed for replies.
Correct answer Recaf
Just change

body{
overflow: hidden;
}

to

<style type="text/css">
<!--
body {
overflow: auto;
}
-->
</style>

At the top of your HTML.


__

Mesmotronic Multiuser Server for Flash 1.0 available now!
http://www.multiuserserver.com/

1 reply

Recaf
RecafCorrect answer
Participating Frequently
March 26, 2007
Just change

body{
overflow: hidden;
}

to

<style type="text/css">
<!--
body {
overflow: auto;
}
-->
</style>

At the top of your HTML.


__

Mesmotronic Multiuser Server for Flash 1.0 available now!
http://www.multiuserserver.com/
March 27, 2007
Dr Rackett,

thanks for getting back, I have tried that and it does not work im afraid! Not sure why, I placed it in the same place as the previous code and no joy!

Mark