Jump to content


Photo

Just a quick question


  • Please log in to reply
3 replies to this topic

#1 Randy

Randy
  • Members
  • PipPip
  • Member
  • 25 posts
  • LocationNewcastle, UK

Posted 15 March 2006 - 10:56 AM

Why does closing the
</form>
tag sometimes make a new line, and sometimes not?
Also, how do i stop it from creating a new line?

one day, my website was fine, then the next day, (nothing had been changed/edited) a new line appears

#2 Gaia

Gaia
  • Members
  • PipPipPip
  • Advanced Member
  • 95 posts
  • LocationCanada

Posted 15 March 2006 - 04:15 PM

Hmm I dont' believe </form> will make a new line, maybe if you have it wrapped around a span, div, or p tag it might.

#3 Randy

Randy
  • Members
  • PipPip
  • Member
  • 25 posts
  • LocationNewcastle, UK

Posted 16 March 2006 - 05:53 PM

ok, i was going to post something but it said "Not Acceptable" so here is the post which i was going to post...

[a href=\"http://ryan.electric-monkey.com/phpfreakspost.txt\" target=\"_blank\"]http://ryan.electric-monkey.com/phpfreakspost.txt[/a]

#4 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 16 March 2006 - 06:43 PM

The form generates the 'new line' because ... that's how browsers interpret the form tag by default. If you want to alter the visual output of the form, you can use some simple CSS ....
<form style='margin:0px;' ...

Legend has it that reading the manual never killed anyone.
My site




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users