buy levitra online
 

Smart Navigations

Apr 27 2007
1 comments
  • Tutorials, CSS, PHP
  • By ensellitis
down a post

On this site, you may notice that when you use one of the links in the sliding navigation, that pages link stays highlighted.

I am going to teach you how to do this easily using CSS and PHP.

First, you are going to need to know if you can use PHP. This can be tested easily, just make a new file and call it test.php, and paste ONLY this into it:

PHP
  1. <?php echo "You can use PHP!"; ?>

Then go to that page, and if you see "You can use PHP!", then you are good to go and can read on. If you don't see that, then get a better host and come back later.


See the rest of this post »

 

Making classes discriminatory

Apr 24 2007
1 comments
  • Tutorials, CSS
  • By ensellitis
Step up down a post

Recently I had around 5 emails, and dozens of PMs asking about how to use the same class name in CSS, but having it effect objects in different ways. I also had a few about how to use more than one class for an item...

So let's kill these questions for good.

I will start with changing how a class looks depending on the element...

Start with an example? Sure...

  1. This text is green
  2. This text is NOT green


See the rest of this post »