|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
oops : forgot to attach
|
|
#3
|
|||
|
|||
|
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 */ |
|
#4
|
|||
|
|||
|
PhP
thanx for that. i always thought comment code inside HTML files had to be <1-- --> and that /* */ applied to js code chris |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > CSS property work in IE but not Mozilla |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|