Posts Filed in "CSS"

1

Apr

Filed in CSS, Code with no comments |

Today I was adding full screen support to iBox, and I hit an IE6 bug. The bug is introduced because the BODY tag had either margin or padding values of more than 0. This is a number of problems we’ve had with calculating positions because of the BODY clauses containing these extra pixels.
The solution:

<style type=”text/css”>
/* […]

12

Mar

Filed in CSS, Code with 1 comment |

I was searching the internet the other day for a solution to word-wrap preformatted text for pastethat.com. Low and behold, Google answers all, it just takes finding the right keywords. So, the solution:

white-space: pre-wrap; /* CSS-3 […]