Welcome To Snipplr
Everyone's Recent Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
Adds a class of hasJS to the html element, can be used for CSS styling.
1
1059
posted 15 years ago by 1man
<p(.+)">
wählt alle p tags
<option>
dies entfernt alle
<option>
<option>
<option>
0
648
posted 15 years ago by nico65
Use of the vCard(hCard) microformat, used to mark up contact details of
people, companies, organisations and places. Includes an download link via X2Vs hcard to vcard-service. Can be styled as a 2-column hcard via CSS (see CSS snippet)
inspired b...
0
972
posted 15 years ago by visualpropaganda
This is the modified GWT HTML host page for your module. As you can see, the only modified element is the path to the GWT bootstrap script, the original declaration was the GWT 1.5 way, the new declaration is the [GWT 1.6 way](http://code.google.com/...
0
610
posted 15 years ago by salvadordiaz
Transform text (eg. from a WYSIWYG) into nicely formatted HTML paragraphs. (Credits: Ludo Magnocavallo's LightPress).
[this is a solid starting point - but a lot of HTML elements are missing]
3
656
posted 15 years ago by iroybot
Refer to [This snipplr](http://snipplr.com/view/13653/css-firstchild-test/), added head and body section, even Firefox won't match first-child
0
885
posted 15 years ago by angusdev
Equalizing Two Column Layout with Full Width Header ~ Fixed Width Content
0
633
posted 15 years ago by hotdiggity
Learn how to create drop caps using CSS and no extra HTML markup in this short tutorial.
1
989
posted 15 years ago by neal_grosskopf
closes opened tags in text piece.
original code slightly modified to supress PHP warnings
NOTE: need to fix the order of closing tags to get standards compliance
0
784
posted 15 years ago by kossmoss
If you need to get the HTML from a Web page to rip it, process it, and/or display it in the way you want, the following function will work for you.
0
1032
posted 15 years ago by blackf0rk
These 4 lines of code can be used to extract and return all links from any page using regex patterns. If links are found, an array is returned, else boolean false is returned.
4
1274
posted 15 years ago by gdvickery