Don't know if someone brought it up yet, but it would be really nice if the code tags could get a whitespace: pre;
I understand some may go to wide, so I suggest setting a fixed width and overflow auto, as long as I can copy all the html without the structure being lost it's fine by me.
furthermore, can you increase the margin or padding between paragraphs?
Good suggestion
I'm with you on that one, Desdi. You can use the [code] tags, but that means you have to strip and replace the < delimiters. It's a PITA, but I do like to maintain formatting.
I haven't tried nesting the tags, but will, like so: [code]<code>...</code>[/code]
//edit: well, that's a non-starter. bah!
cheers,
gary
kk5st wrote: I haven't tried
I haven't tried nesting the tags, but will, like so: [code]<code>...</code>[/code]
//edit: well, that's a non-starter. bah!
cheers,
gary
Been there, tried that , could have told you it was a non-starter
A big help, Hugo is
kk5st wrote:
I haven't tried nesting the tags, but will, like so: [code]<code>...</code>[/code]
//edit: well, that's a non-starter. bah!
cheers,
gary
Been there, tried that , could have told you it was a non-starter
But you didn't, did you? $@$#dirty bracklefratz!!!&^@#$
cheers,
gary
white-space
Hi Guy's,
I have added white-space:pre to code.
Here's a test:
Let me know if it is screwing up anything.
Tony
<ul id="nav"> <li> <a
Sorry, Tony. I had it formatted this way:
<code> <ul id="nav"> <li> <a href="#" >first Level menu</a> <ul> <li><a href="#" >second Level menu</a></li> <li><a href="#" >second Level menu</a> <ul> <li><a href="#" >third Level menu</a></li> </ul> </li> </ul> </li> </ul> </code>
cheers,
gary
Went huntin', found this
Went huntin', found this (reformatted to my tastes:)):
code, .code, pre { color:#069; background-color:#FCFCFC; border:solid 1px #CCC; font-size:1.3em; display:block; margin:5px 0 5px 5px; padding:5px 0 5px 5px; overflow: auto;} code { max-height:400px; overflow:auto;}
Where'd you put it?
I did this to good effect:
code, .code, pre {
white-space: pre;
color:#069;
background-color:#FCFCFC;
border:solid 1px #CCC;
font-size:1.3em;
display:block;
margin:5px 0 5px 5px;
padding:5px 0 5px 5px;
overflow: auto;}
code {
max-height:400px;
overflow:auto;}
Hmmm, was I running on a cached style.css?
cheers,
gary
Hi Gary, It took me a couple
Hi Gary,
It took me a couple of times refreshing my test post before I saw anything change.
Quote: Hmmm, was I running
Hmmm, was I running on a cached style.css?
cheers,
gary
Been there, done that. Could have told you you were running on a cached copy
csscr wrote:Hi Gary, It took
Hi Gary,
It took me a couple of times refreshing my test post before I saw anything change.
OK, that did it. Seems I jumped the gun.
Boy! Desdi had a good idea.
cheers,
gary
Hugo wrote:Quote: Hmmm, was
Quote:
Hmmm, was I running on a cached style.css?
cheers,
gary
Been there, done that. Could have told you you were running on a cached copy
Hmmm, let me look at my notes … Ah, here we are;
But you didn't, did you?$@$#dirty bracklefratz!!!&^@#$
cheers,
gary
hehe heeyyy nice!
hehe heeyyy nice!