Welcome To Snipplr
Everyone's Recent Snippets Tagged html
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
You can use this as a starting point when integrating XStandard in your CMS.
There are 3 licensing options for XStandard: free Lite Version, Open Source CMS Partner License & Pro Version. (btw: XStandard produces 100% valid markup against XHTML 1.1...
1
1284
posted 16 years ago by iroybot
Learn how to style the HTML code element with CSS using CSS counters. CSS counters are the CSS equivalent to variables. In my tutorial I use CSS counters to emulate line numbers for my code block.
2
1697
posted 16 years ago by neal_grosskopf
In the content property, the first number is the number of seconds until the refresh, the URL is where the redirect will go.
2
1664
posted 16 years ago by chippper
A simple form with rounded corners, and hopefully not too much markup. You'll need some kind of graphic for the corners of course - I used 20px corners for this.
It's a bit rough, would love to know what some other people think.
1
1524
posted 16 years ago by superdeluxesam
A tutorial showing you how to give your images some style using only CSS rather than using Photoshop to give images a border/frame.
1
1626
posted 16 years ago by neal_grosskopf
I have created this thing over the course of several attempts.
1
1231
posted 16 years ago by trdunsworth
Again, as part of the DCODR development I had to find a decent way to get the selection HTML
0
2334
posted 16 years ago by optimal
There's been a popular trend to use JavaScript to add target="_blank" to anchors with rel="external". So in the name of making everything in my site Prototype based I worked out a script to do just that.
2
1490
posted 16 years ago by fruehjahr
Fortunately there are a couple of workarounds which are also explained in this article at Position Is Everything:
1
933
posted 16 years ago by dvdrtrgn
In Firefox and Internet Explorer, the table caption element will be a pixel narrower than in other browsers. Find out how to fix this annoying problem.
1
1233
posted 16 years ago by neal_grosskopf
PHP
Convert incorrectly-formatted UTF-8 strings of HTML into correctly-formatted UTF-8 strings of plain text.
Useful for taking incorrectly-formatted UTF-8 strings containing HTML data, and converting them to correctly-formatted UTF-8 plain text.
A handy tool for displaying HTML stored in a database.
4
2659
posted 16 years ago by X3Maverick