Email conversation
From | Sergei |
To | Me |
Subject | Pure CSS Menu |
Date | 21 April 2005 09:58 |
Hi,
First of all my compliments on the menu's, I fell in love with it simply
because its CSS and not a big Java menu.
I've been playing with the code and comprehend all of it except one thing.
You place the CSS code inside the page. I on the other hand use linking a
stylesheet. How do I put the CSS code in a CSS file and still make it work?
And then I mean the <!--[if gte IE 5]> part. I myself use FF but most of my
users are IE users.
I am testing at [test URL]
Thank you in advance,
Sergei
From | Me |
To | Sergei |
Subject | Re: Pure CSS Menu |
Date | 21 April 2005 10:31 |
Sergei,
> First of all my compliments on the menu's, I fell in love with it simply
> because its CSS and not a big Java menu.
thankyou :)
> How do I put the CSS code in a CSS file and still make it work?
The main CSS part goes in a single linked stylesheet. That will be loaded
by all browsers, allowing Opera, Mozilla/Firefox, Safari, and Konqueror to
work.
> And then I mean the <!--[if gte IE 5]> part.
You can also use a linked stylesheet here, but since you do not want any
other browser to load it, it must go in its own stylesheet, and must still
be within conditional comments:
<link rel="stylesheet" type="text/css" href="allbrowsers.css">
<!--[if gte IE 5]>
<link rel="stylesheet" type="text/css" href="iefixes.css">
<![endif]-->
That should be all you need to do.
Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
From | Sergei |
To | Me |
Subject | Re: Pure CSS Menu |
Date | 21 April 2005 10:59 |
Mark,
Thank you for the quick reply :-D
I implemented it as you said and it works smooth so its now running on our
main site [site address]
Oooh, this makes me all tingly. I am working on a new template to make it
CSS compliant, I intend to use this menu style also on a new site I am
making. In case you are into gaming, the beta of our site is running at
[site address] the official domain will be [site address] and I
will also use it at our clan site [site address]
Again thank you very much, I bookmarked your site and will link back.
Regards,
Sergei