Multilingual Style Snippets


14 July, 2014   

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...

his snippet was created under the inspiration of using the django-multilingual package. Also an additional code is used to solve the problem of saving the many-to-many relations in embedded forms (http://trac.symfony-project.org/ticket/5867#comment:21). The idea is that in all embedded I18n forms appears checkbox "delete" for each...

26 April, 2012   

Code for Table Row Highlight By JavaScript

20 March, 2012   

HTML code example for Style HTML elements

09 November, 2011   

How to set style of borders. here shown an example.

18 October, 2012   

HTML style example code for background color

09 November, 2011   

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.

30 August, 2012   

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.

13 August, 2011   

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.

16 April, 2012   

This CSS code will change link font-size

23 September, 2013   

Method to convert int to float in ObjC

11 February, 2012   

JavaScript Code to change the color of the scroll bar

02 August, 2012   

An example of a horizontal CSS menu

16 October, 2014   

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.