td wrapping elements

I've got text1:radiobutton1&nbspctext2:radiobutton2 in a td, which i want on one line (there is room), but it keeps splitting lines around the text and radio buttons!
It seems it should be so simple. I've tried style=nowrap + the &nbsp which everyone says should do it, but its not!!
Who is Participating?
Dave BaldwinFixer of ProblemsCommented:
You need to show us your actual code or give us a link so we can see what you're missing.
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Try this

  <table width="100%">
    <td nowrap><input name="radiohead" type="radio">&nbsp;I like beer<input name="radiohead" type="radio">&nbsp;I like whiskey</td>

Open in new window

Silas2Author Commented:
Actually, i've just realised that it seems to be worst on IE7, i know a much abandoned browser, it seems to look ok on later chrome's, maybe its just an old quirk?
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I wouldn't even worry about ie8.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.