Quantcast
Channel: FOR BETTER DESIGNS » css
Viewing all articles
Browse latest Browse all 5

Some little css tips you can use in your blog

$
0
0

Today I want to share with you some little CSS tips which I am sure you will like if you don’t know them. This are 2 tips which will make your site to look a little bit better in some way. If you have noticed all the images in my blog now have this not so good looking 1-2px border around them. To remove this border I should put a rule in my css file which is:

a img{ border:none; }

Before:                                                                    After:

Image remove borderremove image border after

This will remove border from all the images in your web site If you need that. For example in my case I want it removed.

Next little tip is about change the text highlight color in your posts. But I’ll show you the tips only for Firefox, Safari and Opera. You should put this code in your css style document:

::-moz-selection{ /* Firefox */
background:#d6e0c8;
color:#000;
}

::selection{ /* Safari and Opera */
background:#d6e0c8
color:#000;
}

And after all I have this:

text higlight

I hope you have litked this little tips and you’ll use them in your web sites too.


Viewing all articles
Browse latest Browse all 5

Trending Articles