[Express] Heading styles in FW 5 Express

Hi,
I’m new to Freeway, so I bought the Express variety. I’m building a simple web site (<10 pages, one master page, navigation roll-over, links, etc.) and want the search bots to find it. There is some good advice on how to add keywords and description in the FW 5 Reference, but I haven’t been able to figure out how to make Freeway Express apply the HTML h1, h2, etc. tags where I want them. Surely, this simple task wouldn’t require the FW Pro, would it?
Cheers,
Lennart


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I haven’t been able to figure out how to make Freeway Express apply
the HTML h1, h2, etc. tags where I want them.

All you do is select some text and click the appropriate style name.
Those H styles are paragraph things, so they can only be applied to
complete paragraphs - not only to individual words within a paragraph.

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You will need Pro to be able to do this though, styles are not
available in Express.

Joe

On 14 Apr 2009, at 10:30, Keith Martin wrote:

I haven’t been able to figure out how to make Freeway Express apply
the HTML h1, h2, etc. tags where I want them.

All you do is select some text and click the appropriate style name.
Those H styles are paragraph things, so they can only be applied to
complete paragraphs - not only to individual words within a paragraph.

k


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

All you do is select some text and click the appropriate style name.
Those H styles are paragraph things, so they can only be applied to
complete paragraphs - not only to individual words within a paragraph.

k

Thanks, but I couldn’t find H style names in Express. Are you sure they are not Pro only?

/Lennart


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 14 Apr 2009, 10:07 am, Joe Billings wrote:

You will need Pro to be able to do this though, styles are not
available in Express.

Joe

On 14 Apr 2009, at 10:30, Keith Martin wrote:

I haven’t been able to figure out how to make Freeway Express apply
the HTML h1, h2, etc. tags where I want them.

All you do is select some text and click the appropriate style name.
Those H styles are paragraph things, so they can only be applied to
complete paragraphs - not only to individual words within a paragraph.

k

Since styles aren’t available in Express, maybe there is a workaround? There is a section called “Inserting code at a specific point on the page” on p. 309 of the TW5 Reference Manual. Could I perhaps use that to insert heading tags? I will only need less than ten h1 and h2 altogether on my site.

/Lennart


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Same problem here, can we write

and

somewhere to declare the heading for the text?
thanks…


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You can add style code to your page in Page>HTML Markup - in the before End Head slot such as

<style type="text/css">
<!--
h1 { font-family:Georgia,Palatino,Times,serif; font-weight:bold; font-size:24px; margin-top:1.5em; margin-bottom:0.5em }
-->
</style>

But not having Express I am not sure what options are then available to apply the h1 class to your headline text.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Is this an option? This assumes you have added the h1 styling as in the previous post.

Click inside your text container Insert>Markup Item. Type

and OK the dialogue.
Type in your headline text after the markup Item then inert another markup item and type in

. OK this dialogue and see the results.

As I said I don’t have Express to try this.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

First of all, h1 is a tag, not a class, and second of all, Express doesn’t let you create and apply named or tagged styles to text this way (at least I recall that it does not, haven’t used it since version 3, when I designed the box). I’m not sure you can create an h1 tag in Express, but if you can, you could use Dave’s technique to hijack the style assigned by Freeway (or the browser) by default. You may need to fiddle with the style, perhaps adding the keyword !important at the end of each attribute to force the issue, depending on the source order of the generated code.

Walter

On Mar 23, 2012, at 7:33 PM, DeltaDave wrote:

Is this an option? This assumes you have added the h1 styling as in the previous post.

Click inside your text container Insert>Markup Item. Type

and OK the dialogue.
Type in your headline text after the markup Item then inert another markup item and type in

. OK this dialogue and see the results.

As I said I don’t have Express to try this.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

I will only need less than ten h1 and h2 altogether on my site.

just for the protocol:

It’s probably not the best idea to have more than one H1 tag each page (but a couple of H2, H3, H4 … if necessary). And they should be really used for Headings and nothing else.

Cheers

Thomas


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Would it be possible (in Express) to mark a heading in this way, without changing the text style, font,etc?

I.e. could you create some body text with a short sentence ending in a carriage return, and add the

and

into the body text.

I.e. Currently in Express a body text might look like:
“This is my Heading
And this is the start of my text, blah, blah,…
…end of my text.”

And with the tags:

This is my Heading


And this is the start of my text, blah, blah,…
…end of my text.”

Is this how you would do it?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

No, because what you don’t see in your example is the outer P tag that wraps it all. Your example would better be written as:

<p><h1>This is my Heading</h1>
And this is the start of my text, blah, blah,.............
.................................................................end of my text</p>

Now you know you cannot nest a header inside a P (or vice-versa) – they are both block-level tags that do not take block-level children. A browser might make sense of it, but would not be bound by any convention to do exactly the right thing that you imagine – it could, with impunity – place your header AFTER the surrounding P, rather than before it. And some browsers would put an empty P before the header, so you would end up with:

<p></p>
<h1>This is my Heading</h1>
<p>And this is the start of my text, blah, blah,.............
.................................................................end of my text</p>

Not all browser agree what to do with an empty P – some include the padding and margin defaults (a honking big vertical space before your header, in other words) and others collapse any empty tag to no vertical space. Again, if your code isn’t valid, then the browser can put it through the Cuisinart and make tag soup and won’t be taking the blame for how bad your page looks in some browsers.

As far as I know, the only way to do this when you’re starting from Express-generated code is to use a text editor to post-process the code. And you’ll have to re-run that process each time you make any change to the page, because Freeway generates new HTML to replace the previous version, wiping out all of your changes.

Walter

On Apr 20, 2012, at 5:41 AM, spidercrab wrote:

Would it be possible (in Express) to mark a heading in this way, without changing the text style, font,etc?

I.e. could you create some body text with a short sentence ending in a carriage return, and add the

and

into the body text.

I.e. Currently in Express a body text might look like:
“This is my Heading
And this is the start of my text, blah, blah,…
…end of my text.”

And with the tags:

This is my Heading


And this is the start of my text, blah, blah,…
…end of my text.”

Is this how you would do it?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Thanks Walter. It is clear now.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options