HTML Question

Fiveohhh

Diamond Member
Jan 18, 2002
3,776
0
0
I have a quck question, when I put the bold part of the code below in it makes takes away the center attribute and aligns everything to the left. Anyone know why it does this it only does it in Opera, IE loads the page fine. Text thats the page its the footer part of it.




<TABLE width="700" height="250">
<TR>
<td>
<p align="center">Subscribe to our IC Agents<br>Newsletter
<form action="http://www.travelquestonline.com/cgi-bin/dada/mail.cgi">
<input type="hidden" name="flavor" value="subscribe">
<input type="hidden" name="list" value="icagents">
<input type="text" name="email" value="email address">
<input type="submit" value="Submit">
</form>


<img name="header_bottom" src="images/header-grn.gif" vspace="10"><br>
<img border="0" src="images/moreinfo.gif" width="680" height="25"><br>
<img name="header_bottom" src="images/header.gif"><br>
<b>
</b> <font color="#808080"></fontcolor="#808080"> 9880 Kaiser Blvd. &amp;#149; Monticello, Minnesota
55362<br>
Toll Free: 1-800-392-6484 &amp;#149; Fax: 763-225-0601</font><br><br>
<img border="0" src="images/tqlogo.gif"><br><br>
<font face="Arial, Helvetica, sans-serif" size="2"color="#175FA7"><b>We are travel professionals who know our clients, specializing in customer
care and customer service.</font></b><br><br>
<font face="Arial, Helvetica, sans-serif" size="1">&amp;copy;2003
<a href="http://www.travelquest.to">Travel Quest of Monticello, LLC</a></p>
</td>
</TR>
</TABLE>
</body>
</html>Text
 

FeathersMcGraw

Diamond Member
Oct 17, 2001
4,041
1
0
Try closing the <p> (</p> ) around the content you want centered. The line break (<br> ) is what's ending the center alignment.
 

MrScott81

Golden Member
Aug 31, 2001
1,891
0
76
actually, i see that you might have closed it way later in the code...however, i don't think you can have form tags inside a paragraph...try putting the form inside a <center> tag.
 

MrScott81

Golden Member
Aug 31, 2001
1,891
0
76
Originally posted by: FeathersMcGraw
Try closing the <p> (</p> ) around the content you want centered. The line break (<br> ) is what's ending the center alignment.

<br>'s don't end center alignments.
 

Fiveohhh

Diamond Member
Jan 18, 2002
3,776
0
0
Originally posted by: MrScott81
actually, i see that you might have closed it way later in the code...however, i don't think you can have form tags inside a paragraph...try putting the form inside a <center> tag.

That worked thanks:D