PDA

View Full Version : probably the oddest ie bug ever.



JohnN
June 25th, 2008, 05:11
<html>
<head>
<title>Admin<title>
</head>
<body style='font-family:verdana;'>
<center>
<div style='width:900px;text-align:left;font-size:12px'>
<h1 style='font-weight:normal;'>admin area</h1>
<div style='width:200px;float:left;'>
<ul style='padding-left:20px;margin-top:0px;'>
<li><a href='http://localhost:8888/my16bars'>Site home</a></li>
<li><a href='http://localhost:8888/my16bars/admin/index.php'>Admin home</a></li>
<li><a href='http://localhost:8888/my16bars/admin/settings.php'>Settings</a></li>
<li><a href='http://localhost:8888/my16bars/function/logout.html'>Logout</a></li>
</ul>
<div style='width:190px;height:0px;border-top: 1px grey dashed;float:left;float:left'></div><br clear='all'>
<ul style='padding-left:20px;margin-top:0px;'>
<li><a href='http://localhost:8888/my16bars/write/news.html'>Add news</a></li>
<li><a href='http://localhost:8888/my16bars/write/bars.html'>Add bars</a></li>
<li><a href='http://localhost:8888/my16bars/write/interviews.html'>Add interview</a></li>
</ul>
<div style='width:190px;height:0px;border-top: 1px grey dashed;float:left;float:left'></div><br clear='all'>
<ul style='padding-left:20px;margin-top:0px;'>
<li><a href='http://localhost:8888/my16bars/admin/users.php'>Manage users</a></li>
<li><a href='http://localhost:8888/my16bars/admin/content.php'>Manage content</a></li>
<li><a href='http://localhost:8888/my16bars/admin/comments.php'>Manage comments</a></li>
<li><a href='http://localhost:8888/my16bars/admin/adverts.php'>Manage adverts</a></li>
<li><a href='http://localhost:8888/my16bars/admin/featured.php'>Manage featured</a></li>
<li><a href='http://localhost:8888/my16bars/admin/bans.php'>Manage bans</a></li>
</ul>
</div>
<div style='width:600px;float:right;border-left: 1px black dashed;float:left;margin-right:99px'>
<div style='margin-left:10px;margin-right:10px'>
<h2 style='font-weight:normal;margin-top:0px;'>Settings</h2>
<form name='settings' method='post'>
<table style='border:0px;font-size:12px;'>
<tr>
<td>site url:</td><td><input type='text' name='url' value='http://localhost:8888'></td>
</tr><tr>
<td>site path:</td><td><input type='text' name='path' value='/my16bars'></td>
</tr><tr>
<td>site title:</td><td><input type='text' name='title' value='my16bars'></td>
</tr><tr>
<td>site tags:</td><td><input type='text' name='tags' value='rap'></td>
</tr><tr>
<td valign='top'>site description:</td><td><textarea cols='30' rows='5' name='description'>pretty awesome</textarea></td>
</tr><tr>
<td colspan='2'>&nbsp;</td>
</tr><tr>
<td>guest bars:</td><td>on<input type="radio" name='c_guest' value='true' checked="checked">off<input type="radio" name='c_guest' value='false' ></td>
</tr><tr>
<td>guest comments:</td><td>on<input type="radio" name='guest' value='true' checked="checked">off<input type="radio" name='guest' value='false' ></td>
</tr><tr>
<td>bbcode:<br><small>'code'=>'html'</small></td><td><input type='text' name='bbcode' value="''=>'<b>',''=>'</b>',''=>'<u>',''=>'</u>',''=>'<i>',''=>'</i>'," size='60'></td>
</tr><tr>
<td>emoticons:<br><small>'text'=>'image'</small></td><td><input type='text' name='emoticons' value="':)'=>'smile.png',':('=>'unhappy.png',':o'=>'surprised.png',':p'=>'surprised.png',':3'=>'waii.png',';)'=>'wink.png',':D'=>'grin.png','XD'=>'evilgrin.png'," size='60'></td>
</tr><tr>
<td>censored:</td><td><input type='text' name='censored' value="'----','----','----','----','donkeyrapist'," size='60'></td>
</tr><tr>
<td>spam:</td><td><input type='text' name='spam' value="'sex','------','drugs','http://','www'," size='60'></td>
</tr><tr>
<td colspan='2'>&nbsp;</td>
</tr><tr>
<td colspan='2'><input type='submit' name='submit' value='save'><input type='reset' name='reset' value='reset'></td>
</tr>
</table>
</form>
</div>
</div>
</div>
</center>
</body>


that code right there: in IE displays a blank page. I ---- you not. No javascript or css files interfering - just absolute madness.

I'm trying to solve this, but even if I do - I thought you might appreciate this slice of madness pie.

EDIT: DOH! the title tag wasn't closed;)

krakjoe
June 25th, 2008, 05:19
get ready to kick yourself ... </title>

JonnyH
June 25th, 2008, 05:21
We all do it once in a while :S
Haha..

JohnN
June 25th, 2008, 05:22
goddamit. I just discovered that myself after a w3c validating test.

I'm somewhat surprised the other browser rendered it.

DarkBlood
July 1st, 2008, 10:29
I'm somewhat surprised the other browser rendered it.

You shouldn't be :S Other browsers are "smart" and use Gecko. :P

iBrightDev
July 3rd, 2008, 00:52
JohnN, might want to close that html tag too ;)

DarkBlood
July 3rd, 2008, 13:16
JohnN, might want to close that html tag too ;)

http://meiert.com/en/blog/20080601/optional-tags-in-html-4/

Tree
July 3rd, 2008, 13:37
http://meiert.com/en/blog/20080601/optional-tags-in-html-4/
It might be optional, but that still doesn't mean it's good practice to leave out the ending tag.

themoose
July 3rd, 2008, 13:42
http://meiert.com/en/blog/20080601/optional-tags-in-html-4/

That page also says that

<head>
</head>
<html>
</p>
</li>
</tbody>
</td>
</tfoot>
</th>
</thead>
</tr>

are all optional

I know that if I left out some of then the design would be pretty ----ed.

iBrightDev
July 3rd, 2008, 15:54
It might be optional, but that still doesn't mean it's good practice to leave out the ending tag.


That page also says that

<head>
</head>
<html>
</p>
</li>
</tbody>
</td>
</tfoot>
</th>
</thead>
</tr>

are all optional

I know that if I left out some of then the design would be pretty ----ed.

both of you took the words right out of my mouth.

TSO
July 4th, 2008, 13:27
Oh, I make stupid mistakes like this all the time! It's one reason I've somewhat disliked programming. It is something I'm trying to improve on, though! :P Anyway, I understand exactly what that feels like!