Floating Elements with CSS

Floating elements used to be a huge deal when I started developing. What I mean by floating is that when you scroll down the page, the element scrolls with you, always maintaining the same position on your screen. The issue back in the day was that the scripts people offered to float elements down the page were choppy, laggy, and generally not pleasing to look at. Yes the content scrolled with you down the page, but it wasn’t a nice...

Read More

Targetting CSS styles for Mozilla Firefox Only

Targetting CSS styles for Mozilla Firefox Only

Every now and again you need to taget a specific browser with a style because your main style just doesn’t perform right. Usually it’s Internet Explorer acting up for me, but this time it was Firefox. For some reason, I had a text field that was changing sizes 1 pixel smaller on Firefox than it did on every other browser on my hover event. Therefore I needed to change the border for only Firefox. You could create a specific...

Read More

Styling Checkboxes and Radio buttons with CSS

If you’re trying to use a style sheet and are wondering why you can’t change say the border around a checkbox the same way you’re changing the border around text boxes, don’t fear, because it’s not the same syntax. Even though they’re inputs, if you want to target them specifically, you need to use the syntax below. Using that, you can target any of the sytle options you may want to...

Read More