hledání



tagy



jazyky

css 3
javascript 1
snippet generovani grafu »

asimov

Poslední snippety

Clear Floats Without Structural Markup

CSS clearing without redundant elements using CSS 2.0...
  1. .clearfix
  2. {
  3. display: inline-table;
  4. /* Hides from IE-mac \*/
  5. height: 1%;
Tagy:
css 23 řádků | 2008-03-13 23:36:39 | asimov

Min-height for Internet Explorer

© Stu Nicholls - works almost everywere as i know ...
  1. /* Opera, Firefox, Netscape, Safari ... */
  2. .container {
  3. min-height:8em;
  4. height:auto !important;
  5. }
Tagy:
css 11 řádků | 2008-03-13 23:26:59 | asimov

Show Hide in Javascript

simple show/hide function in js that needs mostly every webmaster...
  1. // old classic
  2. function showhide(e) {
  3. el = document.getElementById(e);
  4. el.style.display = el.style.display == "block" ? "none" : "block";
  5. }
Tagy:
javascript 9 řádků | 2008-03-13 23:22:16 | asimov

PNG transparent background in IE

  1. .element{
  2. /* Mozilla ignores crazy MS image filters, so it will skip the following */
  3. //filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale src='images/chapela.png');
  4. }
  5. /* IE ignores styles with [attributes], so it will skip the following. */
Tagy:
css 8 řádků | 2008-03-13 23:17:04 | asimov