CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 8th, 2000, 02:04 PM
Ajayvinayak Ajayvinayak is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: New York ,USA
Posts: 4 Ajayvinayak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi everybody,

In Netscape, scrollbar won't work ,if you are using css.
I tried writing lot of javascript code,but I felt easy solution,for this is just create empty span at the end of code,
like this one ,that's what I m using

ex code:
<span id="scrollgenerator" style="position:relative;top:100%;left:100%">
</span>

this works for me,and I hope this 'll work for everybody else also.
I m working on javascript for this,so that ,It won't show extra size of scrollbar.

Reply With Quote
  #2  
Old December 11th, 2000, 05:38 AM
RedFox RedFox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 45 RedFox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by Ajayvinayak:
Hi everybody,

In Netscape, scrollbar won't work ,if you are using css.
[/quote]

Really? I don't seem to have any problems. Let us see the code that won't work plz.

Reply With Quote
  #3  
Old December 11th, 2000, 10:26 AM
Ajayvinayak Ajayvinayak is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: New York ,USA
Posts: 4 Ajayvinayak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
add:

I forgot to mention,if you are using css alongwith dynamically generated layers,with javascript(DHTML).
I felt like ,that I 'll recieve,a message from someone,who is facing such a problem,If you 'll take a look ,around on internet.You 'll see lot of developer ,talking about this bug.
I was thinking ,this place is for sharing ideas,between Developers.Mr RedFox(I wonder),if that is your real name,I don't have that much of time,and you seems to be a student,So I can 't just waste my time proving myself,right.Yes I want to share my ideas,As some time ,somebody(Developer)is desparately looking for solution,this solution is ,just right for him.If you just want to have taste of that problem(I really wonder,if you have that much of time,arguing,experimenting).

I 'll say, try to create two or three dynamically layers one over,another,and try to position those layer with (position:absolute).
,along with css ,that 'll be enough.

Thanks.

With warm wishes.



[This message has been edited by Ajayvinayak (edited December 11, 2000).]

Reply With Quote
  #4  
Old December 12th, 2000, 02:12 AM
RedFox RedFox is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 45 RedFox User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Thanks for the additional info, although there is no need to get personal here. As you seem very interested my person though, I can tell you that my RL name is NOT RedFox, and I work in web-based application developement.

Yes, this Forum is for solving problems and sharing ideas, not for anyone to waste time (except maybe the people trying to help you, depending on the way you look at it). For obvious reasons a certein level of information is needed to approach a given problem. I'm sorry if me asking for that offended you.

Seeing that I don't work with dynamically generated Layers in combination with DHTML and CSS I'm not sure if I'll be able to help you, but I'll have a look into it.

Reply With Quote
  #5  
Old December 12th, 2000, 09:50 AM
Ajayvinayak Ajayvinayak is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2000
Location: New York ,USA
Posts: 4 Ajayvinayak User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hi there,

That's good,if you work in web-based application developement.


What,I 've posted is not a problem,it's a SOLUTION for everyone,if you look at it carefully.You need to put this tag at the end of Dynamically generated layer.


Alternatively,you can make this empty tag visible at the end,after generating layers.


I am working on cross-browser ,lib for generating dynamic layers,and this was a major problem,if displayed content is too long,then browser hide that content,and scrollbar does not show up at all,and we can not view the full content.

So the WORK AROUND is to, put this empty tag at end.

Thanks.



[This message has been edited by Ajayvinayak (edited December 12, 2000).]

Reply With Quote
  #6  
Old June 7th, 2001, 01:05 PM
castricone7 castricone7 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Denver
Posts: 3 castricone7 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thumbs up Thanks for the netscape scrolling solution

I had the same problem using <div> tags for positioning several page elements in my template.html file, which was displayed by A LOT of php pages in my global corporate intranet. This is a strange solution, but it works. I just want to say thanks.

By the way, I really don't like developing for Netscape, but people seem to like browsing with it.

Reply With Quote
  #7  
Old June 7th, 2001, 01:20 PM
firelegend firelegend is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Location: georgia
Posts: 33 firelegend User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
netscape which?? I have found problems getting a code that works in netscape 6 and 4.7 ... I dunno what ya mean to do with the span thingy... i am having problems with freaki netscape and scrollbars and scrollers.. bleh..

Reply With Quote
  #8  
