Web Design Forum  
 
Go Back   Web Design Forum > Web and Graphic Design > Web Design

Reply
 
LinkBack Thread Tools Display Modes
Old 07-09-2007, 08:42 PM   #1 (permalink)
New Member
 
Join Date: Jul 2007
Posts: 1
Default style sheet parameter to control border color around columns

Hi,

I'm new with style sheets and I have a page which in firefox the table columns
(border="2") are coming out black. I'm using the border color parameters like
border-top-color etc but they only control the color around the table not
the color around the column cell. Also the color is not black.

Are there other parameter to contol this.

Thanks
David J.
davidj is offline   Reply With Quote
Old 08-18-2007, 11:46 AM   #2 (permalink)
New Member
 
intrinzic's Avatar
 
Join Date: Aug 2007
Posts: 1
Smile

Try this:
On your css file:
Code:
.mytable {
border: 1px solid #336699;
}

.mytable td{
border: 1px solid #336699;
}
On your table:
HTML Code:
<table class="mytable">
 <tr>
    <td>Hello world</td>
 </tr>
</table>
intrinzic is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 04:02 PM.


Computer Forum - Internet Business - Webpage Design

 
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.