|
Help with CSS
|
|
05-22-2012, 01:29 PM
(This post was last modified: 05-22-2012 01:30 PM by aatish910.)
|
|||
|
|||
|
Help with CSS
Have a look at here:
http://l.f.nu/bL All long lines goes beyond the border. Is there a way to automatically break lines there? Here is a CSS entry for class 'codeblock' as well as 'unix': Code: .unix{padding:4px;border:0px ;background-color:#1F231F;color:#fff}I have attached the screenshot if you can't see it. Don't worry about the world coming to an end today. It's already tomorrow in Australia. |
|||
|
05-22-2012, 01:50 PM
|
|||
|
|||
|
RE: Help with CSS
A quick google search:
Try adding this to both values: word-wrap: break-word; Or all of these for good measure: white-space: pre; /* CSS 2.0 */ white-space: pre-wrap; /* CSS 2.1 */ white-space: pre-line; /* CSS 3.0 */ white-space: -pre-wrap; /* Opera 4-6 */ white-space: -o-pre-wrap; /* Opera 7 */ white-space: -moz-pre-wrap; /* Mozilla */ white-space: -hp-pre-wrap; /* HP Printers */ word-wrap: break-word; /* IE 5+ */ Thanks to Datashack.net and FreeVPS.us for the VPS25 |
|||
|
05-22-2012, 05:30 PM
|
|||
|
|||
|
RE: Help with CSS
As rannox said,
Code: word-wrap: break-word;Zeboo/Greg Thanks for VPS 25 - FreeVPS.US By the way while I had my VPS 17 - MitiHost - I had no problems with it, I highly recommend MitiHost. |
|||
|
05-22-2012, 09:12 PM
|
|||
|
|||
|
RE: Help with CSS
This is solved? Looks like.
Closed, PM me to reopen. |
|||
|
« Next Oldest | Next Newest »
|
| User(s) browsing this thread: |
| 1 Guest(s) |






