Please login or register.

Login with username, password and session length
Advanced search  

News:

You need/want an older version of sNews ? Download an older/unsupported version here.

Author Topic: bad CSS...BAD  (Read 3558 times)

Status

  • Jr. Member
  • **
  • Karma: 0
  • Posts: 64
bad CSS...BAD
« on: May 15, 2007, 11:47:41 AM »

CSS is great, I love CSS...I can't make a full website with it yet, but the more I edit pre-made CSS the more i learn.

But with THIS just confuses the hell out of me.

They have put 65% for the font size in the body, this makes all other font sizes (Such as in the Footer, etc) 65% the normal size that is defined.

This may be how some people use CSS, but for use in Snews, it is rather troublesome.

Would someone be able to convert the template (Link mentioned above) to be usable in Snews... Just the CSS.

By convert, I mean, make the template look the way it is shown in the demo (On the link) but with out the %.

I would but, I removed the 65% and all the font was bigger... like ugly big. and I'm hopeless at guessing Pixel sizes.

BTW, all font size's are like ##em (# = a number)

Thanks,
-Status
Logged

flamewolf

  • Newbie
  • *
  • Karma: 0
  • Posts: 20
    • http://www.badwolf.com.au/blog
bad CSS...BAD
« Reply #1 on: May 15, 2007, 03:21:29 PM »

Hi Status,

An "em" (pronouced "M") is a unit of measurement in web language, and is useful because it is scalable by each browser according to it's default text size,   but the default 1em needs to be defined, thusly the 65% (which tells the browser what the default size of one "em" should be

The best suggestion I can give you is to alter the "em" values in the template rather than introducing fixed pixel text values.

Here a quick link to stuff on em's

http://en.wikipedia.org/wiki/Em_%28typography%29
Logged

TheTick

  • Full Member
  • ***
  • Karma: 6
  • Posts: 105
bad CSS...BAD
« Reply #2 on: May 15, 2007, 04:31:08 PM »

..ands you might read this as to why they sized the text to 65%:

http://clagnut.com/blog/348/
Logged