Archive

Archive for March, 2009

phpMyAdmin

March 13th, 2009

In config file ( config.inc.php) you can’t set $cfg['Servers'][$i]['only_db'] = ‘my_db . It will return NO DATABASES FOUND

$cfg['Servers'][$i]['only_db']

If set to a (an array of) database name(s), only this (these) database(s) will be shown to the user. Since phpMyAdmin 2.2.1, this/these database(s) name(s) may contain MySQL wildcards characters (“_” and “%”). If you want to use literal instances of these characters, escape them .

use 'my\_db' and not 'my_db'


MySQL, PHP

Removing Dotted Links

March 1st, 2009

If you don’t like the dotted outline that appears around every link (see image bellow) you can useĀ  this CSS trick :

outline: none;

dottedlinks

Example :

a {
  outline: none;
}


Later edit : You must add the pseudo class of :focus to work on all IE versions.
(thanks to Eric Hoffman )

CSS ,

Design for Browser Size Not Screen Size

March 1st, 2009

People working professionally with web know the difference between screen size and browser content area, but to make it clear I wanted to illustrate that screen size is irrelevant in comparison to other more important metrics.

You can find more information about screen resolution and page layout here

web design , ,