View Single Post
Old 01-09-2017, 06:02 AM   #1723
MerlinMama
Evangelist
MerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beautyMerlinMama does all things with Zen-like beauty
 
MerlinMama's Avatar
 
Posts: 498
Karma: 32554
Join Date: May 2014
Location: Canada
Device: Kobo Sage
Quote:
Originally Posted by JimmXinu View Post
But you can have still different appearance for different metadata entries using CSS:
Code:
[epub]

## apply metadata entry name as class to a surrounding div...
titlepage_entry:<div class="${id}"><b>${label}:</b> ${value}</div>

## apply different CSS to only these entries:
add_to_output_css:
 div .status, .site, .dateCreated { margin-bottom: 1em; color: blue; }
The code works, (I took out the blue though ), but I think in my case just continuing to add the second <br/> manually will end up working better. Picking out the parts I need to edit (if later just one bit changes and I don't update the fic but just change that one thing) is too difficult when it's all jumbled together in one long block and mixed in with long tags. If I have to fix that up manually anyway, may as well just add that <br/> to the existing format and have done.

It was worth a shot though, and I absolutely do appreciate the time you took to provide that code. I love FFF and that you go out of your way when we ask something, usually going above and beyond if it's in any way possible.
MerlinMama is offline   Reply With Quote