there is no attribute "bordercolor"

  • mrcountry
  • Newbie
  • Newbie
  • No Avatar
  • Joined: 24 Feb 2008
  • Posts: 14
  • Status: Offline

Post February 24th, 2008, 9:20 pm

I have one error that is a problem for me. I have this error covering all 32 pages on my site. Please someone help me to correct this. I have searched and searched and I just cant figure it out. Any help would be greatly appreciated.

  1. Line 81, Column 57: there is no attribute "bordercolor".
  2. <table width="952" border="1" align="center" bordercolor="#FFCC00">
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post February 24th, 2008, 9:20 pm

  • joebert
  • Turdburglus III
  • Genius
  • User avatar
  • Joined: 10 Feb 2004
  • Posts: 8802
  • Loc: Clearwater, FL
  • Status: Offline

Post February 24th, 2008, 10:54 pm

Try this <table> line instead of the one you have there.

  1. <table style="width:952px; border:#FC0 1px solid; text-align:center;">
Error: 0xC0FFEE is empty
ooms - bb3-mods
  • snuggles
  • Novice
  • Novice
  • No Avatar
  • Joined: 06 Feb 2008
  • Posts: 27
  • Status: Offline

Post February 25th, 2008, 5:40 am

joebert is correct with his suggestion of combining the three properties into one.

Just for reference though, you just need to add a hyphen to your code mrcountry if you wanted to keep it the way it is just now.

  1. border-color: #FC0;
  • mrcountry
  • Newbie
  • Newbie
  • No Avatar
  • Joined: 24 Feb 2008
  • Posts: 14
  • Status: Offline

Post February 25th, 2008, 1:42 pm

I really appreciate the help, but now that I have that one fixed I get another error. I am very new to this and I really appreciate the help. I bought Dreamweaver because I was told it was wonderful. It's not bad except for the errors. Is there something that i'm doing wrong or is this in the program that it does not set things up right. Any advice would be greatly appreciated. Also how hard is it to learn CSS and where can I learn it.

Thanks again for the help.

  1. Line 86, Column 76: there is no attribute "bordercolor".
  2. …table width="177" border="0" bordercolor="#FFCC00" bgcolor="003300">

Post February 26th, 2008, 4:20 pm

Dreamweaver uses the old convention, rather than defaulting to CSS for everything.

CSS is easy to learn, just a bunch of tags. Google is your friend.

As you fix the errors, you will learn how to do it properly, so keep using the validator, and keep fixing the errors. The errors show up only once, so even though you "fix" it, it appears to come back again. That's fine, keep turning old Dreamweaver attributes into CSS attributes and you will learn.

<table width="177" border="0" bordercolor="#FFCC00" bgcolor="003300">

Becomes

<table style="width:177px; border:0px; background-color:#030;">

Or better yet:

<table class="style1">

<style>
.style1 {
width:177px;
border:0px;
background-color:#030;
}
</style>
Upload video and picture galleries at http://www.bodydot.com?post+upload+video+picture+gallery
  • htcorp
  • Beginner
  • Beginner
  • No Avatar
  • Joined: 27 Feb 2008
  • Posts: 39
  • Status: Offline

Post February 27th, 2008, 2:16 am

<table style="width:177px; border:0px; border-color:#FFCC00;">

Have fun !
  • lzr
  • Newbie
  • Newbie
  • No Avatar
  • Joined: 09 May 2008
  • Posts: 10
  • Status: Offline

Post May 9th, 2008, 9:45 am

camperjohn wrote:
<table style="width:177px; border:0px; background-color:#030;">


This works. But when I try similarly
<th style="border-color: #FFFFFF;"> no cell's border is displayed by IE. How do I specify border color of the cell of this table?
Thanks.
  • Bogey
  • Ounce of 'Zu'
  • Web Master
  • User avatar
  • Joined: 14 Jul 2005
  • Posts: 4797
  • Loc: Ozzu
  • Status: Offline

Post May 9th, 2008, 2:30 pm

snuggles wrote:
joebert is correct with his suggestion of combining the three properties into one.

Just for reference though, you just need to add a hyphen to your code mrcountry if you wanted to keep it the way it is just now.
  1. border-color: #FC0;

No snuggles. Joebert had it right. No need to put a hyphen anyway... either that, or I misunderstood the post...
  1.  
  2. <table style="width:952px; border:#FC0 1px solid; text-align:center;">

The stuff that's in blue is one attribute...

border:#FC0 1px solid;

It is saying that the border is 1px wide, solid line and it's the color #FC0. All under one attribute.
(I know the post is old... for the record).
lzr wrote:
camperjohn wrote:
<table style="width:177px; border:0px; background-color:#030;">

This works. But when I try similarly
<th style="border-color: #FFFFFF;"> no cell's border is displayed by IE. How do I specify border color of the cell of this table?
Thanks.

Try the following...
<th style="border: #FFFFFF 1px solid;">
My Developing Blog (7)
Wedevoy.com - In Development... should be done in about a week or so
  • lzr
  • Newbie
  • Newbie
  • No Avatar
  • Joined: 09 May 2008
  • Posts: 10
  • Status: Offline

Post May 11th, 2008, 5:44 pm

[quote="Bogey]
Try the following...
<th style="border: #FFFFFF 1px solid;">[/quote]

Bogey,
Thanks, it worked.
Lzr
  • Bogey
  • Ounce of 'Zu'
  • Web Master
  • User avatar
  • Joined: 14 Jul 2005
  • Posts: 4797
  • Loc: Ozzu
  • Status: Offline

Post May 11th, 2008, 5:52 pm

lzr wrote:
Bogey wrote:
Try the following...
<th style="border: #FFFFFF 1px solid;">


Bogey,
Thanks, it worked.
Lzr

Good... no problem :)
My Developing Blog (7)
Wedevoy.com - In Development... should be done in about a week or so

Post Information

  • Total Posts in this topic: 10 posts
  • Moderators: joebert, katana
  • Users browsing this forum: No registered users and 64 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2008. Driven by phpBB © 2001-2008 phpBB Group.

 
 
 
 

Need a pre-made web design for your website?

Check out our templates here: Ozzu Templates


400+ FREE Website Templates. Download Now!