Whenever you are developing the new wordpress theme, you need to put some css in your style.css file. If you are not adding that css in your theme then there is lot of changes to break your theme view.
Some classes which are needful for image and alignment purpose. You need to just copy paste following CSS code in your style.css file.
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft {
float: left;
}
.alignright {
float: right;
}
.wp-caption {
border: 1px solid #ddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px;
/* optional rounded corners for browsers that support it */
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
}
.wp-caption img {
margin: 0;
padding: 0;
border: 0 none;
}
.wp-caption p.wp-caption-text {
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
You can edit some CSS as per theme requirement also.
Following CSS classes are also useful for creating the WordPress theme. You can create these CSS classes as per your theme requirement.
.categories {…}
.cat-item {…}
.current-cat {…}
.current-cat-parent {…}
.children {…}
.pagenav {…}
.page_item {…}
.current_page_item {…}
.current_page_parent {…}
.current_page_ancestor {…}
.widget {…}
.widget_text {…}
.blogroll {…}
.linkcat{…}





Great information for creating wordpress themes. CSS tip is useful.
I was just having a conversation over this I am glad I came across this it cleared some of the questions I had.
Nice post! You truly have a wonderful way of writing which I find captivating! I will definitely be bookmarking you and returning to your blog. In fact, your post reminded me about a strange thing that happened to me the other day. I’ll tell you about that later…
I’ve been checking your blog for a while now, seems like everyday I learn something new
Thanks
I’ve just started off a blog, the knowledge you give on this site has aided me extremely. Thank you for all your time & work.
I REALLY liked your post and blog! It took me a minute bit to find your site…but I bookmarked it. Would you mind if I posted a link back to your post?
Good! Thank you! I always wanted to write in my site something like that. Can I take part of your post to my blog?
Intriguing post. I have been searching for some good resources for solar panels and discovered your blog. Planning to bookmark this one!
Thanks for posting. Good to see that not everyone is using RSS feeds to build their blogs
I’ve been checking your blog for a while now, seems like everyday I learn something new
Thanks
I would like to say “wow” what a inspiring post. This is really great. Keep doing what you’re doing!!
Awesome post. I so good to see someone taking the time to share this information
Interesting read, perhaps the best article iv’e browse today. We learn everyday cheers to you!