Which of these <p> tags is causing the padding....

  ade.h 21:23 04 Aug 06
Locked

....in Firefox? Slightlymad mentioned recently that Firefox helpfully (!) adds its own padding in certain places and that the cure is to remove some p> tags. Questions is; which ones?

form name="Table7FORM" action="askform.php" METHOD=POST>
table id="Table7" border=0 BGCOLOR="#CDAA82" cellspacing=0 cellpadding=0 width="100%" height=487>
tr valign=top height=70>
td colspan=6>
p>

table width=638 border=0 cellspacing=0 cellpadding=0 align=left nof=te>
tr>
td class="TextObject" style="padding-left: 15px; padding-top: 17px; padding-right: 15px;">
h3 style="text-align: center;"> span style="font-size: 10pt; font-weight: normal;">The complete ASK Decorating website will be here soon, but in the meantime, you can request more information and a free no-obligation quote by completing the form. /span> /td>
/tr>
/table>
/p>
/td>

/tr>
tr valign=top height=28>
td width=180>
p>
table width=180 border=0 cellspacing=0 cellpadding=0 align=left nof=te>
tr>
td class="TextObject">
h3 style="text-align: right;"> b>Title: /b> /td>

/tr>
/table>
  /p>
/td>
td colspan=5>
p>
select id="Forms Combo Box1" name="title">
option value="Mr." SELECTED>Mr. /option>

option value="Mrs.">Mrs. /option>
option value="Miss">Miss /option>
option value="Ms.">Ms. /option>
/select>
/p>
/td>
/tr>

tr valign=top height=27>
td>
p>
table width=180 border=0 cellspacing=0 cellpadding=0 align=left nof=te>
tr>
td class="TextObject">
h3 style="text-align: right;"> b>First name: /b> /td>
/tr>

/table>
  /p>
/td>
td colspan=5>
p> input id="Forms Edit Field2" type=text name="firstname" value="" size=30 maxlength=30> /p>
/td>
/tr>
tr valign=top height=28>
td>

p>
table width=180 border=0 cellspacing=0 cellpadding=0 align=left nof=te>
tr>
td class="TextObject">
h3 style="text-align: right;"> b>Last name: /b> /td>
/tr>
/table>
  /p>

/td>
td colspan=5>
p> input id="Forms Edit Field3" type=text name="lastname" value="" size=30 maxlength=30> /p>
/td>
/tr>
tr valign=top height=28>
td>
p>
table width=180 border=0 cellspacing=0 cellpadding=0 align=left nof=te>

  ade.h 21:23 04 Aug 06

<tr>
<td class="TextObject">
<h3 style="text-align: right;"><b>E-mail address:</b></td>
</tr>
</table>
 </p>
</td>
<td colspan=5>

<p><input id="Forms Edit Field4" type=text name="email" value="" size=30 maxlength=50></p>
</td>
</tr>
<tr valign=top height=28>
<td>
<p>
<table width=180 border=0 cellspacing=0 cellpadding=0 align=left nof=te>
<tr>
<td class="TextObject">

<h3 style="text-align: right;"><b>Daytime phone no:</b></td>
</tr>
</table>
 </p>
</td>
<td colspan=5>
<p><input id="Forms Edit Field5" type=text name="daytel" value="" size=30 maxlength=30></p>
</td>

</tr>
<tr valign=top height=28>
<td>
<p>
<table width=180 border=0 cellspacing=0 cellpadding=0 align=left nof=te>
<tr>
<td class="TextObject">
<h3 style="text-align: right;"><b>Evening phone no:</b></td>

</tr>
</table>
 </p>
</td>
<td colspan=5>
<p><input id="Forms Edit Field6" type=text name="evetel" value="" size=30 maxlength=30></p>
</td>
</tr>
<tr valign=top height=28>

<td>
<p>
<table width=180 border=0 cellspacing=0 cellpadding=0 align=left nof=te>
<tr>
<td class="TextObject">
<h3 style="text-align: right;"><b>Preference:</b></td>
</tr>
</table>

 </p>
