Jump to content

placing a div and an input on the same line


niche

Recommended Posts

I've been trying to combine these two scripts to display their contents on the same line without success. This code displays on two separate lines. I need them to display on the same line.

echo '<input style="position:absolute;left:240px;top:'.$top.'px;"type="checkbox"  name="item'.$row['id'].'" value="'.$row['id'].'" >';  echo '<div style="position:absolute;left:280px;top:'.$top.'px;" > <p>' . $row['curwipprice']. '</p></div>';

How should I combine these tags so they render on the same line?

Link to comment
Share on other sites

Discovered my problem and changed my script. Thanks to all that took time to read this topic.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...