Quantcast
Channel: SIL Language Software Community - Latest topics
Viewing all articles
Browse latest Browse all 649

Picture and license data formatting

$
0
0

Hello all. I’m working on a lexicon with accompanying pictures for entries. It’s being exported from FLEx as a configured XHTML. In my FLEx dictionary layout, the image is 2 inches max height, and the vernacular sense is centered below, with the license data centered below that. In FLEx, it looks like this:

I’ve set this up in FLEx by using the following override .css code.

To the best of my understanding, the original HTML considers the image, headword, and license info to all be on one line.

My problem comes once it’s moved over to DAB. Here is the same entry in DAB and a second for reference.


  1. I lose any formatting of the text. The headword is no longer bold and no matter what I change in the CSS I can’t get it to become bold again.
  2. I have no control over the image size. They all show at whatever resolution they were saved at.
  3. It returns to it’s original formatting of all being on one line word wrapped.

As a heads up, I have tried multiple different ways to format this via CSS. I’ve used ‘\a’, display: block, and other things I’ve seen on the internet or in these forums. Everything I try always works in the HTML on a browser. I lose all changes and control once it is moved to DAB. Any suggestions would be awesome! Thanks.

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 649

Trending Articles