Previous Message
Next Message

Re: [css-d] OT: Lack of Knowledge and the Web Factory

Sent by Al Sparber on 30 January 2002 16:04


----- Original Message -----
From: "Simon Seeber" [EMAIL-REMOVED]>
To: "Al Sparber" [EMAIL-REMOVED]>; "CSS Discuss"
[EMAIL-REMOVED]>
Sent: Wednesday, January 30, 2002 3:20 PM
Subject: Re: [css-d] OT: Lack of Knowledge and the Web Factory


> >Let's get this onTopic and do please answer my CSS question:
> >
> >How do you use valid CSS to remove the border around an image that is
inside
> >an <a> tag... while using a strict 4.01 doctype? I must use a strict
doctype
> >to support the advanced DOM scripting I use, but my "client" will kill
the
> >deal if he continues to see those ugly borders around his logo.
> >
> >Straight answer, please.
>
>
> IMG {border:0 none;}
>
> you can use it with a class or ID as well, but if you put this in
> your BODY definition then it will take care of all your images in one
> hit.

Thanks Simon. However, that won't work in Netascape 4x. So, it's a conundrum
still :-). We are still having to do workarounds for the so-called "modern"
browsers... moreso when it comes to scripting. I see lots of DHTML geniuses
taking the same approach with the DOM as the CSS elite are taking with page
layout. That is, they code to what the DOM should be, and let the chips fall
where they may. We take a much different approach and fully support Opera,
Mozilla, and the quirks in IE5-Mac. I don't think it's a bad approach. So,
if we decide to use a strict DTD, it's for a very good reason. There is no
logical reason for not continuing to use <img border="0">... even if it's
the one aspect of a site that causes it not to validate. It accomplishes
absolutely nothing. Maybe the youngsters today like to follow rules blindly,
I can't speak for them. As a child of the 60s, I need more proof before I
follow :-)

-Al
Previous Message
Next Message

Message thread:

Possibly related: