View Full Version : Scrollbar problems


jamingben
04-07-2005, 07:06 PM
Hi, have a look at this link:

http://www.scruffian.com/media/050407trails/1.htm. Now click on the picture and look at the next page. You will probably notice a vertical and horizontal scrollbar appear. Now click refresh. Have they gone? Thought so.

This is really puzzling me. I can't see why refreshing makes the scrollbars go - i don't want them there at all. I suppose it must be to do with this code:


body { overflow:auto; border:0px none; }

Its really frustrating so if anyone can explain it to me, or suggest some different code to make the pages work that would be much appreciated.

Thanks for your help
Ben

jamingben
04-07-2005, 07:07 PM
Sorry, I just realised a few things.

1. You have to have screen resolution 1024x768 to see what i mean
2. You have to maximise the window.

Thanks again
Ben

supercat
04-07-2005, 09:13 PM
Doesn't it work if you take out overflow: auto? I had the impression that that made it scroll.I might be wrong but it's worth a try!

Patrick
04-07-2005, 10:16 PM
In other words, change it to this:


<html>

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Scruffian: Trails in the the spring</title>

<style>

body { border:0px none; }
table { font-size: 8pt; font-family: Verdana; }
img { border: 0px none; }


</style>
</head>
<body topmargin="0" leftmargin="0">

<p><a href="3.htm"><img border="0" src="05040720.jpg" width="1024" height="599"></a></p>

</body>

</html>

jamingben
04-08-2005, 07:13 AM
thanks for the help. that didn't work - overflow:auto gets rid of the vertical scrollbar, but what did work is changing it to overflow:hidden.

Thanks again
Ben