472,096 Members | 2,304 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

Down to one puzzling error.

Take a look:
http://oil4lessllc.com/StripperWells.htm

There is an issue tho; the HTML checker sez it fails, when the same
border statement used to be OK.
It flags only the first one, and none of the others which are identical.
The code used to work at one time, but i futzed around with it trying
to get positioning OK, get rid of blue borders, and add "US" to the list
(of the five pad numbers wher both icon changed color and a URL became
available).
I do not know how to fix this problem; would someone please be kind
enough to help?
Apr 17 '06 #1
8 1133
To further the education of mankind, Robert Baer
<ro********@earthlink.net> vouchsafed:
Take a look:
http://oil4lessllc.com/StripperWells.htm

There is an issue tho; the HTML checker sez it fails, when the same
border statement used to be OK.
It flags only the first one, and none of the others which are
identical. The code used to work at one time, but i futzed around
with it trying
to get positioning OK, get rid of blue borders, and add "US" to the
list (of the five pad numbers wher both icon changed color and a URL
became available).
I do not know how to fix this problem; would someone please be kind
enough to help?


Don't you response to replies to your previous posts?

--
Neredbojias
Infinity can have limits.
Apr 17 '06 #2
Robert Baer wrote:

There is an issue tho; the HTML checker sez it fails, when the same
border statement used to be OK.
It flags only the first one, and none of the others which are identical.
I do not know how to fix this problem; [...]

You are now using HTML 4.01 Strict, not Transitional. Some attributes
are no longer valid.
The validator is not without its faults. Just keep correcting the errors
until there are no more.

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Apr 17 '06 #3
In article <ju*****************@newsread2.news.pas.earthlink. net>,
Robert Baer <ro********@earthlink.net> wrote:
Take a look:
http://oil4lessllc.com/StripperWells.htm

There is an issue tho; the HTML checker sez it fails, when the same
border statement used to be OK.


In HTML 4.0 Strict, there is no border attribute; you have to use
CSS. Remove the "border=0" from inside of your img tag. Then, in
between the <style type="text/css"> </style> tags, you can put the
following:

<!--
img { border: 0; }
-->

This will cause all images to have no borders. Or you can put
style="border: 0" inside each img tag that needs no border.

-A
Apr 17 '06 #4
Jim Moe wrote:
Robert Baer wrote:
There is an issue tho; the HTML checker sez it fails, when the same
border statement used to be OK.
It flags only the first one, and none of the others which are identical.
I do not know how to fix this problem; [...]


You are now using HTML 4.01 Strict, not Transitional. Some attributes
are no longer valid.
The validator is not without its faults. Just keep correcting the errors
until there are no more.

I have gone as far as i can go; if the border attribute is not valid
in that line, then it is not valid in the next five lines.
Either border is valid in all of them, or in none of them - and it
once was.
If i remove the border statement from line 69, the validator then
complains about the exact same atribute in line 74 (the next time it
appears).
And i do *not* want a blue border!

Apr 17 '06 #5
axlq wrote:
In article <ju*****************@newsread2.news.pas.earthlink. net>,
Robert Baer <ro********@earthlink.net> wrote:
Take a look:
http://oil4lessllc.com/StripperWells.htm

There is an issue tho; the HTML checker sez it fails, when the same
border statement used to be OK.

In HTML 4.0 Strict, there is no border attribute; you have to use
CSS. Remove the "border=0" from inside of your img tag. Then, in
between the <style type="text/css"> </style> tags, you can put the
following:

<!--
img { border: 0; }
-->

This will cause all images to have no borders. Or you can put
style="border: 0" inside each img tag that needs no border.

-A

Thanks; that did it!
Apr 17 '06 #6
To further the education of mankind, ax**@spamcop.net (axlq) vouchsafed:
In article <ju*****************@newsread2.news.pas.earthlink. net>,
Robert Baer <ro********@earthlink.net> wrote:
Take a look:
http://oil4lessllc.com/StripperWells.htm

There is an issue tho; the HTML checker sez it fails, when the same
border statement used to be OK.


In HTML 4.0 Strict, there is no border attribute; you have to use
CSS. Remove the "border=0" from inside of your img tag. Then, in
between the <style type="text/css"> </style> tags, you can put the
following:

<!--
img { border: 0; }
-->

This will cause all images to have no borders. Or you can put
style="border: 0" inside each img tag that needs no border.


Shit! I told this guy that 3-4 threads back where this same crap
originated. Goin' for a beer...

--
Neredbojias
Infinity can have limits.
Apr 17 '06 #7
Robert Baer <ro********@earthlink.net> writes:
Jim Moe wrote:
Robert Baer wrote:
There is an issue tho; the HTML checker sez it fails, when the
same border statement used to be OK.
It flags only the first one, and none of the others which are identical.
I do not know how to fix this problem; [...]
You are now using HTML 4.01 Strict, not Transitional. Some
attributes
are no longer valid.
The validator is not without its faults. Just keep correcting the errors
until there are no more.

I have gone as far as i can go; if the border attribute is not
valid in that line, then it is not valid in the next five lines.


Correct - none of them are valid. Many people have told you that, and you
can easily verify it yourself by simply looking up the relevant docs at
w3.org.
Either border is valid in all of them, or in none of them - and it
once was.
No, you were once using a different DTD, with different rules. Again,
you've been told that before, it's even quoted above.
If i remove the border statement from line 69, the validator then
complains about the exact same atribute in line 74 (the next time
it appears).


It's correct to complain - "border" is not valid in the Strict DTD.

sherm--

--
Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org
Apr 17 '06 #8
Robert Baer wrote:
Jim Moe wrote:
Robert Baer wrote:
There is an issue tho; the HTML checker sez it fails, when the same
border statement used to be OK.
It flags only the first one, and none of the others which are
identical.
I do not know how to fix this problem; [...]


You are now using HTML 4.01 Strict, not Transitional. Some attributes
are no longer valid.
The validator is not without its faults. Just keep correcting the
errors
until there are no more.

I have gone as far as i can go; if the border attribute is not valid
in that line, then it is not valid in the next five lines.
Either border is valid in all of them, or in none of them - and it
once was.
If i remove the border statement from line 69, the validator then
complains about the exact same atribute in line 74 (the next time it
appears).
And i do *not* want a blue border!


Remove the "border" attributes from the affected elements. Use a
style-sheet to suppress the border.

Define a class on img elements:
img.link {border-style: none}
Use that class for all such elements that are within anchor (link)
elements.

Besides doing that, I also define a class on anchor elements:
a.image {text-decoration: none}
and use it on all anchors that contain images. This eliminates the
underline.

Note that, where an img element is contained in an anchor, I use the
"title" attribute for the anchor to indicate (via a tooltip) that there
really is a link hidden there. (Usually, I also have some visible text
for that.) I reserve the "title" attribute of the img element to
indicate the origin or copyright of the image.

--

David E. Ross
<http://www.rossde.com/>

Concerned about someone (e.g., Pres. Bush) snooping
into your E-mail? Use PGP.
See my <http://www.rossde.com/PGP/>
Apr 17 '06 #9

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Robert Brown | last post: by
6 posts views Thread by oeyvind toft | last post: by
9 posts views Thread by Ishira | last post: by
1 post views Thread by 4Space | last post: by
6 posts views Thread by mcgrew.michael | last post: by
1 post views Thread by Alvin | last post: by
2 posts views Thread by Me LK | last post: by

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.