- From: Charles Robertson <cdesign@btinternet.com>
- Date: Tue, 4 Jul 2006 16:56:15 +0100
- To: <www-validator@w3.org>
Thanks David: The problem is that <DIV> tags are not correctly rendered in Netscape 4, so by wrapping these <DIV> tags in a <LAYER> tag, I can hide this information from the older browsers, like this: <LAYER NAME="oTransContainer" VISIBILITY="hide"> <DIV ID="oTransContainer" STYLE="position:absolute;top:120px;left:151px;width:243px;height:227px; filter:progid:DXImageTransform.Microsoft.Fade(duration=0.5)"> <DIV ID="front_centerhi" STYLE="position:absolute;top:0px;left:0px;width:243px;height:227px;visibility:hidden;display:none;"> <IMG SRC="images/front_centerhi.gif" ALT="" WIDTH="243" HEIGHT="227" BORDER="0"> </DIV> </DIV> <DIV STYLE="position:absolute;top:206px;left:227px;width:93px;height:32px;z-index:1000;"> <A HREF="javascript:win02();" ONMOUSEOVER="show('front_centerhi');" ONMOUSEOUT="hide('front_centerhi');"><IMG SRC="images/pixel.gif" ALT="" WIDTH="93" HEIGHT="32" BORDER="0"></A> </DIV> </LAYER> Do you have any idea how I can hide <DIV> tags from older browsers in any other way? Thanks Charlie ----- Original Message ----- From: "David Dorward" <david@dorward.me.uk> To: "Charles Robertson" <cdesign@btinternet.com> Cc: <www-validator@w3.org> Sent: Tuesday, July 04, 2006 4:49 PM Subject: Re: Fw: Error Message Feedback (custom DTD document) > On Tue, Jul 04, 2006 at 03:58:17PM +0100, Charles Robertson wrote: >> Then what is the point of using a custom DTD? > > For internal data formats, and for SGML/XML applications which don't > try to extend HTML but serve entirely different purposes (such as > RSS). > >> I am sure the <IMG> ALIGN="" attribute has the following possible >> values: > > (I think you mean valign there) > > There are various vendor extensions and experimental implementations > supported to various degrees by different browsers. > > The CSS vertical-align property gives more options. > >> And why is the <LAYER> tag not supported by any of the DOCTYPES? > > Since it was a proprietary extension only ever supported by Netscape > 4.x (which is no longer supported by the vendor) which doesn't do > anything that can't be achieved with elements that exist in HTML 4.x > and style sheets. > > -- > David Dorward http://dorward.me.uk >
Received on Tuesday, 4 July 2006 15:56:40 UTC