Wednesday 28 October 2009

translation made EASY on the fly (firefox)

Wicked little add on for firefox,
BabelFish Instant Translation 1.91

set your translation language, set your own language, alt left click or double click or choose what you would prefer, highlight and bang! done!

Wednesday 21 October 2009

Float objects - css

A useful reminder list of rules from another great article from Smashing Magazine
http://www.smashingmagazine.com/2009/10/19/the-mystery-of-css-float-property/

Following is a list of exact behaviours of floated elements according to CSS2 Specifications:

* A left-floated box will shift to the left until its leftmost margin edge (or border edge if margins are absent) touches either the edge of the containing block, or the edge of another floated box
* If the size of the floated box exceeds the available horizontal space, the floated box will be shifted down
* Non-positioned, non-floated, block-level elements act as if the floated element is not there, since the floated element is out of document flow
* Margins of floated boxes do not collapse with margins of adjacent boxes
* The root element (html)tag cannot be floated
* An inline element that is floated is converted to a block-level element