Welcome To Snipplr
Everyone's Recent Snippets Tagged xhtml
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
This plugin will, by default, truncate a block of text down to one line at its current width (if the text block exceeds 1 line). You can also pass in a pixel value and it will truncate it to that width.
0
1117
posted 14 years ago by adamcoulombe
This is the standard template to use in your header.php (WordPress).
2
960
posted 14 years ago by SilverFirefly
The following is a list of any conditional comment you'd probably ever need for targeting any version of IE.
1
792
posted 14 years ago by benwasilewski
There are a lot of 'starters' out there but I wanted one with all the things I use to start a new project. I find it easier to remove lines I don't need than to hunt and peck for each item...this also makes the starter serve as a sort of 'checklist'...
2
1262
posted 15 years ago by mahalie
Do you every wanted to clean and perfectly intent your xhtml document?
1
764
posted 15 years ago by tillkruess
Simple HTML template containing a header, a content area, a moduleposition/sidebar and a footer
1
1086
posted 15 years ago by morvan
no need for Lorem ipsum if you can insert something that makes more sense and even helps you address more HTML elements with the CSS you're about to write.
1
839
posted 15 years ago by iroybot
jQuery is included via the Google AJAX Libraries repository. Dean Edwards' IE7-js is included via it's Google Code hosting URL. Version numbers of both libraries should be checked and updated to latest versions.
_**Note:** While libraries can be r...
0
1232
posted 15 years ago by chrisdpratt
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
892
posted 15 years ago by Arogarth
Easily Modify and Layout html with classes that on the fly create margins
0
792
posted 15 years ago by chrisjlee
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
1110
posted 15 years ago by chrisjlee