cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony E." <apwebdes...@yahoo.com>
Subject Re: <!DOCTYPE Problem
Date Wed, 28 Feb 2001 17:59:18 GMT
I tried the suggested fix from the bug report, and
while it was a definite improvement to add

img {
  display: block;
}


....it still has some problems. In NS6, the tables are
still a little bit off, a matter of a few pixels in
most places, but that's still noticeable.

It also broke the "text-decoration: none" stylesheet
tag for <a href's>, all links are resultantly
underlined in NS6.




I recreated the page from the html cocoon spits out
and it displayed fine in NS3, NS4, NS6, IE4, & IE5.5
with a different <!DOCTYPE> declaration.

So I think the best solution is to set it in the
cocoon .properties file to use:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">

Only I haven't figured out how to do that yet.


--- SÚrgio Carvalho <scarvalho@criticalsoftware.com>
wrote:
> 
> Give the guys at the mozilla project some credit.
> It's probably the most compliant browser on the
> market. Even when that compliance breaks today's web
> common use. You don't describe the layout
> differences, but I'd say it's the inline layout of
> images, recomended by W3C, that is inserting
> spurious space.
> 
> Have a look at the description on the bugzilla page 
> http://bugzilla.mozilla.org/show_bug.cgi?id=22274
> 
> If this is your problem, add this to your CSS:
> img
> {
>    display : block
> }
> 
> 
> 
> On Sun, 25 Feb 2001 12:01:01 -0800
> "Andreas Neuenschwander" <andi@andi.ch> wrote:
> 
> > Hi,
> > 
> > All html pages generated by cocoon contains by
> default the following DOCTYPE
> > tag:
> > 
> > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
> > "http://www.w3.org/TR/REC-html40/strict.dtd">
> > 
> > 
> > I have now a problem with Netscape Navigator 6.0
> which renders my page in a
> > different
> > way when this <!DOCTYPE> tags is included. (A
> Netscape 6.0 special
> > 'feature')
> > 
> > How can I setup cocoon to not print out the
> <!DOCTYPE /> tag?
> > 
> > 
> > Thanks,
> > 
> > 
> > Andi
> > 
> > 
> > 
> > 
> > BTW:
> > Will there be an announcement mailing list for
> cocoon in the near future?
> > (like tomcat)
> > 
> > 
> > 
> > 
> > 
> >
>
---------------------------------------------------------------------
> > Please check that your question has not already
> been answered in the
> > FAQ before posting.
> <http://xml.apache.org/cocoon/faqs.html>
> > 
> > To unsubscribe, e-mail:
> <cocoon-users-unsubscribe@xml.apache.org>
> > For additional commands, e-mail:
> <cocoon-users-help@xml.apache.org>
> > 
> 
> 
> --
> Sergio Carvalho
> ---------------
> scarvalho@criticalsoftware.com
> 
> If at first you don't succeed, skydiving is not for
> you
> 
>
---------------------------------------------------------------------
> Please check that your question has not already been
> answered in the
> FAQ before posting.
> <http://xml.apache.org/cocoon/faqs.html>
> 
> To unsubscribe, e-mail:
> <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail:
> <cocoon-users-help@xml.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. 
http://personal.mail.yahoo.com/

Mime
View raw message