Hi again

I've tried to put fontfamily into the HTML syntax like this:
<html><div class='myClassName' <span style='font-size:
36pt;color:red;font-family: Comic Sans MS;' macro='view fieldname
wikified'></div></html>
It works fine - but when I wikiformat the text with ! - so it becomes
a header - it looses all fontdefinitions and defaults to the original
fonts and colours...
I assume that this means that I will have to abandon all
wikiformatting while I use the custom fields with custom
fontdefinitions...
That's alright though- The idea of it in the first place - was to
predefine formats for inputted text anyway...

My new problem is that when I put the wikified textfields in different
tablecells, they jump up and down depending on how many rows they get
- and it makes it impossible to use a table as a template - I think
that the solution could be to design a viewtemplate that keeps
everything in place... I'll try that - unless someone has a better
idea?!

YS Måns Mårtensson

On Apr 14, 11:32 pm, Måns <[email protected]> wrote:
> Thanks Eric
>
> I think that by now you would be able to answer my questions even if i
> asked them in danish ;-)
> I will try to take my first steps into the css-class arena.
> Thank you very much!!
>
> YS Måns Mårtensson
>
> On 14 Apr., 16:30, Eric Shulman <[email protected]> wrote:
>
> > > I'd like to setup a preformatted letter in a cutomized
> > > LetterViewTemplate- with title, subtitle, date, picture (from
> > > fieldvalue-defined url)
> > > Different sections of the letter should have different typographical
> > > layout - fonttypes and colours, lettersizes etc etc....
>
> > > Can you define fonttype/size and more - for wikified fieldcontent???
>
> > In your LetterViewTemplate, you can apply CSS classes (i.e.,
> > class="classname classname ...") as well as applying 'inline
> > CSS' (i.e. style="...") directly in the HTML syntax.  Something like
> > this:
>
> > <div class='myClassName' style='font-size:36pt;color:red;' macro='view
> > fieldname wikified'></div>
>
> > enjoy,
> > -e
> > Eric Shulman
> > TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to