Kind Souls

Just as there are venomous scumbags who derive some cretinous pleasure from hacking people’s blogs and ICQ accounts (damn you hackers!  May you rot in Internet hell!), there’re also some altruistic folks who willingly share their IT knowledge with novices like me.

The most recent kind soul I’ve met online is Kelwin.  After he read the "line spacing" problem with the ballerina WP theme I wanted to use, he checked the stylesheet and taught me how to get the spacing there myself.  The codes (other stylesheets may have slightly different codes).  This was how my problem was solved:

===========================

p {
    padding:0px 0px 0px 0px;
    margin:0px 0px 0px 0px;
}

These two lines define how each paragraph will look like.  Notice four sets of 0px each for padding and margin.

The first figure represents the top padding/margin.
The second figure represents the right padding/margin.
The third figure represents the bottom padding/margin.
The forth figure represents the left padding/margin.

In this case, it was defined such that the paragraphs do not have any spaces between them at all (notice 0 pixels top and bottom).

To solve this, change the margins for the top (or bottom) to a value bigger than 0. 

An example of the new code should look like below:

p {
    padding:0px 0px 0px 0px;
    margin:0px 0px 15px 0px;
}

===========================

And he was right!  Tada!  I got the ballerina theme with the line spacing I want and I learnt something new about codes.  I’m really glad about this.  The only dilemma is.. I also like the current "bunny laundry line" theme which I ripped from a blogspot skin… heh.  So I can’t decide which theme to use now!

Oh well, I suspect it’s just a matter of time before I switch back to the ballerina theme.  🙂

Thank you Kelwin!

1 Response to “Kind Souls”


  1. 1 Kelwin

    It was just a simple tweak. No problems at all. I’m actually trying to design my own wordpress theme. The biggest problem is that, I am not much a designer. LOL.

Leave a Reply




November 2008
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930

Archives