View Single Post
Reflektorfalke's Avatar
Posts: 597 | Thanked: 490 times | Joined on Dec 2009 @ Germany
#100
Originally Posted by magnuslu View Post
Anyone is an ace on CSS classes?

The SoccerDB site explains how the HTML can be formatted here: http://www.aragon.ws/soccerdb/site/usingmatches.php

As I'm more of a developer than a designer, community help is appreciated here... I haven't figured out if it is possible to use a style for the table either. So far I only got to work with the matches.
Here is an example as base for further discussions:

Code:
<HTML>
		<style type="text/css">
		.Date 
		{
			font-family: verdana, geneva, arial, helvetica, sans-serif; 
			background-color: #4F81BD;
			padding: 2px;
			margin: 5px;
			border-style: solid; 
			border-color: #8EB4E3; 
			border-width: 2px; 
			-moz-border-radius: 5px;
		}
		.Match 
		{
			font-family: verdana, geneva, arial, helvetica, sans-serif; 
			color: black; 
			background-color: #8EB4E3;
			padding: 2px 1px;
		}
		.header {
			font-family: verdana, geneva, arial, helvetica, sans-serif; 
			font-weight: bold;
			padding: 2px;
		}
		.odd {
			background-color: #ebebeb;
			font-family: verdana, geneva, arial, helvetica, sans-serif; 
			padding: 2px;
		}
		.even {
			background-color: #fff;
			font-family: verdana, geneva, arial, helvetica, sans-serif; 
			padding: 2px;
		}
		.lines {
			background-color: #000;
		}
		.highlight {
			font-weight: bold;
		}


		</style>
<script type="text/javascript"
src="http://www.aragon.ws/soccerdb/getmatches.php?id=714&css=Match&cssDate=Date"></script> 
<script type="text/javascript"
src="http://www.aragon.ws/soccerdb/gettable.php?id=391&&showHeader=true
&cssHeader=header&cssLines=lines&css1=odd&css2=even&highlightTeam=24&cssHighlight=highlight"></script> <script type="text/javascript"
src="http://www.aragon.ws/soccerdb/gettable.php?id=714&css=Match"></script> 
</HTML>
 

The Following 3 Users Say Thank You to Reflektorfalke For This Useful Post: