iNove theme for Movable Type (preview)
Tags:
4 Comments
Leave a comment
March 2010
Recent Entries
- A window into the totalitarian mind of the left on freedom of religion
- From Digg: Me: I'm not going to hold my breath waiting for the same liberal democrats who shriek about the…
- By Mike | Comments (7)
- Google's lossy compiler
- Google's closure compiler service gets a little too frisky under ADVANCED_OPTIMIZATIONS. Original code: With advanced optimizations enabled, it was able…
- By Mike | Comments (0)
- The three purposes of the federal income tax law
- Businesses will spend about 3.4 billion man-hours and individuals about 1.7 billion hours figuring out their taxes this year.…
- By Mike | Comments (6)
Advertisements
Monthly Archives
- March 2010 (16)
- February 2010 (17)
- January 2010 (15)
- December 2009 (9)
- November 2009 (2)
- October 2009 (16)
- September 2009 (29)
- August 2009 (22)
- July 2009 (18)
- June 2009 (32)
- May 2009 (38)
- April 2009 (41)
- March 2009 (43)
- February 2009 (51)
- January 2009 (51)
- December 2008 (44)
- November 2008 (52)
- October 2008 (58)
- September 2008 (51)
- August 2008 (53)
- July 2008 (44)
- June 2008 (46)
- May 2008 (36)
- April 2008 (38)
- March 2008 (68)
- February 2008 (44)
- January 2008 (56)
- December 2007 (45)
- November 2007 (18)
- October 2007 (41)
- September 2007 (40)
- August 2007 (24)
- July 2007 (35)
- June 2007 (43)
- May 2007 (36)
- April 2007 (33)
- March 2007 (50)
- February 2007 (54)
- January 2007 (54)
- December 2006 (43)
- November 2006 (31)
- October 2006 (37)
- September 2006 (30)
- August 2006 (52)
- July 2006 (36)
- June 2006 (30)
- May 2006 (58)
- April 2006 (47)
- March 2006 (60)
- February 2006 (65)
- January 2006 (17)
- December 2005 (20)
- November 2005 (4)
OpenID accepted here
Learn more about OpenID
I have been thinking of adding colour to the sides of my blog page. I like how you shade from dark to grey in this theme (I note your own blog goes from light to green). Do you need an image to do this or is there html code that fades from one colour to another?
It is an image and CSS. What I have is HTML that looks like this:
<div class="widget">
<h3 class="widget-header">Elsewhere</h3>
<div class="widget-content">
<ul>
<li></li>
The image that you see on the sidebar widgets with the faded color at the bottom is the background image of the header. To make it fade into the rest of the widget, I used the CSS statement margin-bottom: -50px; in the stylesheet property for the header.
Sorry, when I said sides I mean the very sides (ie. page background), not the sidebars.
Though your comment about negative margins is useful. I only know basic html but playing around with my blogger template helps me understand a little more.
I think the concept of 1 versus 2 versus 3 versus 4 numbers next to margins (etc.) and what they mean takes a little time to get used to.
I think html should have taken its lead from WordPerfect code, at least what was shown to the user. It attempted to be logical, not just pragmatic.
*****
By the way, preview is useful, edit and delete would be helpful, but when submitting the page should not acknowledge the comment with a redirect link, it should go straight to the post (with comments). Is this your coding or moveable type?
Well, that sort of thing isn't HTML. It's CSS, which is a separate spec from HTML. Once you learn some of the basics of CSS, it'll start to really make a lot of sense.
The beauty of the structure of a modern web page is that it is modular. The HTML describes the data and general structure of the page. The CSS stylesheets tell the browser most of the important details about how to tweak the actual look of the page, and the JavaScript files that are imported add behaviors to the page.
HTML is meant to be simple, but flexible, something which WordPerfect and Microsoft Office are not. The beauty of HTML is that raw HTML is a very simple, straight-forward metalanguage for describing the data that you want to present to the user. When you combine it with CSS, you can create some very complex and attractive displays that go well beyond what WordPerfect can do.
It's both. I configured Movable Type to behave like that, but I've been thinking about changing that since it doesn't really serve much of a useful purpose anymore.