oddim Posted July 26, 2010 Share Posted July 26, 2010 I have no idea what is causing the space... please help! The space shows up in IE but not FF... Quote Link to comment https://forums.phpfreaks.com/topic/208965-unknow-space/ Share on other sites More sharing options...
haku Posted July 27, 2010 Share Posted July 27, 2010 I'll bet 20 to 1 that it's something in your code. Quote Link to comment https://forums.phpfreaks.com/topic/208965-unknow-space/#findComment-1091505 Share on other sites More sharing options...
oddim Posted July 29, 2010 Author Share Posted July 29, 2010 Well, here is my code: <div style="<?= $MI ?>"><div style="height: 59px; background-color: #222222;"><img src="<?= $PICTURE ?>" style="width: 59px; height: 59px; float: left;"><div style="text-align: center; font-size: 12px;"><div style="background-color: #2E302E;"><div style="display: inline-block; padding-left: 2px; width: 185px; text-align: left; border: 1px solid #FF0000;"><span style="color: #FF0000;"><?= $NEWS->username ?></span><span style="color: #FFFFFF;"> - </span><span style="color: #FE4D1B;"><?= $POSTED_TIME ?></span></div><div style="display: inline-block; width: 40px; text-align: right; padding-right: 2px; border: 1px solid #FF0000;"><img style="vertical-align: -1px;" title="Comment" src="images/comments.png"> <? if($UN == $NEWS->username) { ?><img style="vertical-align: -1px;" title="Delete" src="images/x.png"><? } ?></div></div><div style="color: #FFFFFF; font-size: 10px; text-align: left; word-wrap: break-word; width: 235px; margin-left: 61px; padding-top: 2px; height: 41px;"><? echo stripslashes($NEWS->content); ?></div></div></div></div> Quote Link to comment https://forums.phpfreaks.com/topic/208965-unknow-space/#findComment-1092739 Share on other sites More sharing options...
haku Posted July 30, 2010 Share Posted July 30, 2010 1) Please don't post PHP in the HTML/CSS sections. Post the output of your PHP script. 2) Format your code into a readable form. 3) Use code tags (it's the # button above the area you type into. 4) Don't start multiple threads on the same topic. Quote Link to comment https://forums.phpfreaks.com/topic/208965-unknow-space/#findComment-1092887 Share on other sites More sharing options...
oddim Posted July 30, 2010 Author Share Posted July 30, 2010 This is my first thread about this problem btw... <div style="height: 59px; background-color: #222222;"><img src="images/Shane.jpg" style="width: 59px; height: 59px; float: left;"><div style="text-align: center; font-size: 12px;"><div style="background-color: #2E302E;"><div style="display: inline-block; padding-left: 2px; width: 185px; text-align: left; border: 1px solid #FF0000;"><span style="color: #FF0000;">Shane</span><span style="color: #FFFFFF;"> - </span><span style="color: #FE4D1B;">2:04 pm</span></div><div style="display: inline-block; width: 40px; text-align: right; padding-right: 2px; border: 1px solid #FF0000;"><img style="vertical-align: -1px;" title="Comment" src="images/comments.png"> <img style="vertical-align: -1px;" title="Delete" src="images/x.png"></div></div><div style="color: #FFFFFF; font-size: 10px; text-align: left; word-wrap: break-word; width: 235px; margin-left: 61px; padding-top: 2px; height: 41px;">working on my site, chillin...</div></div></div> Is this better? Quote Link to comment https://forums.phpfreaks.com/topic/208965-unknow-space/#findComment-1093268 Share on other sites More sharing options...
Maq Posted July 30, 2010 Share Posted July 30, 2010 I'll bet 20 to 1 that it's something in your code. Hehe, 20 to 1? I would have bet ∞ to 1. Quote Link to comment https://forums.phpfreaks.com/topic/208965-unknow-space/#findComment-1093334 Share on other sites More sharing options...
haku Posted July 31, 2010 Share Posted July 31, 2010 This is my first thread about this problem btw... Maybe it's your first thread on it, but it's not your only thread on it: http://www.phpfreaks.com/forums/index.php/topic,305057.0.html <div style="height: 59px; background-color: #222222;"><img src="images/Shane.jpg" style="width: 59px; height: 59px; float: left;"><div style="text-align: center; font-size: 12px;"><div style="background-color: #2E302E;"><div style="display: inline-block; padding-left: 2px; width: 185px; text-align: left; border: 1px solid #FF0000;"><span style="color: #FF0000;">Shane</span><span style="color: #FFFFFF;"> - </span><span style="color: #FE4D1B;">2:04 pm</span></div><div style="display: inline-block; width: 40px; text-align: right; padding-right: 2px; border: 1px solid #FF0000;"><img style="vertical-align: -1px;" title="Comment" src="images/comments.png"> <img style="vertical-align: -1px;" title="Delete" src="images/x.png"></div></div><div style="color: #FFFFFF; font-size: 10px; text-align: left; word-wrap: break-word; width: 235px; margin-left: 61px; padding-top: 2px; height: 41px;">working on my site, chillin...</div></div></div> 2) Format your code into a readable form. Quote Link to comment https://forums.phpfreaks.com/topic/208965-unknow-space/#findComment-1093404 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.