Previous Message
Next Message

Styling line breaks

Sent by Chris Heilmann on 15 July 2004 20:08


Greg Van Ullen wrote:

> Hey gang,
>
> I was wondering if anyone has experience styling line breaks.  I'm 
> working on styling site built from a back end that isn't being 
> developed anymore - it generates <br> tags in places I don't want 
> them, say;
>
> <p><a href="#">blah</a><br> | <a href="#">foo</a><br> | <a 
> href="#">bar</a></p>
>
> 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.

It is dirty to keep them in, the best way would be to delete them in the 
backend code, but  I just tried a P BR{display:none;} and that seems to 
do the trick.


______________________________________________________________________
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: