一行代码包含几个超链接,我希望输出为单行,但它不起作用。
我也用过css
a {white-space:nowrap; } it doesn't work.
代码行是:
<a href="profile.php?v=<?php echo $uid;?>"><?php echo $uname;?></a>made offer for your task:<a href="task1.php?t=<?php echo $task_id;?>"><?php echo $tasktitle;?></a>says,"<?php echo $comment; ?>"<br/>
我得到的输出:
David Jackson
made offer for your task:
paint on walls
says,"hello..i'm agree!"
我预期的输出:
David Jackson made offer for your task: paint on walls says,"hello..i'm agree!"