Showing posts with label google. Show all posts
Showing posts with label google. Show all posts

Sunday, March 14, 2010

Set Ubuntu to use Google DNS for internet

Sometimes my 2Wire router doesn't seem to route to the DNS properly. As such I can ping IP addresses but not domain names. To fix that just tell Ubuntu to use Google DNS (or any other free DNS service) directly.


# In /etc/dhcp3/dhclient.conf

prepend domain-name-servers 8.8.8.8, 8.8.4.4;

Thursday, July 30, 2009

Google styling scheme for tables

This is what I implemented after studying the CSS for tables that Google uses.

div.data-table table {
background: white none repeat scroll 0 0;
border-collapse: collapse;
cursor: default;
font-family: arial,helvetica;
font-size: 10pt;
margin: 0;
}

div.data-table table th {
background: #FFFFFF url(title-bg.gif) repeat-x scroll left bottom;
font-weight: bold;
text-align: center;
border: 1px solid #EEE;
padding: 6px;
}

div.data-table table td {
border: 1px solid #EEE;
padding: 2px 3px;
}

div.data-table table td.data-seq {
color: #666;
text-align: right;
}

div.data-table table tr.data-row-1 td {
background: #FAFAFA;
}