Xerratus
Happily stressed out, since 1974


 
Friday, October 07, 2005
<< Css and the dasBlog calendar control
The search goes on >>

Well, I knew I wasn't immune to being entered as the daily dumbass but I just didn't think that it would come so soon.

This morning I added an entry about the dasBlog calendar control and a styling issue I was running into last night while working on it.  Upon reviewing the post, I noticed that I put in the incorrect css class that corresponded with the HTML example.  So, I went back and retrieved the correct version and found my problem immediately:

.sideContent
{
    text-align: left;
}

You see, my problem was with alignment and I was having a hard time figuring out why I couldn't center align it -Duh!.  To fix, I created a new css class, changed the calling <div class="sideContentCalendarControl">...</div> and viola, it worked.

.sideContentCalendarControl
{
    text-align: center;
}

So I can officially say that today, I'm a dumbass!
Name
E-mail
Home page

Comment (Some html is allowed: a@href@title, b, blockquote@cite, em, i, strike, strong, sub, super, u) where the @ means "attribute." For example, you can use <a href="" title=""> or <blockquote cite="Scott">.  

Enter the code shown (prevents robots):

Live Comment Preview