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 February 8th, 2004, 04:20 PM
CrazyClimber CrazyClimber is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Belgium
Posts: 16 CrazyClimber User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 53 sec
Reputation Power: 0
css in netscape

I have made some pages with css styling.

This works perfect with IE, but he just ignores the css styling in netscape.

An example, I made an tumbnail from a picture, set the size in css, works perfect in IE, but he ignores it in netscape.

See example
http://www.bvkb.be/BVKB/Sportklimme...finale/test.php

Can anywhone help me how this comes.
On another page he takes some of the css, en some not.


Thanks

Reply With Quote
  #2  
Old February 8th, 2004, 07: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,225 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 44 m 44 sec
Reputation Power: 174
moved to css forum from php forum
__________________
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
  #3  
Old February 8th, 2004, 07:18 PM
Akh's Avatar
Akh Akh is offline
|<.+#f@#+.&.|
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2002
Location: norway
Posts: 2,685 Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level)Akh User rank is Colonel (50000 - 60000 Reputation Level) 
Time spent in forums: 4 Weeks 6 h 6 m 4 sec
Reputation Power: 594
don't put html tags in the css file.
so remove the style-tags and html-comment tags

to write comments in css use:
/* this is a comment */

Reply With Quote
  #4  
Old February 9th, 2004, 12:52 AM
CrazyClimber CrazyClimber is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Belgium
Posts: 16 CrazyClimber User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 53 sec
Reputation Power: 0
This is the class, in an external file

.tumbnail {
border: thin solid #FFFF00;
height: 80px;
width: auto;
text-decoration: none;
}

This is the code used to show the tumbnails.
In Netscape he doesn't display this.

<a href="#" onClick="showPicture('<?=$foto?>')"><img src="<?=$foto?>" class="tumbnail"></a>

Don't think I used html tags, I think it's something wrong with the a href. Do I have to put the class there????

Any help would be great.

Thanks

Reply With Quote
  #5  
Old February 9th, 2004, 01:08 AM
CrazyClimber CrazyClimber is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Belgium
Posts: 16 CrazyClimber User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 53 sec
Reputation Power: 0
I found the solution.

I make the external css file in dreamweaver, and for one or other reason he doesn't accept the first style in dreamweaver itself.
I mean that when you apply a class he gives a list of the availeble classes, and the first doesn't show in the list.
With IE doesn't this seem to matter, in netscape it does.
So i made the first one to be an dummy, and than it works.
The css file looks like

<style type="text/css">
<!--
.leeg {
}
.tumbnail {
border: thin solid #FFFF00;
height: 80px;
width: auto;
text-decoration: none;
}
-->
</style>

So he doesn't list the leeg, but all the rest is no prob.
Anyone an idee why this is?????

Greetz

Reply With Quote
  #6  
Old February 9th, 2004, 02:12 AM
kk5st's Avatar
kk5st kk5st is offline
Thanks Johnny Hart (BC) R.I.P.
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: May 2003
Location: Dallas
Posts: 4,585 kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level)kk5st User rank is Brigadier General (60000 - 70000 Reputation Level) 
Time spent in forums: 1 Month 2 Days 16 h 15 m 18 sec
Reputation Power: 662
Code:
<style type="text/css">
<!--
.leeg {
}
.tumbnail {
border: thin solid #FFFF00;
height: 80px;
width: auto;
text-decoration: none;
}
-->
</style>
as Akh said, have no html tags, including html comment tags in the CSS file. Delete the lines colored red.

cheers,

gary
__________________
There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

My html and css workshop, demos and tutorials.
Ask a better question, get a better answer.

Reply With Quote
  #7  
Old February 9th, 2004, 02:29 AM
CrazyClimber CrazyClimber is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Belgium
Posts: 16 CrazyClimber User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 53 sec
Reputation Power: 0
This was indeed the problem.
A little bit a fault in dreamweaver, because I asked new, and than css style sheet (or something like it).
An than he gives a layout with the red (deleted) part in it.

Stranges, but what the heck, it all works fine now.


Thanks for the help


Fluppe

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > css in netscape


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