Solved

td wrapping elements

Posted on 2013-05-18
4
164 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 53

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 53

Expert Comment

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

Featured Post

[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

Unordered lists (HTML ul tags) are very handy to create menus of all types, shapes and sizes.  All it takes is a little knowledge of CSS and the possibilities are endless. First off, you should know the general format for menus created using the …
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

615 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