posted May 6, 2008
I’m only going to show you how to style scrollbars because sometimes it helps make a site look better…SOMETIMES. I should tell you right now before you read on any further, styling scrollbars only work on IE, surprisingly enough. I won’t go into it, but there are many other reasons why you shouldn’t spend too much time trying to style scrollbars.
more →
posted May 2, 2008
In today’s tutorial, I will show you how to use PHP to select among different stylesheets that you have for your site. I will still be using Javascript to choose, but it’s not too important in this tutorial.
more →
posted May 1, 2008
I won’t talk about this too much here because this tutorial already exists here.
I just thought I’d bring this way up first before I post the way that I would do it later on.
Basically, the method that the former mentions uses Javascript to create a dynamic page style changer by going through the HTML and finding the <link /> tag.
Initially, there needs to be more than one stylesheet mentioned in <link /> tags by using rel=”alternate” in the non-default stylesheets.Although I don’t like to rely on Javascript too much, this can add for a nice effect since this method doesn’t require the page to be refreshed.
The way that I will show you in a later post uses PHP instead of Javascript to change the stylesheet. My way, unfortunately requires a page refresh.
That’s all for today.
posted April 10, 2008
So what’s so important about the !important directive? Whatever has the !important directive gets priority when rendering the page.
more →