Topic: Pre, pre-wrap, etc... (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Raleigh, NC |
posted 05-15-2004 18:21
I want to use CSS: |
Bipolar (III) Inmate From: Cold Sweden |
posted 05-15-2004 20:11
quote:
code: white-space: pre-wrap; is new in CSS 2.1, and the browser support isn't very good. However, code: -o-pre-wrap works in Opera 7 and code: -moz-pre-wrap in newer versions of Mozilla. In IE, you can use code: pre { word-wrap: break-word; } (which is proprietary code by the way.) |
Bipolar (III) Inmate From: Raleigh, NC |
posted 05-16-2004 17:53
So there is no easy way to do this..... code: pre {word-wrap: break-word;}
|
Bipolar (III) Inmate From: Raleigh, NC |
posted 05-17-2004 03:27
And since I've already made a thread for this page, I just took a look at it from Opera. Oh man does it look bad. I read somewhere that Opera doesn't revert back to any other Doctype so it only shows you stuff the way the doctype is defined. Apparenty I'm not yet metting the XHTML standard. The guys on alistapart.com say "mixing ancient (tables) and modern (CSS)" is where problems arise most. Obviously, I'm using tables here. So as I'll be beating up the code and making test after test I'd also like to know what the 'standard' is these days for building tables if tables are too old. or are they? Either way opera isn't happy at the moment. |
Bipolar (III) Inmate From: Cold Sweden |
posted 05-18-2004 00:10
quote: I can't make sense out of that. Are you talking about doctype switching? quote:
quote:
quote:
|
Maniac (V) Inmate From: Seoul, Korea |
posted 05-18-2004 02:43
To clarify: tables should be used to present tabular data. This is what they were designed to do. Just because using tables for layout is generally frowned on these days it doesn't mean that tables should not be used at all. |