Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Help with table colors.
Old 08-12-2008, 09:09 AM Help with table colors.
Novice Talker

Posts: 3
Trades: 0
Hey you all. I've been getting acquainted with HTML for about 3+ months, but there are still some things that I quite don't understand.

For my Web Page that I'm coding, it looks like this.

Code:
<html>
<head>
<style type="text/css">
body {
background-color: SteelBlue;
border-color: SteelBlue;
margin-right: 15px; 
margin-left: 15px;
}

table.blue {
        border: 1px solid blue;
    }       
</style>
</head>
<body>
<table width=100% height=100% cellpadding=20 border= class="blue">
<th width=15% height=5%>Table Heading 1 </th>
<th width=10% height=5%>Table Heading 2 </th>
</tr>
<tr>
<td width=50% height=25% >Column1 </td>
<td widht=10% height=5% >Column2 </td>
</tr>
</tr>
</table>
</body>
</html>
My question is how can I change the color of each border surrounding the words Table Heading, Table Heading 2, Column1, and Column2. I'm trying to get rid of the dull white/grayish outline of the table and make them all a specific color I choose. Thanks!
Mr.Kazaam is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-12-2008, 02:44 PM Re: Help with table colors.
Truly's Avatar
Ultra Talker

Posts: 322
Trades: 0
You need to read up on css. That is the language that you use to set colours like that. Theres alot to it but the basics of it are pretty simple.

Heres a site to get you started: http://w3schools.com/css/default.asp
__________________
DVD Movie Release Database:
Please login or register to view this content. Registration is FREE
Truly is offline
Reply With Quote
View Public Profile
 
Old 08-12-2008, 03:21 PM Re: Help with table colors.
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
I have to agree, if you're just learning to make web pages, you need to learn MODERN methods - and that means HTML and CSS for layout and presentation - no tables for layout, just for DATA (which is what they are meant for).
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help with table colors.
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.23534 seconds with 12 queries