Old June 7th, 2001, 01:31 PM
castricone7 castricone7 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Denver
Posts: 3 castricone7 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
We use Netscape 4.7 and I.E. 5. Netscape 6 is not supported by my team, because it sucks and none of my <quite extensive> javascript menus work with it.

In my template.html file, I have several <div> tags that set up my header, menus, and page content area. I have an open <div> tag at the end of the file, which sets the content location, that looks like this:

<div style="position: absolute; left : 180px ; top : 150px; width: 600; z-index: 1; font-family : Arial, Helvetica, Sans-serif ; font-size : 12px ;">

...the file ends here with no more code.

In my php files, which are all unique and which reference the template.html file, I close the tag at the end of each file:

</div>
</body>
</html>

Netscape 4.7 can't handle what I'm doing, so it doesn't bother to display content that exceeds the browser window size and doesn't display scroll bars. So, what our friend here has done is to add a <span></span> tag at the end of the file. I don't know why this works, but it does. Here is what the end of my template.html file looks like now:

<span id="scrollgenerator" style="position:relative;top:100%;left:100%"></span>

<div style="position: absolute; left : 180px ; top : 150px; width: 600; z-index: 1; font-family : Arial, Helvetica, Sans-serif ; font-size : 12px ;">

I hope this helps to clarify the issue.

Reply With Quote
  #9  
Old June 28th, 2001, 03:20 AM
Miska's Avatar
Miska Miska is offline
Madden Maniac
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jun 2001
Location: Finland
Posts: 519 Miska User rank is Lance Corporal (50 - 100 Reputation Level)Miska User rank is Lance Corporal (50 - 100 Reputation Level)Miska User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: 1 Day 3 h 47 m 50 sec
Reputation Power: 13
Talking Excellent solution

Thanx mate for an excellent solution for the scrollbar problem... I've got dynamic web-pages, which are growing all the time and I want them to work with NN 4.x also. This problem has bugged me for 2 weeks. And finally an answer...

I can't thank enough...

Miska

Reply With Quote
  #10  
Old June 28th, 2001, 09:04 AM
castricone7 castricone7 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2001
Location: Denver
Posts: 3 castricone7 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation More about netscape scrolling...

FYI, I have had to change the 'top:100%' code to a higher percentage, based on the actual length of my longest screen (which only shows all content when I set this span tag to 'top:220%'). Just thought I'd give you a heads up, in case you encounter the same <very strange> problem.

Reply With Quote
  #11  
Old July 24th, 2001, 01:04 PM
Neur0n Neur0n is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 2 Neur0n User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Exclamation Another solution without <span>

I tried the SPAN tag and got somewhat odd results since I was using several layers in all sorts of positions on the page. The style in the SPAN tag gave me the idea to try using position:relative in the style for my layers. I left the absolute positioning (top, left, width, height) in the style for my layers and for some reason, the layers kept their absolute position on the page, but the scrollbars appeared in Netscape 4.77! Those wacko Netscape programmers...

Reply With Quote
  #12  
Old July 24th, 2001, 01:22 PM
Nemi Nemi is offline
Clueless llama
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2001
Location: Lincoln, NE. USA
Posts: 2,353 Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 12 h 39 m 5 sec
Reputation Power: 116
I dont get it. You put the Span IN the Div? Where does it go exactly. I tried putting it in my div and it didn't help.

Reply With Quote
  #13  
Old July 24th, 2001, 03:28 PM
Neur0n Neur0n is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 2 Neur0n User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I didn't use the SPAN tag at all, just set the DIV tags to be relative instead of absolute. I also left the absolute positioning in the DIV tag, as follows:

Code:
<div id="lyr_references" style="position:relative; left:200; top:486; width:540; z-index:1">

Reply With Quote
  #14  
Old July 24th, 2001, 09:06 PM
Nemi Nemi is offline
Clueless llama
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Feb 2001
Location: Lincoln, NE. USA
Posts: 2,353 Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level)Nemi User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 2 Days 12 h 39 m 5 sec
Reputation Power: 116
I tried that too Neur0n, and though it still displayed it absolutely, it did not display with the scroll bars. Mine is generated by a javascript object and has many other style attributes that may be affecting it somehow. I will test it some more with the relative postioning.

However, if anyone can post a code example with the span that works I would be forever grateful.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > Solution for displaying scrollbar in Netscape ,when using css

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap