A few points of interest: * The HREF links use JavaScript to set a browser cookie named "style". * Since we are only setting one cookie and it's name is "style", we can read its value using "document.cookie.charAt(6)". * If no cookie is set, "StyleFile" will evaluate to "style.css". * The...
There are two methods for creating separate styles depending on the media type. both example given below:
Code for Table Row Highlight By JavaScript
HTML code example for Style HTML elements
How to set style of borders. here shown an example.
HTML style example code for background color
Here an example how to set the width of the four borders
HTML Code example for Style font, color, and size
How to dynamically update your Snippets
Hides iframe until fully loaded.
CSS code example for stylish submit buttons
A bug seems to occur when you add a negative margin to a list item in IE6. The background image applied to the list item gets repeated randomly and generally messes up. Add this little gem to your head to fix the problem. Remember to change the id tag to your own.
If you're looking for a way to spice up your web site, this JavaScript tip may be just what you're looking for. You can use JavaScript to highlight an image when you place your mouse over it. This JavaScript tip provides a great way to highlight your navigational buttons or whatever you'd like.
This CSS code will change link font-size
Method to convert int to float in ObjC
JavaScript Code to change the color of the scroll bar
An example of a horizontal CSS menu
When hover your mouse over a link, a small box containing contents from another page comes up. This will show the iframe with scrollbars if content (target page) is too big.
This example code showing how to use PHP Functions to clean User Input
The code includes the CSS which you can add to your stylesheet and please note a class has been added to the table tag.