Jump to content
Xisto Corporation
DJM

How Do I Change Table Border Color In Mozilla Regular code: bordercolor=#000000 doesnt seem to work.

Recommended Posts

Hi all, I am making a website and want to change a table's border color. I am using the regular code of: bordercolor="#000000", and it just stays white, any help would be appreciated. The link to the test page is here.

I am using CSS for the tables but it's too complicated for me and no tutorial can explain it plain enough with complete instructions on how to do it all. I have made the site completely on my own but I am no HTML / CSS guru by any means.

Dane

I am using CSS for the tables.

Oops, I mean I would use them, but too complicated for me.

Share this post


Link to post
Share on other sites

ok DJM, you have two options:

either use only html for the table and it should be like this:

<html><head></head><body><table border="4" bordercolor="#CC9900"><tr><td>this is a test</td></tr></table></body></html>

or using CSS within your code, like this:

<html><head><style type="text/css">table { border-color: rgb( 100, 100, 255); border-style: solid; } td { border-color: #FFBD32; border-style: ridge; }p { border-color: blue;border-style: solid; }</style></head><body><table><tr><td>this is a test</td></tr></table></body></html>

if you want more options for border color and style in css, check this link

http://www.tizag.com/cssT/border.php

by the way i tested both, and both ways work for me, if you got any error just post your whole code here and i am happy to help you.

p.s there's "</html>" in the end of each code but i don't know why it didn't appear.
Edited by web_designer

Share this post


Link to post
Share on other sites

Ok DJM, you have two options:

Hey it worked! Well my friend, you are a gentleman, a scholar and a genius. Has anyone ever told you that? I knew it would be something completely simple but I am not that great at HTML/CSS stuff. So thanks very much, I appreciate your help.

Share this post


Link to post
Share on other sites

any time, we are here helping each other in everything. so any time you need anything just post it, good luck with your project.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.