Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Text is messy!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Text is messy!

 Post Reply Post Reply Page  <12
Author
Nick-V View Drop Down
Senior Member
Senior Member


Joined: 26 October 2002
Location: United Kingdom
Status: Offline
Points: 319
Post Options Post Options   Thanks (0) Thanks(0)   Quote Nick-V Quote  Post ReplyReply Direct Link To This Post Posted: 24 July 2007 at 9:24pm
I have traced why my CSS works and the standard ones do not. Only Borg can really say if I did the right thing but here it is.
 
Near the top of the standard CSS it says:
 
/* Text for most CSS classes */
body, .text, .smText, .error, a, a.smLink, a.msgLink, a.tLink, .WebWizRTEtextarea, .basicTable, .errorTable, .tableRow, .tableTopRow, .tableBottomRow, .evenTableRow, .oddTableRow, .hiddenTableRow, .PMtableRow, .PMmsgBody, .msgBody, .msgEvenTableRow, .msgOddTableRow, .msgHiddenTableRow, .msgOddTableSide, .msgEvenTableSide, .msgSignature, .calDateCell, .calTodayCell, .BBquote, .BBcode {
 font-family: Verdana, Arial, Helvetica, sans-serif;
 color : #000000;
 font-weight: normal;
 font-size: 12px;
 line-height: 16px;
}
 
The 'line-height' parameter forces all line heights to 16px and of course if you select a very large font this is not enough. I simply deleted this parameter and let the font size determine the line height.


Edited by Nick-V - 24 July 2007 at 9:25pm
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2007 at 9:29am
The solution is replace in the body section of the CSS file:-

line-height: 16px;

With:

line-height: 1.4;

This stops the text from being scrunched up which gives a much cleaner look for the forum, but also works for larger text sizes as the line spacing is now taken from the size of the text.

This has been tested in Firefox, Safari, Opera, IE7, IE6, and Netscape, and appears to work for all of them.


Edited by -boRg- - 25 July 2007 at 9:32am
Back to Top
Neno View Drop Down
Newbie
Newbie
Avatar

Joined: 25 July 2007
Status: Offline
Points: 20
Post Options Post Options   Thanks (0) Thanks(0)   Quote Neno Quote  Post ReplyReply Direct Link To This Post Posted: 25 July 2007 at 11:27pm
Well Borg you know I am not IT. Show as the New Version is release later this week these little things will clear-up with that. I will just wait aswell. Thanks Nick-V for the pointer to here. I will delete my other Thread.
Back to Top
iSec View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 February 2005
Status: Offline
Points: 1140
Post Options Post Options   Thanks (0) Thanks(0)   Quote iSec Quote  Post ReplyReply Direct Link To This Post Posted: 26 July 2007 at 8:34am
Originally posted by -boRg- -boRg- wrote:

The solution is replace in the body section of the CSS file:-

line-height: 16px;

With:

line-height: 1.4;

This stops the text from being scrunched up which gives a much cleaner look for the forum, but also works for larger text sizes as the line spacing is now taken from the size of the text.

This has been tested in Firefox, Safari, Opera, IE7, IE6, and Netscape, and appears to work for all of them.
 
That did it. Thank you Borg... Smile
"When it gets dark enough, you can see the stars"
-Charles A. Beard
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 26 July 2007 at 11:26am
Originally posted by Neno Neno wrote:

Well Borg you know I am not IT. Show as the New Version is release later this week these little things will clear-up with that. I will just wait aswell. Thanks Nick-V for the pointer to here. I will delete my other Thread.


As you host your forum with us Neno, I will make sure either myself or someone else will make this change to your forum on the server later today, so you don't need to wait for the next release.
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.