2011/9/1 Peter Hargreaves <peter@pdh-online.info>
Hi Folks,

Thanks for all the feedback.

I used Kubuntu 11.04, Gramps 3.3.0-1 to generate my Narrated Web Site.

The problem is that the top of the parchment (old crumpled paper) is missing
on every page. It's the bit that should be the background of the heading "My
Family Tree" and it concerns the following code:

<body>
       <div id="header">
               <h1 id="SiteTitle">My Family Tree</h1>
       </div>

and the corresponding css (in narrative-screen.css):

#header {
   width:965px;
   margin:0 auto;
   padding:5em 0 2px 0;
   background:url(../images/Web_Mainz_Header.png) repeat-x top left;
}

As an experiment I edited the css to:

#header {
   width:965px;
   margin:0 auto;
   padding:5em 0 2px 0;
   background:url(../images/Web_Mainz_Mid.png) repeat-x top left;
}

and sure enough, the Web_Mainz_Mid.png background was rendered correctly!

So, I examined both Web_Mainz_Header.png and Web_Mainz_Mid.png with the Gimp
to see why the first might fail to render while the second renders OK. It's a
guess but the obvious difference is that Web_Mainz_Header.png is partly
transparent - to create the freyed top edge of the partchment.

My conclusion - that IE6 & 7 are a bit dicky in that they fail to display
background png if that png is partly transparent.

Can anyone confirm? Ideas for a fix? Many thanks.

It should be fixed in later IE versions:
http://blogs.msdn.com/b/ie/archive/2005/04/26/412263.aspx

The only work-around is to not use a transparent png. So best to eg resave in gimp without transparency if you want to support IE6 and 7.

Question is, should we add a non-transparent png to Gramps, and check in the css on IE6/7? That is above my own knowledge of html/css.

Benny

 

Peter

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Gramps-users mailing list
Gramps-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gramps-users