Randy Posted March 15, 2006 Share Posted March 15, 2006 Why does closing the [code]</form>[/code] 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 Quote Link to comment https://forums.phpfreaks.com/topic/5021-just-a-quick-question/ Share on other sites More sharing options...
Gaia Posted March 15, 2006 Share Posted March 15, 2006 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. Quote Link to comment https://forums.phpfreaks.com/topic/5021-just-a-quick-question/#findComment-17845 Share on other sites More sharing options...
Randy Posted March 16, 2006 Author Share Posted March 16, 2006 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] Quote Link to comment https://forums.phpfreaks.com/topic/5021-just-a-quick-question/#findComment-18050 Share on other sites More sharing options...
AndyB Posted March 16, 2006 Share Posted March 16, 2006 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 ....[code]<form style='margin:0px;' ...[/code] Quote Link to comment https://forums.phpfreaks.com/topic/5021-just-a-quick-question/#findComment-18070 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.