Archive for January, 2008

CentOS 5, PHP, GD2 library

By default CentOS 5 comes without GD2 library for PHP

There is an easy fix for this with “yumagic” 🙂

Open terminal and run:

yum install php-gd

Advertisements

January 22, 2008 at 10:25 am 4 comments

Internet Explorer (IE) ignores white-space: nowrap on table’s TD

Used gridview today and client wanted content in tables to be displayed without any wrapping. First solution of course just set up:

<table><tr><td style=”white-space: nowrap”>qwe-asd</td></tr></table>

And of course it works fine both in Opera and FireFox but not in IE7 (have not tested under IE6). The picture changes of course but some cells are still wrapping.

Workaround is to use template field with span:

<table><tr><td><span style=”white-space: nowrap”>qwe-asd</span></td></tr></table>

January 15, 2008 at 10:41 am 65 comments


Calendar

January 2008
M T W T F S S
« Oct   Apr »
 123456
78910111213
14151617181920
21222324252627
28293031  

Posts by Month

Posts by Category