Ronx; Thanks again for your efforts.
Listed below is the code from an attempt to figure out why I was in
some
of
the VML etc system.
To generate this new page, I;
1. Opened a new One Page web
2. Opened a new Blank page.
3. Added a couple of lines of text to describe the page.
4. In the middle of the third line that starts with "Insert", I did a
Insert>Picture>From File.
From this it seems to me that all the VML stuff may have been a
carryover
from the prior web that I was working in.
Do you agree?
Code
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<title>New Page 1</title>
</head>
<body>
<p>New Web</p>
<p>New Blank Page</p>
<p>Insert<img border="0"
src="file:///C:/Documents%20and%20Settings/Harold/My%20Documents/My%20Web%20Sites/mysite9/Small%20Test.gif"
width="75" height="91">Picture
From File</p>
</body>
</html>
:
VML is Vector Mark-up Language, a technology that allows drawings to
be made in web pages (and other media) using text characters only. It
is only supported by Internet Explorer. VML also uses absolute
positioning which can be a major disadvantage in some circumstances.
Never use Text boxes, or any other VML generated objects, unless you
are building a Intranet site and have control over the browsers being
used.
As far as I can see from the FP2003 menus, you cannot get into a Text
box by accident - it has to be chosen from the drawing tool bar.
Everything on this toolbar (except "Insert Picture from file") will
use VML graphics.
For laying out a web page, either use CSS combined with divs or
tables (with or without CSS).
Tables have the shortest learning curve, but are not the most flexible
layout tool.
You can control the width of a page using a fixed width table (centred
or otherwise) and place all content into it. Example:
<body>
<table width="760" align="center">
<tr>
<td>content goes here, which may include more tables, but avoid
absolute positioning</td>
</tr>
</table>
</body>
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
Ronx; you may have identified the problem, but I have no idea how I
got into
the VML text box. As I said I started with a blank page and mearly
did an
Inset>Picture>From a File. Is there a default setting or something
to prevent
it generating the Text box?
What is VML?
I knew one of the small picts was in a layer. I did that purposly
since it
was the only method I found to be able to move them.
On a different page I have added text within a text box in order to
prevent
wierd re-formating of "Centered paragraphs" with different screen
sizes. Is
that also liable to get me in trouble?
Can you recommend a website or other source to explain how & when to
use
these elements such as layers, text boxes, and tables. Somehow I
have not
been able to find that key in the help files or in MS tutorials etc.
Is there a way of controling the width of a page so that positions
on the
screen will not seem so erratic. If not in a text box is there a way
to
contol where the "Center" of the screen is when using the centered
text
positioning?
:
Your small test file is in a conventional layer, which you should
be
able to move around the screen without problems. Note that this
layer
is NOT in any other container, such as <td> or <p>, if it were,
you
may have problems later.
The big test image is in a VML text-box. IMO this is a disaster
waiting to happen.
VML graphics work in IE5.5 and later running on Windows only.
Other
browsers and platforms will see nothing at all, or a poor quality
.gif
rendition of the graphic. VML (WordArt, text boxes, and any object
constructed using the FrontPage drawing toolbar, should be
avoided.)
This VML text box is absolutely positioned, and is in a <p> </p>
container. Placing an absolutely positioned element in a container
like this can cause problems (there are exceptions to this).
--
Ron Symonds
Microsoft MVP (FrontPage)
Reply only to group - emails will be deleted unread.
Well, just below is the code for my test file.
It started as a blank page, but has never been published. It has
one
large
picture in the upper left corner, and a smaller picture below it,
still on
the left. To the right of the big picture is a copy of the small
picture
within a layer that can be relocated.
Thanks for your interest. I'm mystified!
....Code Below......
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns
="urn:schemas-microsoft-com
ffice
ffice"
xmlns="
http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<link rel="File-List" href="Picture%20Test_files/filelist.xml">
<title>New Page 1</title>
<!--[if !mso]>
<style>
v\:* { behavior: url(#default#VML) }
o\:* { behavior: url(#default#VML) }
.shape { behavior: url(#default#VML) }
</style>
<![endif]--><!--[if gte mso 9]>
<xml><o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]-->
</head>
<body>
<p><!--[if gte vml 1]><v:shapetype id="_x0000_t202"
coordsize="21600,21600" o:spt="202"
path="m,l,21600r21600,l21600,xe">
<v:stroke joinstyle="miter"/>
<v
ath gradientshapeok="t" o:connecttype="rect"/>
</v:shapetype><v:shape id="_x0000_s1025" type="#_x0000_t202"
style='position:absolute;
left:323.25pt;top:71.25pt;width:152.25pt;height:23.25pt;z-index:1'>
<v:textbox>
<table cellspacing="0" cellpadding="0" width="100%"
height="100%">
<tr>
<td align="center">Within a Layer, will Move</td>
</tr>
</table>
</v:textbox>
</v:shape><![endif]--><![if !vml]><span
style='mso-ignore:vglayout;position:
absolute;z-index:1;left:430px;top:94px;width:209px;height:37px'><img
width=209
height=37 src="Picture%20Test1_files/image001.gif"
alt="Text Box: Within a Layer, will Move
" v:shapes="_x0000_s1025"></span><![endif]><img border="0"
src="images/Big%20test.gif" width="276" height="335">Big
picture</p>
<p> </p>
<p><img border="0" src="images/Small%20Test.gif" width="75"
height="91">Little
Picture</p>
<div style="position: absolute; width: 129px; height: 134px;
z-index: 1;
left: 466px; top: 147px" id="layer1">
<img border="0" src="images/Small%20Test.gif" width="75"
height="91"></div>
<p> </p>
</body>
</html>
:
Hi halek,
You can simply paste the HTML for the page (it is text) into a
newsgroup
post.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
Thanks for responding.
Thus far I have not published any of my recent work, but I
could
attach a
page that I have been experimenting with if you could tell me
how
to do
this.
I guess one way would be attach it to an email if you give me
an
address.
If DWT means dynamic web templates? The answers is no, nor
any
of the
other
fancier options!
I have recently upgraded to FP2003 but I do not remember
having
this
problem
with FP2000. I will did out an old page and check that out
:
Do you have a url for a page exhibiting this behavior?
Are you using DWTs?
--
Cheryl D. Wise
MS FrontPage MVP
http://mvp.wiserways.com
http://starttoweb.com
Online instructor led web design training in FrontPage,
Dreamweaver and more!
Next Session June 26th
I am probably missing something, but I can't seem to find