john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

css table

table{
  width:100%;
}

table, th, td{
 border-collapse: collapse;
 border: 1px solid black;
}

td{
  font-family: georgia;
  font-size: 1.1em;
  text-align:right;
}

Table with borders

table, td, th
{
border:1px solid green;
}
th
{
background-color:green;
color:white;
}


<style type="text/css">
body{
  font-family: georgia;
  font-size: 1.1em;
}

a{
  font-family: georgia;
}

table{
  width: 90%;
 border-collapse: collapse;
 border: 1px solid black;

}

td{
  font-family: georgia;
  font-size: 1.1em;
  padding:4px;
}

</style>

  • « Mysqldump backup
  • File read from a file count lines »

Published

Dec 12, 2011

Category

css

~55 words

Tags

  • css 19
  • table 5