Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with my scroll bar

Status
Not open for further replies.

40744145142

Technical User
Jul 20, 2006
15
RO
Hi, I made a web page, and i don't know why, the Internet Explorer browser sees my scroll bar, and opera and firefox, no. Please help me caue it's urgent. Thanks
 
I'm pointing at the part of your code with the error....

Can you at least posts some code or a link to the wbesite so we can check it out?

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
So, there is the code:
"<div id="detaliu" style="overflow:auto; scrollbar-face-color: ...; scrollbar-shadow-color:...; etc; width:801;height:323"" and i don't know why it doesn't work on mozilla and opera... if you need the whole code, tell me.
 
That's probably because scrollbar-face-color, scrollbar-shadow-color etc... are Internet Explorer properties only. That means neither Firefox nor Opera nor any other browser supports them.

But you should at least get a standard scrollbar in its place.


----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
So, what should i do to see that scroll in that colors the other two browsers??
 
You can't. well maybe using some javascript. But as different browsers render scrollbars differently its hard to say if it will work across all browsers.

In any case if you want to go the Javascript route, try the Javascript forum for help: forum216

----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
OK, but if i don't give them any color or somthning like this??? Just the auto code, the width and height???
Will it work?
 
As I said, the browsers that don't support those proerties, should simply render a standard scrollbar.

Also i forgot to mention, you need to give your dimensions units. so width:801;height:323 should be either width:801[red]px[/red]; height:323[red]px[/red]; ...
or maybe width:801em;height:323em;

It can be px, or % or em's but they need units.





----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
I wrote them with "px", that is good. But I need a scroll bar inside my site (like a frame with scroll) and i need it fast. How could i make it to work in opera and firefox??
 
This will work in every browser:
Code:
<div style="width: 100px; height: 100px; overflow: auto;">Lots and lots of content.</div>
If you want the scrollbars to be present at all times, use [tt]overflow: scroll;[/tt] instead.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top