IE v. Firefox for viewing Zope sites
I've just put together a simple Zope website, but whilst it renders properly under Firefox, it looks dreadful using IE. Can anyone explain why? Could it be the CSS? -- John
Can you show us? It'd be easier to tell you the problem... It could be the CSS, or it could be the HTML, particularly the DTD - IE renders pages differently depending on the validity of your DTD - a good DTD gets your page rendered in "compliant" mode, a bad one (or none...) gets your page rendered in "quirks" mode. Or it could be many other things. Send us a link ;-) Cheers, joe On 16 Jun 2005, at 19:15, John Poltorak wrote:
I've just put together a simple Zope website, but whilst it renders properly under Firefox, it looks dreadful using IE.
Can anyone explain why? Could it be the CSS?
-- John
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
___________________________________________________________ How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
--On 16. Juni 2005 19:15:58 +0100 John Poltorak <jp@warpix.org> wrote:
I've just put together a simple Zope website, but whilst it renders properly under Firefox, it looks dreadful using IE.
Can anyone explain why? Could it be the CSS?
It could be your IE? It could be your HTML? It could be your CSS? -aj
On Thu, Jun 16, 2005 at 08:30:15PM +0200, Andreas Jung wrote:
--On 16. Juni 2005 19:15:58 +0100 John Poltorak <jp@warpix.org> wrote:
I've just put together a simple Zope website, but whilst it renders properly under Firefox, it looks dreadful using IE.
Can anyone explain why? Could it be the CSS?
It could be your IE? It could be your HTML? It could be your CSS?
I was advised to change <base href="/" /> to <base href="http://www.mysite.org/" /> and that seemed to sort out most of the problems. Do I really need to hard code the site name like this, or is there some variable I can use?
-aj
-- John
Am Donnerstag, den 16.06.2005, 22:33 +0100 schrieb John Poltorak:
On Thu, Jun 16, 2005 at 08:30:15PM +0200, Andreas Jung wrote:
--On 16. Juni 2005 19:15:58 +0100 John Poltorak <jp@warpix.org> wrote:
I've just put together a simple Zope website, but whilst it renders properly under Firefox, it looks dreadful using IE.
Can anyone explain why? Could it be the CSS?
It could be your IE? It could be your HTML? It could be your CSS?
I was advised to change
<base href="/" />
to
<base href="http://www.mysite.org/" />
and that seemed to sort out most of the problems.
Do I really need to hard code the site name like this, or is there some variable I can use?
request has a lot URL variables you can use. However zope usually does the right thing [tm] here - you should just design your links carefully. E.g. use root-relative, that means links that start with / all the time.
John Poltorak wrote at 2005-6-16 22:33 +0100:
... I was advised to change
<base href="/" />
to
<base href="http://www.mysite.org/" />
and that seemed to sort out most of the problems.
You should not fiddle with the "base" tag (unless you precisely (!) know what you are doing). Zope sets it automatically when it is necessary (and you did not provide your own one).
Do I really need to hard code the site name like this, or is there some variable I can use?
Do not do it at all! You cannot expect something better, do you? -- Dieter
On 17/06/05, John Poltorak <jp@warpix.org> wrote:
I've just put together a simple Zope website, but whilst it renders properly under Firefox, it looks dreadful using IE.
Can anyone explain why? Could it be the CSS?
It could be your CSS, but it's probably IE. I usually end up writing two stylesheets, one for IE and one for everything else. Getting IE to read its on is just a case of using the IE-only conditional includes feature: <!--[if IE]> <link href="/stylesheets/ie" type="text/css" rel="stylesheet" /> <![endif]--> though you'll have to hard code the URL - ZPT won't parse it ;) -- Phillip Hutchings http://www.sitharus.com/ sitharus@gmail.com / sitharus@sitharus.com
participants (6)
-
Andreas Jung -
Dieter Maurer -
Joe Bezier -
John Poltorak -
Phillip Hutchings -
Tino Wildenhain