Difference between revisions of "User:Doneve/sarna.css"

 
m
Line 5: Line 5:
 
border-width:1px;
 
border-width:1px;
 
border-style:solid;
 
border-style:solid;
border-color:#000;/* this is set via hexidecimal values, but can use RGB as well. See http://www.w3schools.com/css/css_colors.asp */
+
border-color:#aaa;/* this is set via hexidecimal values, but can use RGB as well. See http://www.w3schools.com/css/css_colors.asp */
 
width:250px;
 
width:250px;
 
}
 
}

Revision as of 09:30, 2 March 2011

/* This is a CSS comment. It will be ignored by the parser.*/
/* Find an unordered list inside a DIV tag that has a CSS class of ownerhistory. */
div.ownerhistory ul 
{
	border-width:1px;
	border-style:solid;
	border-color:#aaa;/* this is set via hexidecimal values, but can use RGB as well. See http://www.w3schools.com/css/css_colors.asp */
	width:250px;
}

/* Modify the items in the unordered list contained in the DIV tag with CSS class ownerhistory. */
div.ownerhistory ul li 
{
	/* Remove the bullets */
	list-style-type:none;
	/*Set up border*/
	border-width:1px;
	border-style:solid;
	border-color:#000;/* this is set via hexidecimal values, but can use RGB as well. See http://www.w3schools.com/css/css_colors.asp */
	
	/* center the text */
	text-align:center;
	
	/* close the gaps between list items (If this isn't here, you get weird white spaces between the list items */
	margin:0;
	
	/* 
	If the cells are too "tight" around the text, uncomment these lines to give the text more "breathing room."
	I've specified the sides individually here so you can tweak to your preferences. (To uncomment just remove the / * and * / from the lines below
	*/
	
	/*padding-top: 2px;*/
	/*padding-right: 2px;*/
	/*padding-bottom: 2px;*/
	/*padding-left:2px;*/
}