Profile
Achievement
smoothdzion's Recent SnippetsTagged textmate
- All /
« Prev 1 Next »
I first posted this code on my http://sitefromscratch.com site, but I decided to repost it up here on snipplr.com with some of the most recent modifications I've made. This code validates through W3C Strict XHTML Standards.
14
1987
posted 15 years ago by smoothdzion
When I use the 960 Grid this is the code I use along with a CSS Reset. I really like Blueprint's default HTML Element styles, but I like the grid of 960.gs. This is a mashup of the code.
2
754
posted 15 years ago by smoothdzion
This code will allow you to have a full screen iframe with a header like a lot of sites do when navigating outside their site or featuring templates and things. Reference your CSS however you want. The HTML is necessary how it is, but add any addit...
1
1848
posted 15 years ago by smoothdzion
In order to track links out Google requires you add this snippet of JavaScript to your anchor(a) tag. Replace /G1/example.com with whatever you want to use to identify the link.
1
860
posted 15 years ago by smoothdzion
Reset that I use for all my projects. I've added a class '.ib' at the end to easily add inline-block styling to any element.
1
789
posted 15 years ago by smoothdzion
First value takes empty input values and adds 'Enter Value'.<br>
Second snippet removes 'Enter Value' when input is focused.<br>
Third snippet re-adds 'Enter Value' if the value is left blank.
2
1009
posted 15 years ago by smoothdzion