Shoutbox

HTML layout is messed up. - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: HTML layout is messed up. (/showthread.php?tid=80974)

HTML layout is messed up. by Baggins on 01-16-2008 at 12:23 AM

Code for http://1337z.com/contact that shows in page editor:

code:
<form method="post" action="http://1337z.com/cgi-bin/cgiemail/contact.txt">
Send to:<br />
<select name="required-to">
<option value="baggins@1337z.com">My email inbox</option>
<!-- mobile@1337z.com forwards to my phone -->
<option value="mobile@1337z.com">My phone</option>
</select><br />
<em>Please use My phone for urgent issues</em><br />
Your e-mail address:<br />
<input name="required-email"/><br />
Your name:<br />
<input name="required-name"/><br />
Your message:<br />
<textarea name="required-message" rows="5"></textarea><br />
<input type="submit" value="Send!"/>
</form>


For me, it looks like this:
[Image: attachment.php?pid=882118]

Are there any obvious problems?

I have tried changing the theme.
The DTD is
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

I wrote the page in what I knew to be XHTML, and the posted code is what wordpress changed it to.
RE: HTML layout is messed up. by kezz on 01-16-2008 at 01:18 AM

Would you like it to look like this?:

"Your email address"   [__box__]

"Your Name"                [__box__]

"Your Message"
_______________
[      large box     ]
|                       ]
|                       ]
|                       ]
[___________ ___]



RE: HTML layout is messed up. by Baggins on 01-16-2008 at 01:32 AM

Send to:
[_dropdown_]
Please use My phone for urgent issues

Your email address:
[_text_]

Your name:
[_text_]

Your message:
[_big box___]
[                ]
[                ]
[                ]
[__________]

[Send!]


Also: To the smartass who just sent me another 'Your gay' message, I have your IP address 8-)
Further action will be taken in the morning.


RE: HTML layout is messed up. by Shippo on 01-16-2008 at 09:55 AM

I took a look at the page source through FireFox, and the source you gave us is a tad different, only by a small margin. I'm seeing paragraph tags, an opening before the "Please use my phone in urgent issues" and an ending tag after this line: "Your email address:". There is also another ending paragraph tag when I see no opening one anywhere after "Your name:". So could those be the issue perhaps?


RE: HTML layout is messed up. by Baggins on 01-16-2008 at 11:40 AM

I didn't catch that.
That must be being added in by wordpress, as it doesn't show in the editor.
I will google it and see what I come up with.

Solution found: http://wordpress.org/extend/plugins/disable-wpautop/


RE: HTML layout is messed up. by Shippo on 01-16-2008 at 11:58 AM

Well, I guess the page source in browsers tend to help sometimes. XD