Try this:
In head section of page (or external style sheet)
<style>
.nav a{text-decoration: none;
color: #000080;
font: 12px Arial,Helvetica;
letter-spacing: 0px;
}
</style>
In the body of the page
<div class="nav"> <!-- navigation bar goes here --> </div>
<div can be replaced by <span
--
Ron Symonds (Microsoft MVP - FrontPage)
Reply only to group - emails will be deleted unread.
Stefan - didn't work for some reason. I backed up 1033\NAVBARS.ini,
then, in the original, took a copy of [Bars], which is the one I was
using, declared it to be [DanBars], changed the NAME to DanBars, edited
the STYLE= part, saved it, opened FP2003, opened st11.dwt (the dwt
using Bars), edited the link bar with custom links to use the style
DanBars (which now existed in the available styles), closed FP,
re-opened it and opened st11.dwt, and behold, the code inside the
<!webbot...> for that bar was no different from the previous version of
the code, except that, at the end, it had S-Bar="DanBars" -->. So I
don't know what happened/happens in between the bot reading the ini and
squirting code into the page code. Just in case you can help, here is
the .ini entry for DanBars, also the code generated by the webbot:-
[DanBars]
Name=DanBars
Description=An HTML style where each link is separated by a vertical
line.
Button="<A HREF="#URL#" TARGET="#TARGET#"
STYLE="{text-decoration: none; color: #008080; font-family: arial,
helvetica; letter-spacing: 0px; font-size: 9pt;}">#LABEL#</A>"
Selected="#LABEL#"
H-Separator=" | "
V-Separator="<br>"
Preview="bars.gif"
<!--webbot bot="Navigation" S-Type="sequence" S-Orientation="vertical"
S-Rendering="html" B-Include-Home="FALSE" B-Include-Up="FALSE"
U-Page="sid:1089" S-Btn-Nml="<A HREF="#URL#"
TARGET="#TARGET#" STYLE="{text-decoration:
none;}">#LABEL#</A>" S-Btn-Sel="#LABEL#"
S-Btn-Sep="<br>" S-Bar="DanBars" -->
I do hope you (or someone) can help.
TIA,
Dan
You can customize that nav bar
The formats for the Nav bars are stored in the folder
C:\Program Files\Microsoft Office\Office10\1033\botstyle
or for FP 2003 in
C:\Program Files\Microsoft Office\Office11\1033\botstyle
In the file NAVBARS.INI
Make a copy of the file (for backup)
Add you own using one of the existing styles as a template
--
| Chris and Tom - I'm using an HTML style from near the end of the
Style tab
| that comes up when making a new Link Bar with custom links - it's
the one
| called "An HTML style where each link is separated by a vertical
line.", and
| I'm using it for a simple vertical nav bar. It appears that I can
change
| some of the characteristics (there's a style= in the webbot code
that sets
| the text-decoration, so I can change that), but I'm stymied trying
to
| control text color. Since this style doesn't appear in the Themes,
I can't
| get at it that way, and setting the color, weight etc. outside the
webbot
| doesn't work. ANY help greatly appreciated - the style does pretty
well
| exactly what I want for this link bar, except for color, weight,
font and
| size.
|
| TIA,
|
| Dan
|
| | > there's a lot of stuff that can be found inside a webbot tag.
which one
| > are
| > you looking at?
| >
| > mostly it's stuff that FrontPage reads or it's server extensions
deal
| > with.
| > sometimes what you see in code view is different than what you'll
see if
| > you
| > view the source of the page with a browser.
| >
| > --
| > Chris Leeds,
| > Microsoft MVP-FrontPage
| >
| > ContentSeed: great tool for web masters,
| > a fantastic convenience for site owners.
| >
http://contentseed.com/
| > --
| > | >> Could someone please tell me what language webbots/Web components
use (FP
| >> 2003)? I mean the code generated inside the <!--webbot
bot.... --> bits.
| >>
| >> TIA
| >>
| >> Dan
| >>
| >> --
| >> Dan E
| >> webbie(removethis)@preferredcountry.com
| >>
| >>
| >
| >
|
|