Welcome To Snipplr
Everyone's Recent Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
[Credit - Sam Allen, Dot Net Perls](http://dotnetperls.com/remove-html-tags)
2
1211
posted 15 years ago by jasonseney
Summarised snippet of Natbat's article: http://natbat.net/2009/Jun/10/styling-buttons-as-links/
Any link that that initiates an action, rather than just changing a page should semantically be a form with a submit button not a l ink. However you ca...
3
1272
posted 15 years ago by PeteW
Code snippets to use as a template for consistent HTML page generation
0
646
posted 15 years ago by ff1959
In Internet Explorer 6 (IE6) there is a bug to make div absolute positioned over select. The select will show over the div.
One solution is to place a empty iframe behind the div with same size.
The source below is a div as container to positione...
0
896
posted 15 years ago by Arogarth
Make sure you change the variable v_ga_track near the end of the script.
0
730
posted 15 years ago by chrisjlee
As with screen style sheets, you use the <link> element to define the print style sheet your Web page should use:
<link>
The only difference between this link element and the link to your screen style sheet is the attribute:
media="print"
Most...
0
773
posted 15 years ago by thesmu
This is a raw example of the nested lists structure with inherited numeration.
0
772
posted 15 years ago by frujo
This is a really useful techniques for preloading images on your website. Just place this code after the body tag in the CSS file. Everytime you refer to this image in your CSS file the image will be loaded from cache.
1
771
posted 15 years ago by SunilTee
This function is very helpfull when you need to put some data (that was gotten from database) to HTML table. You can choose vertical or horizontal types.
**Horizontal type:**
| 1 | 2 | 3 |
| 4 | 5 | 6 |
| 7 | 8 | 9 |
**Vertical type:**...
1
1306
posted 15 years ago by kirik
Converts a given RGB colour value such as that provided by the imagecolorat() function into an html compliant colour.
1
771
posted 15 years ago by h4rrisonjames
Every now and then I need a form select list of all provinces and states... I figured I'm not the only one, so here you go, hope it helps!
1
1963
posted 15 years ago by ecardoza