td wrapping elements

Posted on 2013-05-18
Medium Priority
Last Modified: 2013-05-18
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!!
Question by:Silas2
  • 2
LVL 84

Accepted Solution

Dave Baldwin earned 200 total points
ID: 39177511
You need to show us your actual code or give us a link so we can see what you're missing.
LVL 54

Assisted Solution

by:Scott Fell, EE MVE
Scott Fell,  EE MVE earned 800 total points
ID: 39177558
Try this  http://jsbin.com/igabeb/1/

  <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


Author Comment

ID: 39177575
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?
LVL 54

Expert Comment

by:Scott Fell, EE MVE
ID: 39177594
I wouldn't even worry about ie8.

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

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.

Join & Write a Comment

CSS3 Custom checkboxes This article shows how to style the checkbox form element using only CSS. Works in: Chrome, FF, Safari, Opera, IE9+ Uses modernizr.js to check for :checked pseudo class, falling back to plain old checkboxes (IE8 and bel…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to embed custom externally-hosted Google Fonts using the Google Font API in CSS Go to the Google Fonts website at google.com/fonts: Browse or search based on font properties or name to find a suitable font for…

600 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question