Solved

td wrapping elements

Posted on 2013-05-18
4
160 Views
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!!
0
Comment
Question by:Silas2
  • 2
4 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 50 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.
0
 
LVL 52

Assisted Solution

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

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

Open in new window

0
 

Author Comment

by:Silas2
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?
0
 
LVL 52

Expert Comment

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

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
In this tutorial viewers will learn how to style a corner ribbon overlay for an image using CSS Create a new class by typing ".Ribbon":  Define the class' "display:" as "inline-block": Define its "position:" as "relative": Define its "overflow:" as …
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

778 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