IBM developerWorks
           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 August 24th, 2003, 01:00 PM
wallyweezle wallyweezle is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 42 wallyweezle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
CSS Classes not working in Mozilla

Hi, I've been working with a webpage in both IE and Mozilla, and all of a sudden, Mozilla's decided that it's not going to give the properties of classes to the elements that I assign them to. Here's the style section of the page if this helps any:

<style type="text/css">

A {text-decoration: none; font-family: Verdana, Arial, Helvetica; color: #FFFFFF; font-size: 12};
A:link {text-decoration: none; font-family: Verdana, Arial, Helvetica; color: #FFFFFF; font-size: 12};
A:hover {text-decoration: underline; font-family: Verdana, Arial, Helvetica; color: #FFFFFF; font-size: 12};

.HiddenMenu { position: absolute; top: 88; visibility: hidden; background: #CC0000; width: 200;};
.Image {position: absolute;};

</style>

The problem I'm sure is occuring with the HiddenMenu class, but I think it is also happening for the Image class. If anyone has any ideas why this is happening, it would be helpful. Otherwise I'll have to *cringe* copy the style into each individual element, which depletes the purpose of a class in the first place. Thanks,

Eric

Reply With Quote
  #2  
Old August 24th, 2003, 02:56 PM
jharnois's Avatar
jharnois jharnois is offline
mod_dev_shed
Dev Shed God 19th Plane (14000 - 14499 posts)
 
Join Date: Sep 2002
Location: Atlanta, GA
Posts: 14,288 jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level)jharnois User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Week 2 Days 1 h 10 m 39 sec
Reputation Power: 744
You have extraneous semi-colons (;) at the end of each style declaration:
Code:
.foo
  { /* begin style declaration */
  font-size: small;
  } /* end style declaration -- NO SEMI COLON */
If that doesn't solve the problem, you'll need to provide the HTML associated with these classes.
__________________
# Jeremy

Explain your problem instead of asking how to do what you decided was the solution.

Reply With Quote
  #3  
Old August 25th, 2003, 07:37 PM
wallyweezle wallyweezle is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 42 wallyweezle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Wow... It's the small stupid things that make the biggest differences. Thank you very much.

Eric

PS. You know, it makes me wonder why no one in on the Mozilla project has made ammends to this bug. Maybe I'll give them a buzz.

Reply With Quote
  #4  
Old August 25th, 2003, 08:04 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,224 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 34 m 57 sec
Reputation Power: 174
Quote:
Originally posted by wallyweezle
Wow... It's the small stupid things that make the biggest differences. Thank you very much.

Eric

PS. You know, it makes me wonder why no one in on the Mozilla project has made ammends to this bug. Maybe I'll give them a buzz.


Actually, Mozilla is one of the only browsers available that nearly perfectly meets every standard set out by the W3C.

Its Internet Explorer that needs to clean up its CSS support. Email Microsoft, not Mozilla.
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever.
Analyze twice; hack once.
The world's first existential ITIL question: If a change is released into production without a ticket to track it,
was it actually released?


About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect -
Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire


Reply With Quote
  #5  
Old August 25th, 2003, 08:38 PM
Galewind Galewind is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2002
Location: Phoenix
Posts: 42 Galewind User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Quote:
Originally posted by wallyweezle
Wow... It's the small stupid things that make the biggest differences. Thank you very much.

Eric

PS. You know, it makes me wonder why no one in on the Mozilla project has made ammends to this bug. Maybe I'll give them a buzz.

This is not a bug. Now IE allowing bad code, that's a bug.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS Classes not working in 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 1 hosted by Hostway