Showing posts with label Word Press. Show all posts
Showing posts with label Word Press. Show all posts

Wednesday, 24 April 2013

20 Useful CSS Tips For Beginners



useful css for beginners
In the old days, we depend a lot of on developers and programmers to help update the website, even when it’s just a minor one. Thanks to the CSS and it’s flexibility, styles can be extract independently away from the codes. Now, with some basic understanding of CSS, even a novice can easily change the style of a website.
Whether you are interested in picking up CSS to create your own website, or merely to tweak your blog’s look and feel a little – it’s always good to start with the fundamentals to gain a stronger foundation. Let’s take a look at some CSS Tips we thought might be useful for beginners. Full list after jump.
  1. Use Reset.Css

    When it comes to rendering CSS styles, browsers like Firefox and Internet Explorer have different ways of handling them. reset.css resets all fundamental styles, so you starts with a real blank new stylesheets.
    Here are few commonly used reset.css frameworks – Yahoo Reset CSS, Eric Meyer’s CSS Reset, Tripoli
  2. Use Shorthand CSS

    Shorthand CSS gives you a shorter way of writing your CSS codes, and most important of all – it makes the code clearner and easier to understand.
    Instead of creating CSS like this
    1. .header {<br>  
    2.       background-color: #fff;<br>  
    3.       background-image: url(image.gif);<br>  
    4.       background-repeat: no-repeat;<br>  
    5.       background-position: top left; <br>  
    6.     }  
    It can be short-handed into the following:
    1. .header {<br>  
    2.       background: #fff url(image.gif) no-repeat top left<br>  
    3.     }  
  3. Understanding Class And ID

    These two selectors often confuse beginners. In CSS, class is represented by a dot "." whileid is a hash ‘#". In a nutshell id is used on style that is unique and don’t repeat itself, classon the other side, can be re-use.
  4. Power Of <Li>

    <li> a.k.a link list, is very useful when they are use correctly with <ol> or <ul>, particulary to style a navigation menu.
  5. Forget <Table>, Try <Div>

    One of the greatest advantage of CSS is the use of <div> to achieve total flexibility in terms of styling. <div> are unlike <table>, where contents are ‘locked’ within a <td>‘s cell. It’s safe to say most <table> layouts are achievable with the use of <div> and proper styling, well maybe except massive tabular contents.
  6. CSS Debugging Tools

    It’s always good to get instant preview of the layout while tweaking the CSS, it helps understanding and debugging CSS styles better. Here are some free CSS debugging tools you can install on your browser: FireFox Web Developer, DOM Inspector, Internet Explorer Developer Toolbar, and Firebug.
  7. Avoid Superfluous Selectors

    Sometimes your CSS declaration can be simpler, meaning if you find yourself coding the following:
      1. ul li { ... }  
      1. ol li { ... }  
      1. table tr td { ... }  
    They can be shorten down to just
      1. li { ... }  
      1. td { ... }  
    Explanation: <li> will only exist within <ul> or <ol> and <td> will only be inside <tr> and<table> so there’s really not necessary to re-insert them.
  8. Knowing !Important

    Any style marked with !important will be taken into use regardlessly if there’s a overwriting rule below it.
    1. .page {<br> background-color:blue !important;<br>   background-color:red;<br>}  
    In the example above, background-color:blue will be adapted because it’s marked with!important, even when there’s a background-color:red; below it. !important is used in situation where you want to force a style without something overwriting it, however it may not work in Internet Explorer.
  9. Replace Text With Image

    This is commonly practice to replace <h1>title</h1> from a text based title to an image. Here’s how you do it.
    1. h1 {<br>  
    2. text-indent:-9999px;<br>  
    3. background:url("title.jpg") no-repeat;<br>  
    4. width:100px;<br>  
    5. height:50px;<br>  
    6. }  
    Explanation: text-indent:-9999px; throws your text title off screen, replaced by an image declared by background: {...} with a fixed width and height.
  10. Understand CSS Positioning

    The following article gives you a clear understanding in using CSS positioning – position: {...}
  11. CSS @Import Vs <Link>

    There are 2 ways to call an external CSS file – respectively using @import and <link>. If you are uncertain which method to use, here’s few articles to help you decide.
  12. Designing Forms In CSS

    Web forms can be easily design and customize with CSS. These following articles show you how:
  13. Get Inspired

    If you are looking around for nicely designed CSS-based website for inspiration, or just simply browsing to find some good UI, here are some CSS showcase site we recommend:
    Need more? Here’s a round up of 74 CSS Galleries.
  14. Rounded Corners In CSS

    This following article gives you an idea how to create cross-browser compatible rounded borders with CSS.
  15. Keep CSS Codes Clean

    If your CSS codes are messy, you are going to end up coding in confusion and having a hard time refereing the previous code. For starters, you can create proper indentation, comment them properly.
  16. Typography Measurement: Px Vs Em

    Having problem choosing when to use measurement unit px or em? These following articles might give you a better understanding on the typography units.
  17. CSS Browsers Compatibility Table

    We all know each browser has different ways of rendering CSS styles. It’s good to have a reference, a chart or a list that shows the entire CSS compatibility for each browser.
    CSS support table: #1, #2, #3, #4.
  18. Design Multicolumns In CSS

    Having problem getting the left, middle and right column to align properly? Here are some articles that might help:
  19. Get A Free CSS Editors

    Dedicated editors are always better than a notepad. Here are some we recommend:
  20. Understanding Media Types

    There are few media types when you declare CSS with <link>. print, projection and screen are few of the commonly used types. Understanding and using them in proper ways allow better user accessibility. The following article explains how to deal with CSS Media types.

