View Single Post
Posts: 299 | Thanked: 241 times | Joined on Oct 2009 @ Singapore
#95
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

My first lame attempts are as follows:

Code:
<HTML>
		<style type="text/css">
		.Date 
		{
			font-family: verdana, geneva, arial, helvetica, sans-serif; 
			background-color: #00FF66;
			padding: 2px;
			margin: 5px;
			border-left-style: groove; 
			border-left-color: green; 
			border-left-width: 5px; 
			border-bottom-style: ridge; 
			border-bottom-color: yellow; 
			border-bottom-width: 5px; 
		}
		.Match 
		{
			font-family: verdana, geneva, arial, helvetica, sans-serif; 
			color: blue; 
			background-color: #ffffff;
			padding: 2px 1px;
		}

		</style>
<script type="text/javascript"
src="http://www.aragon.ws/soccerdb/getmatches.php?id=714&css=Match&cssDate=Date"></script> 
</HTML>
<script type="text/javascript"
src="http://www.aragon.ws/soccerdb/gettable.php?id=714&css=Match"></script> 
</HTML>
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.
__________________
My Maemo Apps:
QTeachMe
- Flashcard app
MobiTifo (which was formerly known as QSportsEvent) - Sports leagues tracking (mainly football).