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 January 12th, 2004, 07:41 AM
chrisFenwick chrisFenwick is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 9 chrisFenwick User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CSS property work in IE but not Mozilla

Hi all

i am using the CSS display property to show/hide selected text on a webpage. The user clicks on a link which then shows hidden text and then clicks on another link to hide the text. This works fine in IE but not in Mozilla.

does anyone know what i can do to make it work in Mozilla ?

atttached is a zip file of my webpage/code

thanx

chris

Reply With Quote
  #2  
Old January 12th, 2004, 07:41 AM
chrisFenwick chrisFenwick is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 9 chrisFenwick User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
oops : forgot to attach
Attached Files
File Type: zip showhidewebpage.zip (2.5 KB, 156 views)

Reply With Quote
  #3  
Old January 12th, 2004, 09:23 AM
Winters Winters is offline
Bad Coder
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Jul 2003
Posts: 1,846 Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level)Winters User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Week 6 Days 12 h 49 m 7 sec
Reputation Power: 188
You have HTML comment tags within the <STYLE> tags. You should be using CSS comment tags, not HTML. That is why is it not working.

/* grey : #808080 orange:#A13F00 */

/* define IDs needed for identifying the text blocks to show/hide */

Reply With Quote
  #4  
Old January 13th, 2004, 01:19 PM
chrisFenwick chrisFenwick is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 9 chrisFenwick User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
PhP

thanx for that. i always thought comment code inside HTML files had to be <1-- --> and that /* */ applied to js code

chris

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS property work in IE but not Mozilla


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 3 hosted by Hostway
Stay green...Green IT