Jump to content

VERY simple issue.

- - - - -

  • Please log in to reply
2 replies to this topic

#1
12rmcmillin

12rmcmillin

    Newbie

  • Members
  • PipPip
  • 28 posts
Free Album Finder

I want to align the text boxes.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>

<head>

<title>Free Album Finder</title>

</head>

<body>

<form style="text-align: left;" method="post" action="results.php">

<span style="font-family: Century Gothic;">

Band Name:   <input type="text" name="band"/><br />

Album Name: <input type="text" name="album" /><br>

<input type="submit" value="Search!" />

</form>

</body>

</html>

What would I use to align the two text boxes EXACTLY?

#2
Vaielab

Vaielab

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 547 posts
Easiest way is with table
<table>

  <tr>

    <td><span... /></td>

    <td><input ... /></td>

  </tr>

  <tr>

    <td><span... /></td>

    <td><input ... /></td>

  </tr>

</table>


#3
12rmcmillin

12rmcmillin

    Newbie

  • Members
  • PipPip
  • 28 posts
Thanks, can't believe I didn't think of that. I'm WAY too rusty.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users