Posted on Mon - December 25, 2006 Suplimenting iBlog with CSSEditI am still experimenting with Cascading Style
Sheets. For an old HTML hand like me, it's been tough to break some
habits.
There are some really, really big advantages to
CSS. Say for example I wanted to change the color of my links. In the old
days, I would have to code each page individually to make them all uniform. All
I have to do with CSS is change two color definitions and the entire site will
have updated colors. I can change the format of the whole site just by
uploading one page instead of all of
them.
Since Pagan Vigil has more than two thousand pages, you can see that would be a problem. Even with modular HTML, it would be almost impossible to do it quickly. This blog, teknologi, has what's pretty close to the default style sheet for iBlog. Oh, the colors are tweaked a bit, but that is about it. Once I got to fiddling with the CSS, all sorts of things opened up. Here is a sample of the blog post headline style and date style Pagan Vigil. Most people won't have my specific fonts installed so it is not American Typewriter like the PV logo, but it is close enough to look like it might have come out of the same typewriter. That contributes to the whole feel of the site. I did a slight variation for the sidebar title on Pagan Vigil. For Technopagan Yearnings, I added a background in the blog post headline. The great thing about this is that I can change any of this at a moments notice. Admittedly iBlog has CSS support, but it doesn't make editing CSS easy. Rather it makes certain things very easy to change and you can't directly change other things. That double border in the side title of Pagan Vigil can't be done within iBlog, you have to edit the master style sheet for the site. Different font families for different blogs (but the same user) also can't be changed within the program. New class definitions can't be added. For that, you can load the style sheet into a word processor and save it unformatted with the proper extension. Or Macintosh users can use CSSEdit from Macrabbit. Stars above I wish I had heard about this program earlier. It's intuitive and lets you see what happens before you save. The latest version even includes a Milestones feature which lets you instantly revert to a previous save, or even saves before that. Now, here is where things get complicated, it is easier to work around iBlog's filing locations than to try to keep track of what is where. In your Sites folder, there is an iBlog folder with one folder for each blog you have, but the title of the folder is some arcane number that begins with B. If you have only one blog, that is not a problem, but I have three and am thinking about a fourth. In my Sites folder I have an alias for each blog folder, only I have renamed the alias to the blog name instead of the number. There is a file named “styles-site.css” in each blog folder. This is NOT the master style sheet for that blog, this file is overwritten every time you use iBlog to either Preview or Publish. I found that out the hard way when my changes kept dissappearing. The master style sheets are in Library/Application Support/iBlog/Stylesheets. I have an alias of that folder in my Sites folder. So I usually have four windows open when I am experimenting with CSS. One browser, the CSS program, the folder window for the iBlog stylesheets, and the folder window for the blog. Before I start, I archive the style sheet in case anything goes wrong. I open the site master style sheet with CSSEdit, make any changes, and then save. I drag the “styles-site.css” from the blog folder to the trash. Then I option-drag (to make a copy) of the site master style sheet to the blog folder. I rename it “styles-site.css” and refresh the browser. Instant gratification. |
Hello There
This is my no frills blog to cover all the gadgets and gizmos and technology that makes 21st Century life so exciting. Think of it as a messy set of notes that I keep for myself on all sorts of topics. It's really intended for my personal use, but I will explain sometimes as I go along.
My passion is for Macintosh and other Apple products, but I will use others as needed. If my notes and experiences can help or amuse you, so much the better. Categories
Calendar
Archives
XML/RSS Feed
Neolinks
Homepage AOL Homepage Geocities Homepage Dot Mac Homepage PaganVigil AOL Pagan Vigil Geocities Pagan Vigil Dot Mac Pagan Vigil Technopagan Yearnings AOL Technopagan Yearnings Geocities Technopagan Yearnings Dot Mac Technopagan Yearnings Webmaster NetworkSolutions Dot Mac dotmac.info WhatTheFont MacHighway America Online Yahoo! Geocites ZoneEdit iBlog HaloScan StatCounter Feed to JavaScript Performancing Design Re-Imagineering Steampunk Workshop Design Observer Subtraction Paleo-Future Hardware Apple CDW Cyberguys PCMall X-Treme Geek Software TypeStyler Graphic Converter Palm News & Info Palm Infocenter Brighthand Forums - Palm mytreo.net Making Music Apple - iLife - GarageBand iCompositions Royalty Free Music, Free Sound Effects, Royalty-free Sounds Tune Up Loops Twin Cities MIDI Home Page Andy's OSX Music Page Apple Logic Pro - AUDIO Hints & Tips Library of scanned player piano music rolls Garritan Orchestral Libraries Drums on Demand Bandmateloops Coolness Gizmodo Engadget Daring Fireball RoughlyDrafted Magazine Applefritter iGeek MaKiDo Mac vs. PC Info Why I Hate Microsoft World of Ends Tracking What Is My IP Address? IP Address Trace Geektools WHOIS ARIN WHOIS Database Search Zabra People Search NeoBlogs
Statistics
Total entries in this blog:
Total entries in this category: Published On: Dec 07, 2008 01:28 PM |