Tag Archives: html

How to get rid of the wide spaces between the post body in WordPress

Sometimes we see some annoying wide spaces in between the post body, which makes the post looks wierd, like this one in the picture. That’s because the theme’s stylesheet made the post body’s texts to align justified. To get rid of those wide spaces we have to open the file style.css in the folder “wp-content/themes/your theme”, find the .post { section or .entry-content { section if you’re using K2 and change text-align: justify; to text-align: left; to make the text to align left, so that they won’t make wide spaces by sometimes aligning left and sometimes aligning right. After changing this file the wide spaces will be gone.

Yesterday I got paid by Bidvertiser

Yesterday finally I got the first payment to my Paypal account by Bidvertiser, it was about 26 dollars, earned from the ads in my other websites. I’m very happy about that, since it’s the first time I get so much money in my Paypal account! It also proved that Bidvertiser actually pays, at least for a small amount, although I don’t recommend it to anyone who has a very good website, because sometimes it won’t count some clicks. In spite of this it accepts almost all kinds of websites, including the free web sites and subdomains, you don’t need to wait for your website to be approved, but be careful that if your website is not approved after they review it some times later your website along with the earning from it will be DELETED!

Anyways here’s the picture of the payment received from it:

How to make links to open in a target frame

To make links in a web page to open in a target frame or new window all you need is to add target=”_blank” in between the <a href=”***”> section of the html code, where *** is the default target frame.

target=”_blank” Opens a page in new window
target=”_self” Opens a page in the same frame
target=”_top” Opens a page in the top page breaking all frames
target=”_parent” Opens a page in parent frame

We can also use target=”frame or iframe’s name” to make the link to open in that frame or iframe.

To make links to open in a target frame or new window by default add <base target=”***”> in between the <head> section of the code. This also works for Blogger’s templates, for Blogger Beta’s templates since it had to be XML compliant you have to add the closing tag </base> at the end to <base target=”***”> to make it work.