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
Wednesday, 21 October 2009
Tuesday, 29 September 2009
Considerations for people who are Colour Blind
An excellent website full of useful information about how web designers and developers can help people with colour blindness use their websites.
http://wearecolorblind.com/articles/quick-tips/
Also on the colour deficiency subject another very interesting website, with a colour deficiency simulator! http://www.colblindor.com/coblis-color-blindness-simulator/
http://wearecolorblind.com/articles/quick-tips/
Also on the colour deficiency subject another very interesting website, with a colour deficiency simulator! http://www.colblindor.com/coblis-color-blindness-simulator/
Full of loveliness
Just stumbled across a nice site http://www.queness.com/ full of things like a set of inspiring headers and footers, tips and fixes and useful things.
Wednesday, 16 September 2009
Wednesday, 9 September 2009
IE layout bug - adding borders fixes - zoom:1;
suffrin, huffrin, suffrin **!@##!! IE for CSS styling...
If adding borders fixes the problem for the display in IE then add the line
zoom:1;
to your css rule
go and google the "haslayout bug" for details.
If adding borders fixes the problem for the display in IE then add the line
zoom:1;
to your css rule
go and google the "haslayout bug" for details.
Subscribe to:
Posts (Atom)