Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old July 20th, 2005, 08:11 PM
Lee J. Moore
Guest
 
Posts: n/a
Default Table background (CSS) co-ordinates different on IE & Firebird

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
  #2  
Old July 20th, 2005, 08:11 PM
Lee J. Moore
Guest
 
Posts: n/a
Default Re: Table background (CSS) co-ordinates different on IE & Firebird

On Mon, 28 Jun 2004 00:18:34 +0100, Lee J. Moore wrote:
//
[Re table background image gumf][color=blue]
> 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.[/color]

Aak. Ignore. Completely fixed by adjusting line-spacing and cell
height.


--
Lee J. Moore
Let us hob and nob with Death - Tennyson
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles