[Zope] RE: Re: [Zope] Zope and CSS
Andrew Williams
ajwms@visto.com
Wed, 19 Apr 2000 19:19:21 -0700
-----Original Message-----
From: Andrew Williams ajwms@visto.com
Sent: Wed, 19 Apr 2000 10:19:01 -0700
To: smpitts@midsouth.rr.com
Subject: Re: [Zope] Zope and CSS
Stephen:
Thanks for the reply. I am right there with you on your <RANT></RANT>. I have spent more time trying to get things working with CSS for both IE and Netscape than I care to remember.
I have the H2 tag in my stylesheet exactly as you sent in your reply; I formatted it all together in my initial e-mail.
btw, I fixed the problem; I replied to mindlace on the "solution".
Andrew
-----Original Message-----
From: Stephen Pitts smpitts@midsouth.rr.com
Sent: Wed, 19 Apr 2000 11:38:12 -0500
To: ajwms@visto.com
CC: zope@zope.org
Subject: Re: [Zope] Zope and CSS
On Wed, Apr 19, 2000 at 06:26:41AM -0700, Andrew Williams wrote:
> I am having a problem specifically with Netscape, CSS and Zope. I have read, re-read and double checked the Zope and CSS Howto(http://www.zope.org/Members/mindlace/css_zope) and am still having problems.
>
> Essentially I am trying to convert a website using CGI scripts and accessing a DB into a zope website. I've made pretty good gains, except for one thing: Netscape is not rendering the pages correctly. Internet Explorer works fine, and both browsers render correctly on the old website.
>
> Basically at the root of my folders I have two DTML methods (global_css_IE and global_css_NS) which I reference in my standard_html_header by (LINK rel="stylesheet" HREF="<dtml-var "global_css_NS.absolute_url()">" type="text/css")
>
> I know I'm getting it because I can look at the html from the page and see the address of the zope server in the HREF tag. However, some of my styles are not rendering in netscape, for example: (H2 {color: rgb(120,0,0);text-align: center;font: bold 16pt "Times New Roman";})
>
> I have moved, changed and done everything I can think of to get this to work. I can copy the entire stylesheet from the old website (which works fine), put it into the dtml method, and it doesn't work!
>
> Thanks for any insight into this dilemna.
>
<RANT>
Netscape 4.x has the worst HTML rendering of any browser, any version. I
can relate to your problem. IE 5 shows my pages fine. Mozilla shows my
pages fine. Netscape manages to completely screw up the rendering.
</RANT>
Anyways, have you checked the CSS bugs page at http://css.nu/pointers/bugs.html?
It looks like you are trying to do things that Netscape can't do. Your
H2 tag above could be rewritten as:
H2 {
color: #780000;
text-align: center;
font: bold 16pt "Times New Roman";
}
and it should work. If it doesn't, send a URL (or a larger HTML chunk)
so we can see what Netscape doesn't like.
--
Stephen Pitts
smpitts@midsouth.rr.com
______________________________________________________________________
Get Visto.com! Private groups, event calendars, email, and much more.
Visto.com. Life on the Dot.
Check it out @ http://www.visto.com/info
______________________________________________________________________
Get Visto.com! Private groups, event calendars, email, and much more.
Visto.com. Life on the Dot.
Check it out @ http://www.visto.com/info