|
-
Jan 30th, 2006, 09:48 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Why isn't this working in... Firefox?
I'm using NoWrap in this project I'm developing. I placed it into a <div> tag so that it can only scroll across. However it's not working in Firefox. Yes, I did say it's not displaying properly in Firefox. 
My guess is that it's not a standard attribute, so is there another way to acheive non-breaking lines?
Last edited by Datacide; Jan 30th, 2006 at 01:39 PM.
PHP in your FACE!
-
Jan 30th, 2006, 10:22 AM
#2
Re: Why isn't this working in... Firefox?
Try <div nowrap="nowrap">
-
Jan 30th, 2006, 10:24 AM
#3
Re: Why isn't this working in... Firefox?
Or use inline CSS
style="white-space:nowrap;"
-
Jan 30th, 2006, 01:39 PM
#4
Thread Starter
Hyperactive Member
Re: Why isn't this working in... Firefox?
Thanks, i found that <nobr></nobr> works.
-
Jan 31st, 2006, 07:29 AM
#5
Re: [RESOLVED] Why isn't this working in... Firefox?
<nobr> and other presentational attributes are deprecated. You should use the CSS rule instead.
Code:
div.nonbreaking
{
white-space: nowrap;
}
HTML Code:
<div class="nonbreaking">
lots of stuff
</div>
-
Sep 30th, 2008, 01:15 PM
#6
New Member
Re: [RESOLVED] Why isn't this working in... Firefox?
Thanks a lot. The white-space:nowrap works like charm
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|