Stylesheet is not recognized by Internet Explorer on Mac

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
tastar

Stylesheet is not recognized by Internet Explorer on Mac

Post by tastar »

Script URL: www.tastarsupply.com/gbook
Version of script: 1.33
Version of PHP: 4.3.10

Have you searched THIS FORUM for your problem: Yes
If so, what terms did you try: Internet Explorer, Stylesheet, etc.

Write your message below:

I am implementing guestbook - seems to be very nice. It works well in FireFox and Safari (although I have some wierd table centering issues) on a Mac in OS X, but in IE 5.2 (latest version), the stylesheet isn't being recognized. All text is the default font, although somehow it is picking a default green that I am using and red hovers. But, the text in the left column should be white, 10px with black hovers. I think all of the text that is missing styles is in header.txt

Is there some coding change that I need to make to get IE to see the stylesheet? I haven't checked it on a PC, so who knows what will happen there!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

All the CSS included is standard CSS with standard inclusion link so I have no idea why MAC would have problems with it?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Hello tastar,

I have looked into the code of your page and think the error is in your coding.
You use a <nss> tag with a style class for styling your text. But nss is not a standard html tag.
Try replacing <nss class="..."> .... </nss> with <span class="..."> .... </span>.

Greetings,
Henrie

Edit:
And don't forget to change the styles in the style.css file from nss. to span.
Last edited by Henrie on Fri Oct 28, 2005 2:59 pm, edited 1 time in total.
tastar

FIx for Internet Explorer Mac Problem

Post by tastar »

Thank you guys.

As Henrie pointed out, it was not a Mac problem but a coding problem. I had the css messed up by not using a standard html tag. Once I fixed it according to Henrie's suggestion, everything fell into place. I was lucky to get things to display correctly in Firefox and Safari - in fact, it doesn't seem like they should have worked either. But, in any case, doing it correctly fixed the problem.

Again, than you very much for the fast response.

Tony from tastar
Post Reply