[OT] Styled Text in iWeb

Sarah Reichelt sarah.reichelt at gmail.com
Mon Aug 31 20:37:36 EDT 2009


On Tue, Sep 1, 2009 at 10:27 AM, Gregory
Lypny<gregory.lypny at videotron.ca> wrote:
> Hi everyone,
>
> Suppose I'm using some iFrame tags in iWeb HTML snippets to display the
> results of handlers of irev code.  Does anyone know what formatting codes I
> would use to give the text in those frames the same style as that of the
> default Text Boxes for the particular iWeb theme being used?


You'll need to look at the source of the page produced by iWeb and
find a section that is formatted the way you want.
It may just be enclosed in tags that take their default format from
the style sheet, in which case you just need to apply those tags.
Or it may be set to a particular style, in which case you need to
apply that style as well.

e.g. if you find a section you want to copy looks like this:
    <p>Here is some text</p>
Then you just need to start your text with "<p>" and end it with "</p>"
The 'p' could be anything, representing any type of tag.

If you find a section you want to copy looks like any of these:
    <div class="textbox">Here is some text</div>
    <span class="textbox">Here is some text</span>
    <div style="font-family: serif">Here is some text</div>
Then you need to surround your text with the appropriate tags, not
forgetting to insert the quotes as required.

Cheers,
Sarah



More information about the use-livecode mailing list