Sent by Rich Gray on 13 August 2002 23:11
I'm just starting out with a tableless CSS site - I have a problem which I'm
scratching my head over...
The CSS in question is here...
#sub {
float: right;
border-style: solid;
border-width: 1px;
margin-top: 20px;
padding: 20px;
width: 60px;
font-size: 70%;
background-color: #ccc;
}
The HTML in question is here...
<div id="sub">
<p>Please join our mailing list by submitting your email address below</p>
<form class="input" method="post" action="sub.php">
<input type="text" length="15">
<input type="submit" value="Apply" title="Join our Mailing List">
</form>
</div>
The problem is that the text wraps after each word i.e.
Please
join
our
mailing
list
by
submitting
your
email
address
below
Can someone tell me what I've missed...
TIA
Rich