General

CSS Techniques I Dreamed About When I Started….

When I was first introduced to CSS, my mind exploded with possibilities that CSS created, which lead to thoughts of what it could provide me as a web designer. CSS provided the bridge between web designers and web developers. We have all seen situations where a developer created almost the perfect website, yet it didn’t have the appeal that a good front end designer could present. Now with CSS, you could have both in a seamless creation of perfection.

I imagined where designers might discover easier ways to code, and developers would find easier ways to design, to the point where they would become synonymous with one another. I dreamed of ways that cumbersome HTML coding could be replaced with efficient and quick CSS code allowing cleaner, yet more stylistic website pages.

Web developer gurus have traditionally used PHP, JavaScript and Ruby as the languages they regularly use. Now there are some folks that are simply taking PSD and converting it to XHTML and CSS, and proudly declaring themselves web developers.

Not all dreams are good dreams. One of the fears I had is there would be designers and developers over using CSS variables and constants as found in PHP, to the point where they re actually making their style sheets longer. They also face the problem of being able to write their code that can be easily understood when reading it. As long as designers and developers make sure they are always efficient in writing their code and knowing when to use CSS variables, or when they should be using selectors.

I liked being able to use CSS to define colors as word-colors like blue, yellow, green and such. But then I noticed that during W3C validation, it would produce error warnings. W3C ants every color defines by numbers. Normally that isn’t a problem, however if you are designing a page that has extensive colors and shadings, it becomes difficult to remember what each code represents. It is very difficult to track. However, if you write your code as below, it is then a simple matter of reading your code if you need to make a change.

  • $tan = “B7722D”
  • $cream = “F5C350”
  • $menuUp = “E9AB54”, // lite tan
  • $menuDown = 473729”, // dark gray

SEO optimization is being discussed on everywhere, from individuals to design studios soliciting customers, and most of them skip over CSS as a simple and free solution. There are actually several websites that offer CSS Optimization tools. Some of them are relatively easy to use, and there are those that are fairly complex and harder to use. Most of them produce incredible results. Basically what they do is compress CSS files to allow them to load quicker, by merging similar classes, removing useless properties and whitespace, etc., will make some of the code harder for you to read. However, with larger CSS files it can condense the file that it really makes a difference in page loading times.

Even if it only saved 10% of the standard loading time, that alone would be significant over a course of a month or a year. Any time savings is beneficial considering there is a good chance of saving a viewer from leaving the site and going else where on the net. It is recommended that the designer or developer always keep a copy of the readable CSS code so that if they ever needed to make any changes it could be done quickly and easily to find what you need to change, and then it can be re-optimized.

Many broadband users might not think this matters much, as most websites seem to load fast for them, but if each site you went to loaded even 10% faster, think of all the time it could save you over the course of a week, a month or even a year. The bandwidth savings for the website operator can also be immense. I would recommend that you always keep a copy of your human readable CSS code so that if you ever need to make any changes it does not take you a long time to figure out what you need to change, and then you can re-optimize it.

The CSS optimizer that appears to be best is “Icey’s CSS Compressor” which out performed all of the others, with the added benefit of displaying the compressed code in color making it easier to see the changes that had been done.

All in all, CSS is here to stay, and is actually only limited by our dreams. CSS can be what you want it to be, or it can be something you want to avoid. However, that would be your loss. If you are new to CSS, read and experiment with it all you can, so it is truly an amazing tool for website creation and esthetics simplification.


Things A Front-End Developer Should Know

There are no clear and defined skill-sets a developer should have to build a web site, with so many different technological possibilities it can be difficult deciding which to focus on. A question on this subject was recently asked on Answers, so, what skills do you think a front-end developer should have?

You can leave your answers and thoughts below in the comment section, or you can leave your answer/opinion on the original question here: What Should a Front-End Developer Know?.

What Should a Front-End Developer Know?

What Should a Front-End Developer Know?
This question was originally asked by Desi, and you will find the favorite answers below:

Best Answer from J.J. Nold:

What Should a Front-End Developer Know?

Second answer from an Unregistered User:

What Should a Front-End Developer Know?

Unanswered Answers

Just one unanswered question this week, can you help?

  1. Can Anyone Explain the True Difference in jQuery and jQuery UI?

Thanks again, firstly to everyone who asked a question, but most importantly thanks to everyone that took the time and effort to offer helpful and useful answers.


Fresh HTML5 Resources, Articles and Tutorials

HTML5 is gathering more and more momentum, and is looking very likely to be, in the near future, the language of choice for developers, replacing Flash. As such, in todays news round-up we focus on some fresh HTML5 resources, articles and tutorials for you to enjoy. Here they are:

The HTML5 Roadmap, Past and Present

The HTML5 Roadmap, Past and Present

The most publicized reason for the push to build web apps in HTML5 is that Flash is not allowed on the iPhone and the iPad, but the reasons go deeper and more technical than that. This article gives an insightful overview of how HTML5 has rapidly progressed in the last few years.
The HTML5 Roadmap, Past and Present

Build a HTML5/CSS3 Website Layout Without Images

Build a HTML5/CSS3 Website Layout Without Images

In this tutorial you will learn how to build a decent-looking HTML5 & CSS3 website that doesn't to rely on any images for the layout elements.
Build a HTML5/CSS3 Website Layout Without Images

How to Create a Drop-down Nav Menu with HTML5, CSS3 and jQuery

How to Create a Drop-down Nav Menu with HTML5, CSS3 and jQuery

In this tutorial, you’ll take a look and see what you can achieve with HTML5 and CSS3 when it comes to the staple of current web sites: the humble drop-down navigation menu. You’ll also use jQuery to handle the effects and add the finishing touches.
How to Create a Drop-down Nav Menu with HTML5, CSS3 and jQuery

The State of HTML5 Apps

The State of HTML5 Apps

The State of HTML5 Apps

HTML5 Canvas Cheat Sheet

HTML5 Canvas Cheat Sheet

HTML5 Canvas Cheat Sheet

By Paul Andrew (Speckyboyand speckyboy@twitter).


Coding by Hand or Use a WYSIWYG Editor?

An interesting question was asked this week on Answers, and we would like to open this discussion further with our readers, and hear your thoughts. So, do you prefer to code your site by hand or use a WYSIWYG editor?

We look forward to hearing how you prefer to code your site, you can leave your thoughts and comments below or you can leave your answer/opinion on the original question here: Do You Prefer to Code Your Site by Hand or Use a WYSIWYG Editor?.

Do You Prefer to Code Your Site by Hand or Use a WYSIWYG Editor?

Do You Prefer to Code Your Site by Hand or Use a WYSIWYG Editor?
This question was originally asked by Csgs, and you will find the favorite answers below:

Best Answer from Scunliffe:

Do You Prefer to Code Your Site by Hand or Use a WYSIWYG Editor?

Second Answer from Vinay Vidyasagar:

Do You Prefer to Code Your Site by Hand or Use a WYSIWYG Editor?

Unanswered Answers

Can you help with this weeks unanswered questions?

  1. Are There Any Cons to Having a Return Statement In all Functions?
  2. How Can I Make a Browser Window to Stay on Top and In Focus at All Times?
  3. Are You Inclined More Towards the Use of Fluid Layouts? (Why or Why Not)
  4. What Would Be the Preferable Time Zone to Set for a MySQL Website?
  5. Is There Some Way to Parse PHP Locally Without the Use of an FTP/Local Host Server?
  6. How Can I Organize My AJAX Handlers in a Secure, Logical, and Structured Manner?

Thanks again, firstly to everyone who asked a question, but most importantly thanks to everyone that took the time and effort to offer helpful and useful answers.


Best Webhosting Services

One of the major problems to open a website is decide when webhost do you go for? I listed down a the Webhosting services depending on the Rate, Windows or Linux Hosting, Band Width etc.

I would also mention some of the providers who are giving free service in my next post, but the service is not for professional web hosting. Please find the list below.

Cheap Linux Based Hosting
Host Price($)

/ Month

WebSpace WebTraffic Emails Domains

Included

Technologies Databases

Professional Hosting from Just Host

Visit Site
$3.95 Unlimited Unlimited Unlimited One Free for Life, Point Unlimited Domains PHP,CGI, PERL etc Unlimited MySQL

PowWeb Hosting - Only $3.88 per month!

Visit Site
$3.88 Unlimited Unlimited Unlimited One, Point Unlimited Domains and Subdomains PHP, CGI, PERL etc 75 MySQL DB

Banner

Visit Site
$3.95 Unlimited Unlimited 2500 One,Point Unlimited Domains PHP,CGI,PERL 50 MySQL

FatCow Web Hosting: $88 Plan

Visit Site
$4.83 Unlimited Unlimited Unlimited One, Point Unlimited Domains and Subdomains PHP, CGI, PERL etc MySQL DB


Visit Site
$4.95 Unlimited Unlimited Unlimited Free Domain for Life PHP,CGI,PERL MYSQL

Although the above mentioned hosting services are the cheapest i found, i have no experience with hosting with the above. Below mentioned are site are costlier than then above sites , i have experience with hosting in a few of those sites and was happy with those services.

(continue reading…)


Copyright © 1996-2010 BlogmyQuery - BMQ. All rights reserved.
iDream theme by Templates Next | Powered by WordPress