Dashed Line Position -- Really Easy Question

R

Rothman

Bear with me, my HTML coding skills development came to a screeching halt in
1998:

So, I inserted dashed lines using FrontPage into a web page. Going through
the code, I figure FrontPage uses <v:line> to insert the line. What is the
attribute or value that changes the vertical position of the line (up the
page or down the page)? I'd like to be able to move the line up or down
manually.

Thank you!
 
R

Rothman

No, I'm talking about a horizontal line. Used the drawing toolbar to put it
in. When I look at the code, seems to be put there with some sort of
<v:line> command. The line doesn't appear where I want it to and I want to
"lower" its position on my page.
 
R

Ronx

That dashed line is VML graphics, which will only render correctly in
Internet Explorer. It is also absolutely positioned, so if a user
changes the browser size or text size, thus altering the layout of the
page (there is nothing you can do to stop this) the line will appear to
move - probably obscuring some existing text or overlaying another
image.

For a horizontal line use either an image (.gif or .jpg) or the <hr>
tag. The <hr> tag is easily obtained in Design or Normal view using
Insert->Line - though this will not be dashed, it can be styled into a
suitable colour.

See http://www.rxs-enterprises.org/tests/vml-graphics.htm for reasons
why VML should be avoided on websites.
 

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