Menu

Stylesheet units

2002-06-07
2002-08-20
  • Verdon Vaillancourt

    Hi,

    In working on my first theme, I noticed that the stylesheet (although quite thorough) specified all font sizes in points. This isn't really a good idea and could relate to why people on diferrent set-ups see different sizes of text. Basically, points are for print and pixels are for screen. There's a lot of detailed discussion on what makes good units for screen media stylesheets at alistapart.com. It's worth a read for anyone getting into css in a serious way.

    my 2   v

     
    • Verdon Vaillancourt

      I kind of posted the above message in a hurry near day's end, and it may have come across as kind of snotty. Sorry, that wasn't intended :)

      I've spent a lot of time trying to improve my understanding of CSS in the last while (including a few pure CSS layouts). I have some ideas on simplifying the sheet included in the default theme and will share my finished sheet here (when done) if anyone is interested.

      salut, verdon

       
    • Verdon Vaillancourt

      Extra sorry now as I realize I posted this entire thread in the wrong forum and there doesn't seem to be any way to delete it.

      I feel like such a dummy!!

       
    • Amgine Neilson

      Amgine Neilson - 2002-06-10

      Relax, verdonv...

      It doesn't appear there's many people actually monitoring this forum, alas. Especially sad the module developers aren't here.

      Amgine

       
    • Michael Cannon

      Michael Cannon - 2002-08-07

      I've been working to move my site themes to CSS. CBnavy at http://cannonbose.com is halfway there with CSS in header.php and footer.php. When the missus heads back to Seattle this week, I'll get back on track to finishing the CSS in theme.php.

      Feel free to take a lot.

      Michael

       
    • Amgine Neilson

      Amgine Neilson - 2002-08-09

      Wow! That's an impressive theme ya got there, Michael... I like how clean it looks. And I want to come back to check into those modules and stuff... bookmark.

      Amgine

       
    • Edward Ritter

      Edward Ritter - 2002-08-20

      I try to specify px in my stylesheets (I'm not always successful :) ). 

      My problem is I'm so used to using points for other things, it's hard sometimes to correlate points to pixels.

      Anyways, I FINALLY finished updating my personal site (www.theobvious.org) to .82 and updating the theme as well (kind of BixIce ish). I tore apart the vanilla theme and put it back together again :)

      If anyone wants it, it'll be in my downloads section on  The Obvious as soon as I can package it up :)

      Ed
      phpWS ModForge

      ps I  *AM* monitoring the forums a bit more now :)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.