| Author |
Spaces in horizontal navigation bars (embedded in created HTML)
|
|
|
| Hi,
I'm trying to find out if it is possible to stop the spaces that are
embedded within the code created for a horizontal navigation bar from
appearing. When viewing source it is possible to see them between one button
and the next.
thanks for any help
Neil
| |
| Stefan B Rusynko 2004-06-29, 7:14 am |
| You can edit the formats used for navbars to remove the spaces
The formats for the Nav bars are stored In the file NAVBARS.INI in the folder
C:\Program Files\Microsoft Office\OFFICE11\1033\BOTSTYLE
or for FP2002 in
C:\Program Files\Microsoft Office\Office10\1033\botstyle
Make a copy of the file (for backup)
Add your own format using one of the existing styles as a template
For example, Copy the 1st one
[Bars]
Name=Bars
Description=An HTML style where each link is separated by a vertical line.
Button="<A HREF="#URL#" TARGET="#TARGET#" STYLE="{text-decoration: none;}">#LABEL#</A>"
Selected="#LABEL#"
H-Separator=" | "
V-Separator="<br>"
Preview="bars.gif
And edit it to be a new format per below
[MyBars]
Name=MyBars
Description=MY HTML style where each link is separated by a vertical line without spaces.
Button="<A HREF="#URL#" TARGET="#TARGET#" STYLE="{text-decoration: none;}">#LABEL#</A>"
Selected="#LABEL#"
H-Separator="|"
V-Separator="<br>"
Preview="bars.gif
--
_____________________________________________
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
_____________________________________________
"AOE" <neil.scott2@virgin.net> wrote in message news:OrNijFUXEHA.1356@TK2MSFTNGP09.phx.gbl...
| Hi,
|
| I'm trying to find out if it is possible to stop the spaces that are
| embedded within the code created for a horizontal navigation bar from
| appearing. When viewing source it is possible to see them between one button
| and the next.
|
| thanks for any help
|
| Neil
|
|
| |
|
| You can reduce the size of the spaces by wrapping the Nav Bar in a block, or
inline, HTML element with a very small font size:
<span style="font-size:1px;"><!--NAV BAR goes here--></span>
The spaces will be reduced to the minimum font width the browser supports -
1px in IE6, but you should check in other browsers to see the effect.
Ron
--
Reply only to group - emails will be deleted unread.
"AOE" <neil.scott2@virgin.net> wrote in message
news:OrNijFUXEHA.1356@TK2MSFTNGP09.phx.gbl...
> Hi,
>
> I'm trying to find out if it is possible to stop the spaces that are
> embedded within the code created for a horizontal navigation bar from
> appearing. When viewing source it is possible to see them between one
button
> and the next.
>
> thanks for any help
>
> Neil
>
>
|
|
|
|
| Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |