yii: double database table prefix error in yii-user-management

by prettyscripts on 2010-12-16 14:51:27 • Leave a comment »

yii

important note: this applies to yii-user-management extension V0.7. this probably have already been fixed but not yet released. this is a quick fix if you don't want to download the trunk. if database prefix has been defined in config file, when access… more »

Tags: php, prefix, table, user, yii

css: tableless table

by prettyscripts on 2008-05-23 12:22:59 • Leave a comment »

csshtml

a table layout can be achieved without <table> in html, with <div> and css..col { width: 200px; float: left; }<div> <div class="col">row 1, col 1</div> <div class="col">row 1, col 2</div></div&… more »

Tags: css, html, span, table

css: show table cells

by prettyscripts on 2008-05-22 10:33:51 • Leave a comment »

phpcsshtml

for bordered tables, you can visually see the cell is not displayed (ie no border around the cell) if it has no value. it looks ugly. the work around is usually assigning a space ‘ ’ to the cell in html code. in css, you can show the cell with emp… more »

Tags: cell, css, ie, table