CSS TEXT STYLE SHEET





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

12
Date Submitted Mon. Oct. 30th, 2006 2:23 PM
Revision 1
Beginner Mattkins
Tags CSS | DHTML | JavaScript
Comments 3 comments
Allows you to hide all elements on an HTML page by their tag name. Extremely handy in getting around the "Windowless Elements" problem in IE, which is a bug that puts certain elements, most commonly select boxes, on top of any other element, no matter what. As you can imagine, this causes real problems with DHTML drop-down menus and such like. This is the simplest and quickest fix I've come up with, I simply set this function to run alongside the drop-down and all of the select tags vanish before a menu drops, then I run the show function when the menu retracts.
10
Date Submitted Tue. Dec. 5th, 2006 2:15 PM
Revision 1
Scripter Casper42
Tags ASPX | CSharp | CSS | JavaScript
Comments 3 comments
This snippet allows an aspx page (c#) to accept URL parameters to allow styles or script to be dynamically appended to the rendered page.

I wrote this simple snippet to allow one of our vendors to accept a style override so that their application would morph into something more closely resembling our own portal application. Please see screenshots for clarification.

Original Vendor Application

Vendor Application with Style Override via URL
10
Date Submitted Sat. Mar. 25th, 2006 9:32 PM
Revision 1
Beginner baldo
Tags Calendar | CSS | definition | HTML | List | xhml
Comments 3 comments
this is a css to style a definition list to get a calendar list type.

See the final render.
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.
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.
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
6
Date Submitted Tue. Feb. 28th, 2006 5:42 AM
Revision 1
Scripter TimYates
Tags CSS | Element | JavaScript | visibility
Comments 9 comments
Toggles the visibility of an HTML element. Should be part of everyone's javascript toolkit
6
Date Submitted Mon. Nov. 6th, 2006 9:22 AM
Revision 1
Scripter Casper42
Tags Class | CSS | Style
Comments 5 comments
This function sets a particular style for an element based on it's class