Monday, 1 April 2013

Which Is Better Blogging Platform For You


The blogging is a good hobby and the best way to share our thought or knowledge in the Internet world as well make money through blog. Before creating a blog we should have specific goal about the blog we starting, like what we do for it? which types of post will publish in front of people? like those things are should kept in our mine while going to start blogging.

At starting the most of the people are perplexity to select which is best platform for blogging? As a non empiricism guy will always choose the platform which easy to navigate, customise, SEO, design etc. He select free blogging platform as good decision for newbie that is Blogger.com.

But a pro blogger continuous his blogging through WordPress which is self hosted blog. This is most difference between newbie and pro blogger.

There are various platform to start blogging. But the Blogger and WordPress are the most popular blogging platform. Blogger is the first blogging platform started in the Internet and have revolutionised in publishing articles on the Internet world while it launched but at the same time the WordPress released with more customisable than blogger.

However both are the best platform for blogging than other platform available in the web. Also offer equally effective search engine optimization while Matt Cutts the man behind SEO and head of the Google Webspam team looking around our blog. Let's check out the comparison between advantages and disadvantages among the Blogger and WordPress.

Blogger 

Blogger is created by Payra Labs and owned by Google. It's launched in august 1999. It is one of the best platform to create a blog for newbie and simpler to work in it for amateur as well its free. All the data are stored in the cloud. Anyone with email account can start blog on it for free. Majority of the bloggers on the blogger is based on personal use.

Advantages
  • Free to setup a new blog
  • There is no any limitation for the numbers of posts can have in a blog.
  • Bloggers can ask anything about blog in Blogger Product Forum.
  • It's available in 50 different languages.
  • Providing free templates and can customise easily through template designer option.
  • Bloggers who well known in codding may also create their own template using CSS.
  • Quick indexing in the search engine as it is a Google product.
  • Drag and Drop widget convenience in sidebar and footer.
  • Support multiple administration and no need install any software, everything can done by online.
  • Can easily setup Google Adsense through it for generating revenue.
Disadvantages
  • It only provide image and video upload. No any other types of file.
  • Templates are not much more attractive.
  • Google can remove your blog at anytime due any malpractice.
  • Individual pages (main page of a blog or archive pages) are limited to 1 MB.
  • It is difficult for the newbie to modify the part of HTML.
  • There is some limitation among a blog.

WordPress

WordPress is founded by Matt Mullenweg and Mike Little on may 2003. There is two service in WordPress are WordPress.com (that is free) and WordPress.org (Not free) it is self hosted blog so we need to spent some money for hosting. Many hosting providers are available in Internet which are easy to install. It is content management system (CMS) based  on PHP and MySQL. There are many features given for self hosted blog than free service.

Advantages
  • Free to setup a new blog on WordPress.com
  • Guest Post is very easy.
  • Many SEO plug ins are available to optimize the blog in search engine easily.
  • User can upload any types files. (while Blogger provide only image and video upload)  
  • Drag and Drop widget convenience in sidebar and footer.
  • There is no any limitation for the numbers of posts can have in a blog.
  • Support multiple administration.
  • Advance Content Management System.
  • User can easily customise the theme.
  • It's offer offline editing of post.
Disadvantages
  • You may have to install software for customisation.
  • Have to pay some money for attractive themes.
  • Free support is less.
  • It's difficult for newbie bloggers.
  • Your blog may hacked due malicious theme or plug in.
  • You may have to pay some money for WordPress bog.

Conclusion

By concluding the article you have understand the difference and better blogging platform. I'm strongly recommend WordPress for the pro bloggers, at the same time newbie should start blog on Blogger which is free to use. So I hope you may like my article well and if you have any doubts, you can comment it below.