By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,625 Members | 2,235 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,625 IT Pros & Developers. It's quick & easy.

Table background (CSS) co-ordinates different on IE & Firebird

P: n/a
I've spent a day writing software that will generate a multi-page/level
family tree from a single HTML template and a Gedcom file, yet what seems
like a minor issue with the CSS in the template is just confounding me. :(

Here's my CSS code which applies a background graphic (the branches
linking the ancestors) to the table:

table.outer-table {
width: 430px;
background: url(images/tree.gif) no-repeat 0px 0px;
}

On IE6, it aligns with the ancestor entries nicely. On Firebird though,
the x (from left) co-ordinate appears to the same, but the y (from top)
co-ordinate appears to push the image a few (3/4?) pixels lower than it
renders in IE, completely ruining the effect. Am I doing something
obviously wrong or is this just one of those browser differences I can do
nothing with for the moment?

By the way, if I apply the image directly to the HTML (<table
background="images/tree.gif">), it displays fine on both browsers. I have
a very good reason for not wanting to do it this way, but it's been such a
long day, I can't remember what that reason is. #-o

--
Lee J. Moore
Let us hob and nob with Death - Tennyson
Jul 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
On Mon, 28 Jun 2004 00:18:34 +0100, Lee J. Moore wrote:
//
[Re table background image gumf]
On IE6, it aligns with the ancestor entries nicely. On Firebird though,
the x (from left) co-ordinate appears to the same, but the y (from top)
co-ordinate appears to push the image a few (3/4?) pixels lower than it
renders in IE, completely ruining the effect.


Aak. Ignore. Completely fixed by adjusting line-spacing and cell
height.
--
Lee J. Moore
Let us hob and nob with Death - Tennyson
Jul 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.