-
Links
-
Recent Posts
Categories
Category Archives: html
Drop shadow with CSS for all web browsers
Drop shadow with CSS for all web browsers Very simple and effective css snippet presented below. .shadow { -moz-box-shadow: 3px 3px 4px #000; -webkit-box-shadow: 3px 3px 4px #000; box-shadow: 3px 3px 4px #000; /* For IE 8 */ -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, … Continue reading
Example of using onclick() and confirm() functions
<input type="submit" name="wp_simple_sitemap_remove" value="Delete Settings" onclick="return confirm('Remove WP Simple Sitemap settings from database? (cannot be undone)')" /> Similar method might be applied to , and other clickable elements.
Posted in html, javascript, javascript snippets
Leave a comment
Using clear rule in css
.clearfix:after { content: “.”; visibility: hidden; display: block; height: 0; clear: both; } Usage <div class=’.clearfix’> Some content </div> Bonus: In css : .clear { clear: both; } <br class=’clear’ />
Posted in html
Leave a comment
Right way to use clear behavior for floated elements
Right way to use clear behavior for floated elements .clear_fix { clear: both; content: “.”; display: block; height: 0; visibility: hidden; }
How to make round corners by css
How to make round corners by css. Continue reading