Jump to content

Recommended Posts

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>

Link to comment
https://forums.phpfreaks.com/topic/208965-unknow-space/#findComment-1092739
Share on other sites

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?

Link to comment
https://forums.phpfreaks.com/topic/208965-unknow-space/#findComment-1093268
Share on other sites

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.
Link to comment
https://forums.phpfreaks.com/topic/208965-unknow-space/#findComment-1093404
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.