Attribute Selectors





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

6
Date Submitted Mon. Nov. 6th, 2006 9:24 AM
Revision 1
Scripter Casper42
Tags CSS | Style
Comments 1 comments
This function will set the style of an element by it's ID
6
Date Submitted Wed. Apr. 4th, 2007 9:12 AM
Revision 1
Helper ushi
Tags CSS | Menu | Navigation
Comments 2 comments
This is a very simple navigation.

Tested on: FF, IE6+, Safari
6
Date Submitted Tue. Oct. 11th, 2005 1:20 PM
Revision 1
Beginner jag5311
Tags Centered | CSS | Fixed
Comments 0 comments
A Simple Centered Fixed Width Layout
6
Date Submitted Mon. Jun. 5th, 2006 8:53 PM
Revision 1
Coder mattrmiller
Tags !important | CSS | IE | Ignore
Comments 1 comments
Normally in CSS whichever rule is specified last takes precedence. However if you use !important after a command then this CSS command will take precedence regardless of what appears after it.
7
Date Submitted Mon. Oct. 10th, 2005 9:49 PM
Revision 1
Beginner jag5311
Tags "Square One" | CSS
Comments 1 comments
Set Everything to Square One
7
Date Submitted Wed. Oct. 12th, 2005 9:06 AM
Revision 1
Beginner bruno
Tags "Three Column" | CSS | Layout
Comments 1 comments
Three Column 90% Layout
8
Date Submitted Thu. Dec. 7th, 2006 9:27 AM
Revision 1
Scripter Casper42
Tags CSS | MySpace
Comments 14 comments
This one may get me in trouble or kicked off MySpace altogether, but I thought it would be a fun bit of CSS magic to post.

As some of you may already know, MySpace does a REALLY good job of preventing images, script and some other tags from being used to customize your space. They have even gone to the extent of using tables without ID's to do the layout.

Pretty ingenious, allowing some customization, but still keeping those annoying ads for single women available to me and my youth groups kids, my family, etc..

Well no more - I want my friends to visit My Site, not just MySpace - so I have a clever method of getting them to go there, instead of posting comments on MySpace...

Check out my space to see this code in action!
www.myspace.com/casper619
8
Date Submitted Wed. Feb. 21st, 2007 8:53 AM
Revision 1
Beginner mikedowson
Tags CSS | JavaScript
Comments 2 comments
An easy way to hide and show div's using Javascript and CSS.

Basically just a slight variation on this script by Real Gagnon.
9
Date Submitted Fri. Feb. 23rd, 2007 1:16 AM
Revision 1
Scripter Casper42
Tags CSS | JavaScript
Comments 2 comments
There seems to be so many hide/show scripts out there, so here's the functions I wrote and use on a regular basis - there are 7 functions, hide, show and toggle by id or class - and the getElementByClass function that does not exist as a built in Javascript function...

This is in response to the flurry of visibility scripts that just don't have all the pieces needed to make them totally useful.
9
Date Submitted Thu. Aug. 24th, 2006 8:31 AM
Revision 1
Helper axsaxs
Tags Attribute | CSharp | read-only
Comments 0 comments
Set the read-only attribute of a file to true or false.