Welcome To Snipplr
Everyone's Recent Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This assumes HTML that looks like this:
<pre><code>
<div id="containing_div">
<div id="div_1" style="background-color:red" class="visible_div">
<p>Test Content 1</p&...
2
733
posted 15 years ago by chippper
For cross-browser code--which is not necessarily valid--the [Embedded Media HTML Generator](http://cit.ucsf.edu/embedmedia/step1.php) provides a great starting point.
1
995
posted 15 years ago by wizard04
Easily Modify and Layout html with classes that on the fly create margins
0
897
posted 15 years ago by chrisjlee
I made this class because is was fed up with all those strings with escaped quotes with when building html into an output-string. You could also build a php-version of it.
0
778
posted 15 years ago by leonardreinders
When you can't use firebug to discover cross browser compatibility problems (i.e. internet explorer 6) then what's the fastest way to see the padding and margins?
A quick solution is adding a css debug class to your container. Feel free to change...
0
1262
posted 15 years ago by chrisjlee
This will only work in FF 3.5 and web-kit browsers. (post 06/20/2009)
0
820
posted 15 years ago by adamdecaf
A basic template that sets up a general static site with links to jquery, swfobject and a div container.
1
977
posted 15 years ago by irishspacemonk
http://www.trentmueller.com/blog/search-and-replace-wildcard-characters-in-dreamweaver.html
-and-
http://www.webmasterworld.com/forum46/1288.htm
0
798
posted 15 years ago by rwczippy
Some PHP code that can be used to get formatted HTML containing N number of tweets for a given twitter user.
5
1383
posted 15 years ago by gripnrip
- a javascript for alternate row/column table striping
- supports row hover, column hover and cell hover effects and click events.
demo here:
http://www.frequency-decoder.com/demo/table-actions/
0
918
posted 15 years ago by beneberle
Download all tutorial pages of html format recursively.
Ex: http://www.moraware.com/help/
Get the url of tree frame (left), use it in wget.
Have fun :)
0
899
posted 15 years ago by abhiomkar
Creates a "pill" button with rounded corners; expands with text.
2
794
posted 15 years ago by delibash
Creates a "pill" button with rounded corners; expands with text.
0
631
posted 15 years ago by delibash
## Markup ##
_Using square [ ] brackets for compatibility with Snipplr comment form_
[asp:PlaceHolder ID="StuffHolder" runat="server" ]
<p>Some stuff in here</p>
[/asp:PlaceHolder]
## Code Behind ##
HtmlAttr[] attribu...
1
1381
posted 15 years ago by jasonseney