3 replies [Last post]
thewasp
Offline
newbie
Last seen: 17 years 50 weeks ago
Joined: 2003-05-30
Posts: 2
Points: 0

No matter what I've tried there is always a line break before the DIV tag. I need to stop the DIV tag causing a carriage return.
Here is an example...

<p style="white-space:nowrap">
<input type="radio" name="content" value="FREE custom T-shirt" onClick="MM_callJS('recalc()')" style="white-space:nowrap" checked><div id=myDomainTeeShirt style="white-space:nowrap"> "I want a FREE MyDomain.com T-shirt promoting my site".
</div></p>

How do I make the DIV content stay on the same line?

thewasp
Offline
newbie
Last seen: 17 years 50 weeks ago
Joined: 2003-05-30
Posts: 2
Points: 0

Want to suppress line break before DIV tag.

Sorry, I just noticed the solution at http://www.csscreator.com/css-forum/viewtopic.php?t=48

cleanupthecove
Offline
newbie
Last seen: 13 years 38 weeks ago
Joined: 2007-08-01
Posts: 1
Points: 0

css suppress line break in div tag

Hi, does this discussion still exist? The link does not seem to work.

Triumph (not verified)
Anonymous's picture
Guru

cleanupthecove wrote:Hi,

cleanupthecove wrote:
Hi, does this discussion still exist? The link does not seem to work.

That link was posted 4 years ago when the forum was still running phpBB. I don't know how to help you on this one. Sorry.