473,320 Members | 2,161 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Help with CSS validation error

I've helped a friend put together this site: http://www.widfordlodge.com/

Click on the CSS validation icon, and you'll get this error:

--------------
Line: 75 Context : .footerimg

Invalid number : border-rightParse Error - [empty string]
--------------

The CSS file is http://www.widfordlodge.com/main.css

Any ideas what this is all about?

--
Mark.
http://www.tranchant.freeserve.co.uk/

Jul 20 '05 #1
11 3595
Mark Tranchant <mt******@ford.com> writes:
Line: 75 Context : .footerimg

Invalid number : border-rightParse Error - [empty string]


border-right: none;

Try border-right: 0; instead?

--
Chris
Jul 20 '05 #2
Le 10/07/2003 16:24, Mark Tranchant a écrit :
I've helped a friend put together this site: http://www.widfordlodge.com/

Click on the CSS validation icon, and you'll get this error:

--------------
Line: 75 Context : .footerimg

Invalid number : border-rightParse Error - [empty string]
--------------

The CSS file is http://www.widfordlodge.com/main.css

Any ideas what this is all about?

it should be
border-right-style:none;
pascal

--
FAQ Mozilla/Netscape 7 en français : http://pascal.chevrel.free.fr/
Drag me, drop me, treat me like an object

Jul 20 '05 #3
Mark Tranchant wrote:
I've helped a friend put together this site: http://www.widfordlodge.com/

Click on the CSS validation icon, and you'll get this error:

--------------
Line: 75 Context : .footerimg

Invalid number : border-rightParse Error - [empty string]
--------------


The corresponding rule is:

border-right: none;

border-right is a shorthand property for width, style and color of the right
hand border, in that order. If you omit any of the values, then you must
do so from the right hand side. The 'none' value is therefore specifying
the width. Width can be any of 'thin', 'medium', or 'thick', or a length -
'none' is meaningless here, it is a keyword for the border /style/. What
you want to do is specify the width:

border-right: 0;

--
Jim Dabell

Jul 20 '05 #4
In article <CD********************@giganews.com>, jim-
us****@jimdabell.com says...
Mark Tranchant wrote:
I've helped a friend put together this site: http://www.widfordlodge.com/

Click on the CSS validation icon, and you'll get this error:

--------------
Line: 75 Context : .footerimg

Invalid number : border-rightParse Error - [empty string]
--------------


The corresponding rule is:

border-right: none;

border-right is a shorthand property for width, style and color of the right
hand border, in that order. If you omit any of the values, then you must
do so from the right hand side. The 'none' value is therefore specifying
the width. Width can be any of 'thin', 'medium', or 'thick', or a length -
'none' is meaningless here, it is a keyword for the border /style/. What
you want to do is specify the width:

I can't see that in the spec, and in fact

http://www.w3.org/TR/REC-CSS2/box.ht...der-properties

has the example 'border-left: double;' which certainly implies that
'border-right: 0 none;' should be fine, and in fact:

div { border-right : 0 none ;}

Validates just fine at
http://jigsaw.w3.org/css-validator/validator-text.html

But then again I just validated http://www.widfordlodge.com/main.css and
got no errors at all, so I suspect the OP has now fixed the problem,
whatever it was.

If I was a betting man (which I am) then I'd say it originally read
'border-right; 0 none ;}'
Jul 20 '05 #5
Jacqui or (maybe) Pete wrote:
In article <CD********************@giganews.com>, jim-
us****@jimdabell.com says... [snip]
If you omit any of the values, then you must do so from the right hand
side.

[snip]
I can't see that in the spec, and in fact

http://www.w3.org/TR/REC-CSS2/box.ht...der-properties

has the example 'border-left: double;' which certainly implies that
'border-right: 0 none;' should be fine

[snip]

You are absolutely right, I stand corrected. I could have sworn that
optional assignments were treated the same way as traditional programming
languages [1], but obviously that isn't the case:

"A double bar (||) separates two or more options: one or more of them must
occur, in any order."

-- <URL:http://www.w3.org/TR/REC-CSS2/about.html#property-defs>
[1] I know CSS isn't a programming language, but it seems to violate the
principle of least surprise to have optional assignments happen in this way
when it works differently elsewhere.

--
Jim Dabell

