CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
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 April 9th, 2004, 08:15 PM
edacsac edacsac is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 284 edacsac User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 Days 4 m 43 sec
Reputation Power: 5
CSS: moz-opacity problem with scrolling div

Hi all,
Normally I'm faithful to table layout in my page design, but try to stay aware of how CSS is comming along at least as far as browser compatibility issues go. I've been wanting to use CSS for its transperancy abilities, and with my first trial page I've sadly run into same reasons I've steered away from CSS for so long.

Hopefully all is not lost, and I may find help here. My problem is with a div that has a background image, and another div inside that containing the text which uses semi tranperant background color and "overflow : auto" to set the text apart from the background and allow scrolling. In IE, everything looks beautiful, and I wondered for a moment why I stayed away form CSS for so long. Then I tried Mozilla...

Scrolling the text in the div is painfully slow and unresponsive to the point its almost impossible to move where you want in the text. The opaque background changes in color once you move down and leaves a seperation between the two colors or opacity, and generally works poorly.

Here is the link, and the source is small:

http://coinmonger.com/now.html

Hopefully this is due to my lack of expertise using CSS, and a work-around is available.

Currently I've downsized the background image hoping it was image size that was causing the problem (as this is just a quick test to see if I could do this), but no change. The page even loads slower using the "moz-opacity" attribute.

Any input is appreciated!

Reply With Quote
  #2  
Old April 10th, 2004, 02:05 PM
kicken's Avatar
kicken kicken is offline
Wiser? Not exactly.
Dev Shed Specialist (4000 - 4499 posts)
 
Join Date: May 2001
Location: Ft Myers, FL
Posts: 4,174 kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)kicken User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 117001 Folding Title: Super Ultimate Folder - Level 1Folding Points: 117001 Folding Title: Super Ultimate Folder - Level 1Folding Points: 117001 Folding Title: Super Ultimate Folder - Level 1Folding Points: 117001 Folding Title: Super Ultimate Folder - Level 1Folding Points: 117001 Folding Title: Super Ultimate Folder - Level 1Folding Points: 117001 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 1 Month 3 Weeks 38 m 49 sec
Reputation Power: 563
Send a message via ICQ to kicken Send a message via AIM to kicken Send a message via MSN to kicken
Well, I managed to fix it up abit. I think mozilla has a rendering bug doing it the way you had it. Doesn't look like mozilla is re-drawing the background when you scroll. If you hightlight the text then things get somewhat fixed but not completely. I added another div for the background though, and it seems to work fine. I took the opacity off the layer with the text as it seems to help speed up scrolling. Although scrolling wasn't very slow for me to begin with. If you want, just add it back in and see how well it works for you.

http://kicken.mine.nu:8008/extras/now.html
__________________
Spidermonkey Tutorial
http://wiser.aoeex.com/ - Long term project (offline due to evil crawlers and lack of content)
http://www.aoeex.com/gmap.php - Put yourself on the map (Now Updated!)

Reply With Quote
  #3  
Old April 10th, 2004, 09:51 PM
edacsac edacsac is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 284 edacsac User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 Days 4 m 43 sec
Reputation Power: 5
Thank you very much

Thanks Kicken!

I was getting quite frustrated for awhile. I will leave it just the way you have it. It makes more sense witht he extra div. I have alot to learn about CSS!

Thanks again!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS: moz-opacity problem with scrolling div


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 | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT