I want to create some h1 tags for headings I have on my pages. I’ve been trying to figure this out on my own by changing things and then looking at the source code in the browser and looking for the h1 tags.
What I’ve come up with is that the html box the headings are in have to be layers. If not, I can’t create h1 tags in a non-layer html field.
So my first question is, am I correct in this?
If so, I have a second question. If I do create these h1 tags in an html box that’s a layer, how do I prevent that box from busting the page if the page is zoomed in the browser? I tried by dimming the height parameter in the inspector, but that didn’t seem to do the job.
Nope. All you need to do to create an H1 tag is to highlight an entire
line of text (including the paragraph return at the end) and apply the
H1 style from the Styles palette. The H1 style is properly applied to
text, and it can only be applied to an entire paragraph of text,
because it changes the <p> tag into an <h1>, and thus it can only
apply to the entire paragraph, not to a few words within it. The
easiest way to select the entire paragraph is to triple- or quadruple-
click anywhere in the line.
Walter
On Jan 17, 2011, at 11:07 AM, Martin Rice wrote:
What I’ve come up with is that the html box the headings are in have
to be layers. If not, I can’t create h1 tags in a non-layer html
field.
Thanks, Walter. I think maybe the trouble I had was that I wasn’t selecting the paragraph return at the end.
I appreciate it.
Martin
On Jan 17, 2011, at 11:25 AM, Walter Lee Davis wrote:
Nope. All you need to do to create an H1 tag is to highlight an entire line of text (including the paragraph return at the end) and apply the H1 style from the Styles palette. The H1 style is properly applied to text, and it can only be applied to an entire paragraph of text, because it changes the <p> tag into an <h1>, and thus it can only apply to the entire paragraph, not to a few words within it. The easiest way to select the entire paragraph is to triple- or quadruple-click anywhere in the line.
Walter
On Jan 17, 2011, at 11:07 AM, Martin Rice wrote:
What I’ve come up with is that the html box the headings are in have to be layers. If not, I can’t create h1 tags in a non-layer html field.
Hello guys.
I also have some problems with the styles.
I know we can edit the styles, even the h1, h2, h3 etc, changing font, color, weight etc, without loosing its tag which is important for SEO. One of the things I changed was h1 from bold to regular and I see it regular on Freeway, however when I preview the file it keeps looking as bold…
What am I doing wrong?
What you are seeing is normal browser behaviour. Try this
In the Edit Style dialog, click the Extended button, then click New to create a new extended attribute for this style. In the Name field type
font-weight
and in the Value field type
normal !important
Now click OK right the way back out to your page. Your custom h style will now display non-bold text in Freeway (because it has no bold Style setting) AND in browsers (because you’ve added the font-weight: normal attribute).
You should probably actually duplicate your H1 style before you do this and call it something like h1.normal
Thank you David!
I found the extend part in an old thread but didn’t know if I could rename it.
Thanks again
Marcus
Sent from my iPhone
On Jan 17, 2011, at 5:27 PM, “DeltaDave” email@hidden wrote:
What am I doing wrong?
Probably not a lot.
What you are seeing is normal browser behaviour. Try this
In the Edit Style dialog, click the Extended button, then click New to create a new extended attribute for this style. In the Name field type
font-weight
and in the Value field type
normal !important
Now click OK right the way back out to your page. Your custom h style will now display non-bold text in Freeway (because it has no bold Style setting) AND in browsers (because you’ve added the font-weight: normal attribute).
You should probably actually duplicate your H1 style before you do this and call it something like h1.normal