Formating navigation bars

G

Guest

I use Dynamic Web Template with a layout table, of which 3 cells are made
editable. One of the editable cells contains simple text navigation bar,
different for each page attached to DWT. I can't understand how the
formating of such navigation bar works (mostly font size).

Do I format the cell in the DWT, or the cell in the attached page, or is
there a style? for the text navigation bar that can be edited, or do I have
to format the text on each page? How to format the DWT cell designed such
bars so that they are properly formated on attached pages? Many thanks.
 
R

Ronx

The answer is "Yes" to all the options you have given. It depends on how
you have designed your DWT.
In my page (www.rxs-enterprises.org) , the left navigation is in an editable
region in the left column of a table and can be different on every page, but
the formatting is set in the DWT and external style sheet.

With the configuration as you describe it, the formatting could be in an
external style sheet, or in the individual pages - though any of your
options could be applied, and combinations of them! For consistency between
pages, use the DWT and external style sheet to apply styles to the link bar.
 
S

Stefan B Rusynko

All editable regions should be in a block level tag pair
- apply a style sheet to the DWT w/ a style or style class assigned to the surrounding tag
But be aware you can not prevent users from formatting the editable regions w/ any html formatting they care to add
--




|I use Dynamic Web Template with a layout table, of which 3 cells are made
| editable. One of the editable cells contains simple text navigation bar,
| different for each page attached to DWT. I can't understand how the
| formating of such navigation bar works (mostly font size).
|
| Do I format the cell in the DWT, or the cell in the attached page, or is
| there a style? for the text navigation bar that can be edited, or do I have
| to format the text on each page? How to format the DWT cell designed such
| bars so that they are properly formated on attached pages? Many thanks.
 
G

Guest

Thanks Stefan. So would it mean that I have to include a block-level tags
such as <p> or <span> before and after the editable content tags? e.g.:

<span><!-- #BeginEditable "Location%20Map" --> ...EDITABLE CONTENT... <!--
#EndEditable --> </span>

and then format the <span> in DWT with a style?

What happens if such tag is indeed used in the original DWT, the user
formated the editable content with inline style/<font> tag, thus overriding
the DWT style formating, and I would like to revert all such formated pages
to the original DWT style just once (understanding that they can be
overridden again by the user)? Thanks.
 
S

Stefan B Rusynko

Yes
Except <span> is not a block level tag (it is an inline tag)
See http://www.w3.org/TR/html4/struct/global.html#edef-SPAN
Use <p> or <div> or <td>, etc
See http://www.w3.org/TR/html4/sgml/dtd.html#block for a list

And the apply the style w/ a class as in
<div class="myfont">

There is nothing to prevent the user from using html formatting w/i the region and overriding any style
set
The only way to remove their Html tag formatting (say <font color="red">) is open the page and use Edit Select All and Format Remove
Formatting. If they have applied inline styles you would need to remove them in code view

PS
Do not use spaces in your region names
Change Location Map to LocationMap or Location_Map

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| Thanks Stefan. So would it mean that I have to include a block-level tags
| such as <p> or <span> before and after the editable content tags? e.g.:
|
| <span><!-- #BeginEditable "Location%20Map" --> ...EDITABLE CONTENT... <!--
| #EndEditable --> </span>
|
| and then format the <span> in DWT with a style?
|
| What happens if such tag is indeed used in the original DWT, the user
| formated the editable content with inline style/<font> tag, thus overriding
| the DWT style formating, and I would like to revert all such formated pages
| to the original DWT style just once (understanding that they can be
| overridden again by the user)? Thanks.
|
| "Stefan B Rusynko" wrote:
|
| > All editable regions should be in a block level tag pair
| > - apply a style sheet to the DWT w/ a style or style class assigned to the surrounding tag
| > But be aware you can not prevent users from formatting the editable regions w/ any html formatting they care to add
| > --
| >
| > _____________________________________________
| > SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| > "Warning - Using the F1 Key will not break anything!" (-;
| > To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| > _____________________________________________
| >
| >
| > |I use Dynamic Web Template with a layout table, of which 3 cells are made
| > | editable. One of the editable cells contains simple text navigation bar,
| > | different for each page attached to DWT. I can't understand how the
| > | formating of such navigation bar works (mostly font size).
| > |
| > | Do I format the cell in the DWT, or the cell in the attached page, or is
| > | there a style? for the text navigation bar that can be edited, or do I have
| > | to format the text on each page? How to format the DWT cell designed such
| > | bars so that they are properly formated on attached pages? Many thanks.
| >
| >
| >
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top