Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

td wrapping elements

Posted on 2013-05-18
4
Medium Priority
?
167 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 84

Accepted Solution

by:
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.
0
 
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%">
  <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 54

Expert Comment

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

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
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 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 …
Suggested Courses

783 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