How to prevent users from putting text in a cell of a table?

H

Hollis Paul

I am using FP03 to create themes to which I add a background image
which will subsequently be used in an Outlook stationery. If I have a
background image with a left hand border, I don't want the user to be
typing the text in the border area. I can add a 3-cell table, with the
left cell just covering the border graphic, a broad cell covering the
main writing space in the center, and the right-most cell providing a
right-hand margin. If the user starts typing in the central cell, then
his text stays within the cell. If the user starts typing in the left
cell, then the text extends across all cells, and you can go back to
just typing in the central cell.

How do I prevent the users from typing in the outer cells? I could use
three tables, but probably have the same problem.

Finally, how can I position a blank, opaque area in the middle of the
background image and keep the user input there?
 
S

Stefan B Rusynko

Background images are just that
- they are in the background behind some thing else
(so by design something can be added over them)
- and they will tile if the foreground content is larger than background image
Split you image up and use a foreground image in the left and right cell
If you don't want to use a normal image on the left and right
- add a blank spacer image in the left & right cell
(but nothing can prevent a user from deleting anything you put on the page in the foreground in stationary)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
_____________________________________________


|I am using FP03 to create themes to which I add a background image
| which will subsequently be used in an Outlook stationery. If I have a
| background image with a left hand border, I don't want the user to be
| typing the text in the border area. I can add a 3-cell table, with the
| left cell just covering the border graphic, a broad cell covering the
| main writing space in the center, and the right-most cell providing a
| right-hand margin. If the user starts typing in the central cell, then
| his text stays within the cell. If the user starts typing in the left
| cell, then the text extends across all cells, and you can go back to
| just typing in the central cell.
|
| How do I prevent the users from typing in the outer cells? I could use
| three tables, but probably have the same problem.
|
| Finally, how can I position a blank, opaque area in the middle of the
| background image and keep the user input there?
|
| --
| Hollis Paul
| Mukilteo, WA USA
|
|
 
H

Hollis Paul

Background images are just that
- they are in the background behind some thing else
(so by design something can be added over them)
- and they will tile if the foreground content is larger than background image
Split you image up and use a foreground image in the left and right cell
If you don't want to use a normal image on the left and right
- add a blank spacer image in the left & right cell
(but nothing can prevent a user from deleting anything you put on the page in the foreground in stationary)
Thanks, Stefan, for the information. I had been using my cells without borders. Perhaps
I should have a border as input field indicator.

I was also testing with painting backgrounds to the cell, which does give a blank
background for the cell area. Not exactly what I wanted. I liked the effect
better when I just provided background for the characters. Is there a way to specify
a background color for the characters in the cell so it appears only as the text is
typed?
 
H

Hollis Paul

I was also testing with painting backgrounds to the cell, which does give a blank
background for the cell area. Not exactly what I wanted. I liked the effect
better when I just provided background for the characters. Is there a way to specify
a background color for the characters in the cell so it appears only as the text is
typed?
Turns out that the automatic background for the characters is a font style, just not one
that FrontPage allows you do set.

I found where to put the font style tag. It doesn’t go into the css file. Instead it
goes into the htm file.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- saved from url=(0050)http://testweb/TestNet/DocDirSubweb/ThemeTest2.htm -->
<HTML><HEAD><TITLE>ThemeTest2</TITLE>
<META http-equiv=Content-Type content="text/html;
charset=windows-1252"><!--mstheme--><LINK
href="ThemeTest2_files/vivi1011.css" type=text/css rel=stylesheet>
<META content="vividtest 1011" name="Microsoft Theme">
<META content="MSHTML 6.00.2900.5512" name=GENERATOR></HEAD>
<BODY>
<DIV align=center>
<TABLE id=table1 borderColor=#333399 width="90%" border=2>
<TBODY>
<TR>
<TD><font style="BACKGROUND-COLOR: #ece9d8">Now in the time!
</TD></TR></TBODY></TABLE></DIV></BODY></HTML>
 

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