When Should You Use a Reset CSS Sheet
Last Updated on Saturday, 27 April 2013 09:22 Written by David Bauernschmidt Tuesday, 30 April 2013 12:00
It is amazing to me how many times people build web sites and start to create the style sheets and such only to find out that something quirky happens depending upon the browser you are using. What if I told you that it might not have anything to do with your styles?
Learn MoreHow to Make Dropdown Menu for Silverstripe CMS Theme
Last Updated on Sunday, 31 March 2013 04:33 Written by Teet Bergmann Tuesday, 2 April 2013 12:00
1. In your Navigation.ss file add following code (navigation file must be in folder themes/yourtheme-name/templates/Includes):
Learn MoreHow to Center Elements with CSS
Last Updated on Monday, 14 January 2013 12:00 Written by Richi González Monday, 14 January 2013 12:00
Hello,
Having align=”center” deprecated, elements centering is achieved with CSS. There are a couple of ways of doing it, yet I’ll show you two of them. If the first one doesn’t work, the second one will for sure do.
Let’s say we want to have a centered div:
Learn MoreHow to Import a CSS File From Another CSS File
Last Updated on Monday, 7 January 2013 12:00 Written by Richi González Monday, 7 January 2013 12:00
Hello,
Today, I will tell you how to call a CSS file from another CSS file. To make it clearer, we will call fileB.css from fileA.css, which both are in the same directory. This comes handy when you want to keep your styling rules organized.
In fileA.css, let’s imagine we have this code:
Learn MoreHow To Dynamically Change CSS Properties of Elements with jQuery
Last Updated on Thursday, 3 January 2013 12:00 Written by Richi González Thursday, 3 January 2013 12:00
Hello,
Did you know you can change elements’ CSS properties dynamically with jQuery? Well, yeah! You probably want to change an element’s opacity when a button is clicked to make it look like it is loading, for example. There are lots of uses this function can have, you set your own limits!
Learn More
Recent Comments