Previous Message
Next Message

Styling line breaks

Sent by Dave Silvester on 15 July 2004 21:09


On Thursday 15 Jul 2004 19:21, Greg Van Ullen wrote:
> I would like the links to all be in a line/row, but the <br> tags are
> there.  I floated the breaks and it worked fine in firefox,  but not
> IE.  I also tried white-space:nowrap and got nothing.

I'm reluctant to even think this might work, but have you tried:

br {
  display: none;
}

You could adjust it for your markup to avoid accidentally nukeing other 
linebreaks that you might actually want to keep, for example if it's in a 
particular div, hide only those particular linebreaks:

#your_div_id br {
  display: none;
}

I suppose I can't think of any particular reason it wouldn't work - did a 
quick test in Firefox and it seemed to!  :-)

~Dave

-- 

Dave Silvester
Music Technology Junkie
Web: http://www.mu-sly.co.uk/
Email: sly at mu hyphen sly dot co dot uk
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: