This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > March 2005 > learning html -how align text on top of form box and how do lots of spaces between 2 wor





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author learning html -how align text on top of form box and how do lots of spaces between 2 wor
Bleeper

2005-03-11, 4:23 am

In a form, how would I get the last name to be right over the left edge of
the box underneath it. Also, what's the best way of doing lots of spaces,
  requires too many for my application.
THANKS in advance!

first name last name
box underneath box underneath


Bleeper

2005-03-11, 4:24 am

Thank you!!!
"traypup" <webforumsuser@macromedia.com> wrote in message
news:d0rdl6$h9h$1@forums.macromedia.com...
> make a two row, two column table. put first name, last name, and the two
> boxes,
> each into a cell. Left align everything within their respective table
> cells.
>
> voila!
>
> when I need many spaces, I make a small transparent or background-colored
> gif
> and stick it where I need it.
>
> good luck!
>



Murray *TMM*

2005-03-11, 6:20 pm

While a table will work OK, you should also consider using CSS to position
each of those elements. Consider this code (inline styles shown for
clarity) -

<body>
<p style="margin-bottom:3px;margin-left:4px;">First name <span
style="margin-left:132px;">Last name</span></p>
<form name="form1" method="post" action="" style="margin:3px; ">
<input type="text" name="textfield2">
<input type="text" name="textfield" style="margin-left:50px;">
</form>
</body>

Try pasting that into a page in DW and see how it looks.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Bleeper" <bleeper101-info@yahoo.com> wrote in message
news:d0raqv$dse$1@forums.macromedia.com...
> In a form, how would I get the last name to be right over the left edge of
> the box underneath it. Also, what's the best way of doing lots of spaces,
>   requires too many for my application.
> THANKS in advance!
>
> first name last name
> box underneath box underneath
>



Sponsored Links


Copyright 2003 - 2009 forum4designers.com  Software forum  Computer Hardware reviews