[wdvltalk] Re: pre in css

2004-09-22 Thread Ross Clutterbuck
Joseph: pre is still there so use it to get your text to render as you want to, with all the line breaks and spaces you want, and then style your pre to make it look pretty. CSS is for styling, not markup, so don't try to find CSS versions of HTML tags because they are two different beasts. A

[wdvltalk] Re: pre in css

2004-09-22 Thread Joseph Harris
From: michael ensor [EMAIL PROTECTED] eg: div.poem { white-space: pre; font-family: monospace; } Well isn't that magic under 4.01 strict ;-))And IE6, Opera and Firefox handle it; not NetGold of course. Are there any of the well used browsers (IE5,5.5,Netscape 5,7 for example) that

[wdvltalk] Re: pre in css

2004-09-22 Thread Cheryl D Wise
What I find really silly is: trtd*/tdtdhome/td/tr trtd*/tdtdproducts/td/tr trtdnbsp;/tdtd tabletrtd*/tdtdproduct 1/td/tr/table /td/tr trtdnbsp;/tdtd tabletrtd*/tdtdproduct 2/td/tr/table /td/tr trtd*/tdtdnext section/td/tr Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage

[wdvltalk] Re: pre in css

2004-09-21 Thread michael ensor
Joseph, css has the equivalent of kerning, [word spacing] which may be useful to you for poems, while the equivalent of pre is 'white-space' BUT support is not universal.. white-space values: pre|nowrap|normal eg: div.poem { white-space: pre; font-family: monospace; } would cause text

[wdvltalk] Re: pre in css

2004-09-21 Thread Joseph Harris
On the other hand I see pre is still in the armoury (if html dog is to be believed); please confirm it is ...please Joseph I noticed that Cheryl's reworking of my first attempt used br / to set out the poetry lines. Is there no equivalent to pre tag in css? I haven't spotted anything,

[wdvltalk] Re: pre in css

2004-09-21 Thread Joseph Harris
Michael, tomorrow I shall experiment with whitespace; it looks interesting. The ds and the ul li I think I will give a miss to; it would be even more work than br - though I admit there are poem forms that might respond well to unusual setting. Haiku may, I think, be considered something

[wdvltalk] Re: pre in css

2004-09-21 Thread michael ensor
that interesting, they used spans within the body as a styling mechanism amongst other things. - Original Message - From: Joseph Harris Sent: Wednesday, September 22, 2004 1:25 PM Subject: [wdvltalk] Re: pre in css : Michael, : : tomorrow I shall experiment with whitespace; it looks

[wdvltalk] RE: pre in css

2004-09-21 Thread Cheryl D Wise
You can use pre but the sample you had up for us to look at used br so that's what I used. Pre is an html tag and not css though you can actually style it if you choose. Cheryl D. Wise Certified Professional Web Developer MS-MVP-FrontPage www.wiserways.com mailto: [EMAIL PROTECTED]