Interactive Buttons - Alignment with Text

G

Guest

Is there a way to align an interactive button with a line of text that follows it?
 
J

Jim Buyens

-----Original Message-----
Is there a way to align an interactive button with a
line of text that follows it?

The most direct is to:

1. Select the Interactive Button.
2. Switch to Code or Split view.
3. Add an align="top" or align="middle" attribute
to the Interactive Button's <img> tag.

Somewhat more elegant:

1. Select the Interactive Button.
2. Switch to Code or Split view.
3. Note the value of the tag's id= attribute.
4. Add a style to the <head> section along the lines of:
<style>
#img1 {vertical-align:middle;}
</style>
where img1 is the id you noted in step 3.

The following style wil affect all <img> tags on your
page, including Interactive Buttons:

<style>
img {vertical-align:middle;}
</style>

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
J

Jim Buyens

These specific steps aren't from the book, but the book does cover
all the techniques invovled, with step-by-step instructions for
using them.

In this case, for example, you'd have to figure out yourself that
the option you want doesn't appear in the Interactive Button
Properties dialog box, and resort to looking at the HTML. There,
you would find that an <img> tag implements the Interactive Button.

Once you knew that, Chapter 21 would tell you how to create
a CSS rule that modified the <img> tag's apparance.

In general, for each FrontPage component or feature, you would
find:

o A description of what the feature does.
o Warnings of any common limitations.
o Step-by-step instructions for creating and modifying the
component, with screen shots and instructions for setting
each option.
o Common problems, fixes, and workarounds.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 

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