</td>
<td align=center width=30>
<p><input id="Forms Radio Button1" type=radio CHECKED name="radio1" value="daytime"> </p>
</td>
<td width=70>
<p>
<table width=70 border=0 cellspacing=0 cellpadding=0 align=left nof=te>
<tr>

<td class="TextObject">
<h3><b>Daytime</b></td>
</tr>
</table>
 </p>
</td>
<td align=center width=30>
<p><input id="Forms Radio Button2" type=radio name="radio1" value="evening"> </p>

</td>
<td colspan=2>
<p>
<table width=118 border=0 cellspacing=0 cellpadding=0 align=left nof=te>
<tr>
<td class="TextObject">
<h3><b>Evening</b></td>
</tr>

  ade.h 21:24 04 Aug 06

</table>
 </p>
</td>
</tr>
<tr valign=top height=28>
<td>
<p>
<table width=180 border=0 cellspacing=0 cellpadding=0 align=left nof=te>
<tr>

<td class="TextObject">
<h3 style="text-align: right;"><b>Work required:</b></td>
</tr>
</table>
 </p>
</td>
<td colspan=4>
<p>

<select id="Forms Combo Box2" name="dropdown1">
<option value="domestic" SELECTED>Domestic</option>
<option value="commercial">Commercial</option>
</select>
</p>
</td>
<td width=329>
<p>

<select id="Forms Combo Box3" name="dropdown2">
<option value="interior" SELECTED>Interior</option>
<option value="exterior">Exterior</option>
</select>
</p>
</td>
</tr>
<tr valign=top height=134>

<td>
<p>
<table width=180 border=0 cellspacing=0 cellpadding=0 align=left nof=te>
<tr>
<td class="TextObject">
<h3 style="text-align: right;"><b>Your message:</b></td>
</tr>
</table>

 </p>
</td>
<td colspan=5>
<p><textarea WRAP=PHYSICAL id="Forms Multi-Line1" name="message" rows=8 cols=50></textarea></p>
</td>
</tr>
<tr height=30>
<td>

<p> </p>
</td>
<td colspan=5>
<p><input type=submit name="submit" value="Send Message" id="Forms Button1"></p>
</td>
</tr>
<tr height=30>
<td colspan=6>
<p> </p>

</td>
</tr>
</table>
</form>
</td>
</tr>
</table>

Hope I pasted all that correctly.

  wolfie3000 21:27 04 Aug 06

WOW!!!

this must be the biggest post that i dont understand lol.

Sorry i cant help you ade.h.

  ade.h 21:27 04 Aug 06

Doh!

I have asked the FE to move this when he's free.

  Forum Editor 23:53 04 Aug 06

Now.

Moving to WebDesign from Speakers Corner.

  harristweed 09:54 05 Aug 06

I must admit I did not read the code! I'm not sure what the problem is, so can't advise which p tags to remove but why remove p tags? Why not use CSS:

p { padding: 0;} ?

  ade.h 10:24 05 Aug 06

Thanks for the move!

  ade.h 10:28 05 Aug 06

Hi.

Unfortunately, NOF only supports CSS for text box formatting and nothing else. Those of you who use DW are spoilt in comparison!
Besides, I only have very modest CSS knowledge.

Slightlymad mentioned that removing the p tags is the way to stop unwanted padding in Firefox. It is not a problem that I have had up to now to any great degree, but a new site is inflicted with it on its contact form.

  harristweed 12:27 05 Aug 06

You must be able to add code manually in NOF. Put this in to the document head:

< style type="text/css" >
<!--
p { padding: 0;}
-->
</style>

That will (should) remove all padding from p tags.

  ade.h 12:56 05 Aug 06

There is a small amount of support for adding code, mostly for certain objects, navbars, etc. I'll have a look for a means to add to the head area and get back to you later. Thanks very much.

This thread is now locked and can not be replied to.

Surface Pro 5 News - release date, UK price, features, specs

Animator Emanuele Kabu’s psychedelic video is a stunning tribute to Lisbon city

Best Mac antivirus 2017