Jul 20 '05 #6
On Fri, 11 Jul 2003 09:22:01 +0100, Jacqui or (maybe) Pete
<po****@spamcop.net> wrote:
--
In science it often happens that scientists say, "You know that's a
really good argument; my position is mistaken," ... I cannot recall
the last time something like that happened in politics or religion."


OK, I give up. Carl Sagan? Stephen J. Gould? Michael Shermer? Richard
Dawkins?

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Jul 20 '05 #7
Stephen Poley wrote:
On Fri, 11 Jul 2003 09:22:01 +0100, Jacqui or (maybe) Pete
<po****@spamcop.net> wrote:
--
In science it often happens that scientists say, "You know that's a
really good argument; my position is mistaken," ... I cannot recall
the last time something like that happened in politics or religion."


OK, I give up. Carl Sagan? Stephen J. Gould? Michael Shermer? Richard
Dawkins?


Carl Sagan, 1987 CSICOP keynote address

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.
Jul 20 '05 #8
PeterMcC wrote:
--
In science it often happens that scientists say, "You know that's a
really good argument; my position is mistaken," ... I cannot recall
the last time something like that happened in politics or religion."


OK, I give up. Carl Sagan? Stephen J. Gould? Michael Shermer? Richard
Dawkins?

Carl Sagan, 1987 CSICOP keynote address


Steven Weinberg has made similar observations.

--
Brian
follow the directions in my address to email me

Jul 20 '05 #9
In article <gl********************************@4ax.com>,
sb*****@xs4all.nl says...
On Fri, 11 Jul 2003 09:22:01 +0100, Jacqui or (maybe) Pete
<po****@spamcop.net> wrote:
--
In science it often happens that scientists say, "You know that's a
really good argument; my position is mistaken," ... I cannot recall
the last time something like that happened in politics or religion."


OK, I give up. Carl Sagan? Stephen J. Gould? Michael Shermer? Richard
Dawkins?

All excellent guesses - I got it from Carl Sagan.
Jul 20 '05 #10
Haines Brown wrote:
The difference between progress in scientific and in religious
knowledge is that in science one becomes ever more aware of your
ignorance, while in religion, thanks to Revelation, one gains in
certainty.


Is that satirical?

--
PeterMcC
If you feel that any of the above is incorrect,
inappropriate or offensive in any way,
please ignore it and accept my apologies.
Jul 20 '05 #11
"PeterMcC" <pe***@mccourt.org.uk> writes:
Haines Brown wrote:
The difference between progress in scientific and in religious
knowledge is that in science one becomes ever more aware of your
ignorance, while in religion, thanks to Revelation, one gains in
certainty.


Is that satirical?


Yes

--
Haines Brown
br****@hartford-hwp.com
kb****@arrl.net
www.hartford-hwp.com

Jul 20 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: mike | last post by:
Hello, After trying to validate this page for a couple of days now I was wondering if someone might be able to help me out. Below is a list of snippets where I am having the errors. 1. Line 334,...
1
by: stuart dent via .NET 247 | last post by:
XML validation error. Help required If anyone can help me, thankyou, thankyou... When I run this code code I get this error: The data at the root level is invalid. Line 1, position 39. I...
14
by: Matt | last post by:
I want to know if ASP.NET Web Forms Validation Controls are Server-Side or Client-Side form validation? Since I think each validator control can select either 1) JavaScript based error dialog or 2)...
2
by: Paul | last post by:
Hi, I hope somebody can help me with the following. (I have tried searching for a solution on the newsgroups but nothing is quite what I need. Feel free to point me in the direction of anything...
2
by: Martyn Fewtrell | last post by:
Dear All I have a Windows 2003 Server with IIS6 where the validation controls on ASP.Net pages no longer work. I believe it to be specific to the server as if I create an ASP.Net page on the...
2
by: msnews.microsoft.com | last post by:
Hi All, I m facing a problem. As u know asp.net vallidators did not work in non-microsoft browsers. So for that i m using Server Side Solution. But i don't understand how can i show the...
6
by: serge calderara | last post by:
Dear all, I have read that ASP.NET does double user input validation of control when they are place on the page. Once on teh client side and again from server side right ? Could explain how...
2
by: this one | last post by:
I have the following code <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <script language="JavaScript"...
2
by: vijaykk | last post by:
Hi @, I new to java and i am facing
3
pradeepjain
by: pradeepjain | last post by:
I am using a form which does inline validation using jquery! http://yensdesign.com/2009/01/how-validate-forms-both-sides-using-php-jquery/ and i saw another inline validation method ...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.