HTML - No Wrap
Moderators: Big-O Ryan, Big-O Mark, Matt, jester22c
HTML - No Wrap
Is there a way in the current revision of HTML to keep a group of words all on one line so they don't wrap? I tried using a tag (I think it was <nowr> or something like that) but that didn't work. Anyone know how to do this? (Actually, through a SPAN tag in CSS would be preferable, but just a normal HTML tag will also do.)
- Plasma2002b
- Extreme Groupie
- Posts: 976
- Joined: Thu Jul 18, 2002 11:36 pm
- Location: Riverside, Ca
- Contact:
Got it to work. It's the <nobr> tag and it works. You enclose anything you don't want broken in them, like this:
Code: Select all
<p>I don't mind if these words are broken, <nobr>but I want to make sure these stay on the same line,</nobr> so I enclose them in the NOBR tag.</p>
Got it to work. It's the <nobr> tag and it works. You enclose anything you don't want broken in them, like this:
Code: Select all
<p>I don't mind if these words are broken, <nobr>but I want to make sure these stay on the same line,</nobr> so I enclose them in the NOBR tag.</p>
Who is online
Users browsing this forum: No registered users and 1 guest