CSS patch [message #26261] |
Tue, 12 July 2005 12:38 |
|
this patch make view better code in [code][/code] tags, it's remove unneeded scrolls, add some space between text and container and use fixed width.
Index: forum.css.tmpl
===================================================================
RCS file: /forum21/install/forum_data/thm/default/tmpl/forum.css.tmpl,v
retrieving revision 1.65
diff -r1.65 forum.css.tmpl
546c546,548
< overflow: scroll;
---
> overflow: auto;
> margin: 5px;
> width: 700px;
I think it should be added in CVS, may be without "width: 700px;", what are you think Ilia?
|
|
|
Re: CSS patch [message #26264 is a reply to message #26261] |
Tue, 12 July 2005 13:33 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
The change for overlflow to auto is a good idea, the margin is not necessary IMO, since the css already has a padding of 5px and hardcoding the size to 700px does not seem necessary.
FUDforum Core Developer
|
|
|
Re: CSS patch [message #26266 is a reply to message #26264] |
Tue, 12 July 2005 13:41 |
|
padding - space between inner text
margin - space between outer text
margin = padding looks better fo me , and fixed width - just for for long line witch stretch the page (in current version horizontal scroll never used)
|
|
|
Re: CSS patch [message #26267 is a reply to message #26266] |
Tue, 12 July 2005 14:12 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Well, I changed to auto and the scroll does not appear until it is necessary, so the goal is achieved. I see no reason to do inner padding, unless you can provide good reasons showing otherwise.
FUDforum Core Developer
|
|
|
|
Re: CSS patch [message #26270 is a reply to message #26269] |
Tue, 12 July 2005 14:47 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Not sure what is being shown, but I've changed the overflow to auto in CVS and on my dev forum I no longer get any scroll bars in Firefox, unless there is an actual need for one.
So, I don't see a need to add 700px hard-coded width.
FUDforum Core Developer
|
|
|
Re: CSS patch [message #26271 is a reply to message #26270] |
Tue, 12 July 2005 14:58 |
|
just forget for width
look for "margin: 5px", it's add 5px transparent space between message text and CODE container (previous screen-shots)
|
|
|
Re: CSS patch [message #26278 is a reply to message #26271] |
Tue, 12 July 2005 17:57 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Aha I see... Added to CVS.
FUDforum Core Developer
|
|
|
|
|
Re: CSS patch [message #26473 is a reply to message #26471] |
Fri, 22 July 2005 03:12 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
It seems ok now with IE and FF.
FUDforum Core Developer
|
|
|
|