Membership is FREE – with unlimited access to all features, tools, and discussions. Premium accounts get benefits like banner ads and newsletter exposure. ✅ Signature links are now free for all. 🚫 No AI-generated (LLM) posts allowed. Share your own thoughts and experience — accounts may be terminated for violations.

msie doesn't like my css - help needed!

Status
Not open for further replies.

wwww

Level 4
Legacy Platinum Member
Joined
May 21, 2002
Messages
245
Reaction score
0
I created a website with php and css, which displays perfectly in Mozilla, but does not in Internet Explorer.

The problem are the following tags, which are just being ignored by msie6, even if they run perfectly in my mozilla.

_____________________________
PHP file:
<titel>Willkommen!</titel>
<p><text>blablablahhh</text></p>

____________________________
the "titel" and "text" tags are defined in my css file like this:

titel { font-family: verdana, sans-serif, arial; font-size: 10pt; color: #ff0000; font-weight: bolder}

text { font-family: verdana, sans-serif, arial; font-size: 9pt; color: #009933}
____________________________

That's the correct way of using that css function, isn't it?

Is anyone out there who has an idea or experience with that kind of problem?

Thanks a lot! :)
 

peter

Level 9
Legacy Exclusive Member
Joined
Oct 18, 2002
Messages
3,491
Reaction score
17
no sorry, that is incorrect.

you use:

<span class="titel">Hello</span>
and

<span class="text">Icehole has the best names</span>
 

RMF

Level 8
Legacy Platinum Member
Joined
Sep 9, 2002
Messages
1,437
Reaction score
0
I haven't worked with php, but this is what I do in html.

The CSS file could have this:

#test1 { font-family: arial, verdana; font-size: 9pt; color: #cccccc; text-decoration:none; }

Then to use that in html, I would do this:

<div id="test1">This is a test</div>

Hope that helps.

RMF
 

wwww

Level 4
Legacy Platinum Member
Joined
May 21, 2002
Messages
245
Reaction score
0
Hmm, looks like my tutorial at w3schools.com wasn't that great.

However, it works now, thanks for your help guys! :)
 

websitedeveloper

DNF Regular
Legacy Exclusive Member
Joined
Apr 14, 2003
Messages
471
Reaction score
0
hmmm, "titel" is spelled wrong, it's title!
So if the page's <!DOCTYPE> is "EN" then that may be why it doesn't work.
 

peter

Level 9
Legacy Exclusive Member
Joined
Oct 18, 2002
Messages
3,491
Reaction score
17
lol

That doesn't matter, it's just the name of a class
 

wwww

Level 4
Legacy Platinum Member
Joined
May 21, 2002
Messages
245
Reaction score
0
Originally posted by sandra
hmmm, "titel" is spelled wrong, it's title!
So if the page's <!DOCTYPE> is "EN" then that may be why it doesn't work.

This is a custom tag I made in css...titel is german for title.

anyway, it works now :)
 

hellstrom

Level 5
Legacy Platinum Member
Joined
Oct 18, 2002
Messages
410
Reaction score
0
Originally posted by wwww


This is a custom tag I made in css...titel is german for title.
It's titel in Swedish too :cool:
 
Status
Not open for further replies.

Who has viewed this thread (Total: 1) View details

Who has watched this thread (Total: 1) View details

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Members Online

Premium Members

Upcoming events

Latest Listings

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators

Top Bottom