HTML - No Wrap

Hardware, Software, Internet, etc.

Moderators: Big-O Ryan, Big-O Mark, Matt, jester22c

Post Reply
User avatar
Michael
Fanatic
Fanatic
Posts: 161
Joined: Sun Sep 29, 2002 8:20 am
Location: New York, USA
Contact:

HTML - No Wrap

Post by Michael »

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.)
User avatar
Plasma2002b
Extreme Groupie
Extreme Groupie
Posts: 976
Joined: Thu Jul 18, 2002 11:36 pm
Location: Riverside, Ca
Contact:

Post by Plasma2002b »

wait... umm...... can ya give an example? :?:
Image

its teh infamous life of brian gaut to teh max0r!
User avatar
insomica
Addict
Addict
Posts: 116
Joined: Sat Feb 01, 2003 6:00 am
Contact:

Post by insomica »

http://www.w3schools.com/html/html_reference.asp

I could not find anything like that.
Bitwise: insomica ->Image
User avatar
Michael
Fanatic
Fanatic
Posts: 161
Joined: Sun Sep 29, 2002 8:20 am
Location: New York, USA
Contact:

Post by Michael »

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>
User avatar
Michael
Fanatic
Fanatic
Posts: 161
Joined: Sun Sep 29, 2002 8:20 am
Location: New York, USA
Contact:

Post by Michael »

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>
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest