Login   Register  
PHP Classes
elePHPant
Icontem

File: swemc.css

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Uwe Stein  >  swemc  >  swemc.css  >  Download  
File: swemc.css
Role: Auxiliary data
Content type: text/plain
Description: Sample style-sheet
Class: swemc
Execute MySQL queries and output results in tables
Author: By
Last change:
Date: 2005-01-06 12:10
Size: 2,404 bytes
 

Contents

Class file image Download
/* this CSS is an example to demonstrate the use with swemc */
/* you may define different classes for different layouts. */
/*                                                         */
/* The table-class name is the param you can hand over to  */
/* the functions tab_out and  single_out and this          */
/* class-name is used at <table>, <th>, <tr> and <td>.     */
/* So, if you use different layouts you have to define     */
/*                                 table.class_name        */
/* and if needed                   table.class_name th     */
/*                                 table.class_name tr     */
/*                                 table.class_name td     */
/*                                                         */
/*                      < :-) >                            */
/* The class-name never minds, feel free to call your      */
/* class pille_palle, bumble_bee, mathilda or however      */
/* you want                                                */
/*                      </ :-) >                           */


body {

    background-color : #B8E1DC;
	color            : #2A15E9;
}


/*  first layout  */
table.swemc_table{
	width         : 90%;
	vertical-align: center;
	text-align    : center;
	border-width  : 4px;
	border-style  : outset;
	border-color  : #00CED1;
}

table.swemc_table tr {
	border-width    : 4px;

}
table.swemc_table th {
	border-width    : 4px;
	border-style    : groove;
	border-color    : #FF7F00;
	background-color: #FFA500;
	color           : black;
}
table.swemc_table td {

    border-width    : 2px;
	vertical-align  : center;
	text-align      : center;
	border-style    : outset;
	background-color: #FF7F00;
	color           : white;
	padding         : 5px;


}


/* 2nd layout */
table.swemc_table2{


	width            : 30%;
	vertical-align   : center;
	text-align       : center;
	border-width     : 3px;
	border-style     : dotted;
	border-color     : blue;
	background-color : #D1D1D1;
	color            : #D49839;
}
table.swemc_table2 tr {
	;

}
table.swemc_table2 th {
	border-width    : 2px;
	border-style    : outset;
	border-color    : grey45;
	background-color: grey90;
	color           : #EEC900;

}
table.swemc_table2 td {

    border-width    : 2px;
	vertical-align  : center;
	text-align      : right;
	border-style    : groove;
	color           : black;
	padding         : 5px;
	text-decoration : none;

}