Fćrslur sunnudaginn 14. janúar 2007

Kl. 21:10: Sniđug Firefox viđbót: "Tab Effect"  

Ég rakst í gćr á nýja, dáldiđ sćta viđbót fyrir Firefox. Hún heitir Tab Effect, og ţađ eina sem hún gerir er ađ láta Firefox líta ađeins töffaralegar út.

...og minnir mann á veđurfréttirnar í sjónvarpinu í gamla daga.

Svör frá lesendum (6) | Varanleg slóđ

At 00:37: <HR /> Image-Replacement Through CSS 

My evil-genius friend and work-buddy, Borgar, just invented a way to replace HR elements with images using just CSS.

As far as I can tell, his is the first-ever method that accomplishes this across all browsers - without resorting to scripting or adding any extra markup. Pretty neat!

And I'm proud to be able to say that I got to help him rid the method of its initial kinks.

To summarize, here's the finalized version of the IE hack pieced together from the comments following Borgar's blog post:

<!--[if lte IE 7]><style type="text/css">
  hr {
    display : list-item;
    list-style : url(hr.gif) inside;
    filter : alpha(opacity=0);
    width : 0;
  }
</style><![endif]-->

Note, that you'll need to add a margin-bottom property to make IE's margin consistent with that of other browsers.

Note also, that by adding a combination of text-align and margin-left rules, you can achieve any horizontal alignment you like. (IE defaults to "centered".)

...

Discuss and praise over at Borgar's blog.

Permalink


 

Flakk um vefsvćđiđ



 

Fćrslur í janúar 2007

janúar 2007
SunMán ŢriMiđ FimFös Lau
  1. 2. 3. 4. 5. 6.
7. 8. 9. 10. 11. 12. 13.
14. 15. 16. 17. 18. 19. 20.
21. 22. 23. 24. 25. 26. 27.
28. 29. 30. 31.      

Nýleg svör frá lesendum

  • Rich (Req.js - javascript lazy-loading and dependency managment made easy)
  • Rich (Req.js - javascript lazy-loading and dependency managment made easy)
  • Rich (Req.js - javascript lazy-loading and dependency managment made easy)
  • Már (Req.js - javascript lazy-loading and dependency managment made easy)
  • Rich (Req.js - javascript lazy-loading and dependency managment made easy)
  • Már (Req.js - javascript lazy-loading and dependency managment made easy)
  • Dinesh (Req.js - javascript lazy-loading and dependency managment made easy)
  • Már (Taubleyjur í nútímanum - lítill leiđarvísir handa hrćddri ţjóđ)
  • Ada (Taubleyjur í nútímanum - lítill leiđarvísir handa hrćddri ţjóđ)
  • notandi (Taubleyjur í nútímanum - lítill leiđarvísir handa hrćddri ţjóđ)
  • Geir (Lausnin á efnahagsvandanum)
  • Jenný (Lausnin á efnahagsvandanum)
  • Óli Jens (Lausnin á efnahagsvandanum)
  • Már (Lausnin á efnahagsvandanum)
  • Kjartan S (Lausnin á efnahagsvandanum)

 

 

Yfirlit yfir ţetta skjal

(Atriđin í listanum vísa á ákveđna kafla ofar á síđunni.)