|
Posted by Beauregard T. Shagnasty on 01/08/07 05:08
Jeff wrote:
> Strange, but white-space: nowrap; doesn't help
>
> <td style="width:60%; white-space:nowrap; background-color:#006699;">
> <input type="text" name="username" id="username" />*
> </td>
>
> I tested this in both IE7 and Opera 9.10. And I get the same result in
> both browsers:
> Within the table cell the * is placed on a newline under the input
> field. Looks like white-space:nowrap; didn't have any effect.
Your code above works as expected for me. I added a <table> and <tr>
around it, and see the asterisk just next to the input field in Firefox
1.5.0.9, Opera 9.02 and 9.10, and IE6. Win2K.
What else do you have on the page you're not showing us?
--
-bts
-Motorcycles defy gravity; cars just suck
Navigation:
[Reply to this message]
|