December 7, 2009

Tips For Creating Cool Web Forms

1. Use Labels

You don’t need labels for your form to work, but as one CSS-Tricks reader once put it, it is an accessibility crime not to use them. Labels are what signify what the input box is for and associate them together. The use of the

2. Float Your Labels

This is how you achieve that table-like structure on forms without having to actually use a table. Just set a static width, float it the left, align the text to the right, and give it a little right-margin. Beautiful.

label {
float: left;
text-align: right;
margin-right: 15px;
width: 100px;
}

3. Careful To Not Wreck Your Default Styling

A lot of browsers have default styling applied to input buttons. This provides a nice consistent user experience, so if you choose to interfere with this, make sure you have a good reason. A common way to break this is by using a CSS Reset technique that includes something like this:

* {
border: none;
outline: none;
padding: 0px;
margin: 0px;
}

4. Use the :focus Pseudo Class

You can apply styling to your input areas and textareas that only takes affect when a user has clicked into that area using the :focus pseudo class. For example, you could change the border color on those elements like so:

textarea:focus, input:focus {
border: 2px solid #900;
}
// Will not work in IE

5. Prefill With Hints, But Clear Them Away

It can be useful to prefill your input fields and textareas with little hints or reminders. For example if you have a general contact form and a textarea labeled “Message:”, you may want to prefill that textarea with something like “Your positive comments or constructive criticism here.” Or, you could have a name field which is prefilled with “First Middle Last” so that you can remind users that is the order they should fill in their name. You can do that just by including text within your tags:


November 20, 2009

Photoshop Vs Fireworks

It's a challenge to say anything about it, but i will dare to do it.

I’ve been developing websites for more than 4 years. No one really used image editing programs back then.

When it came time to start using a program to make web graphics, I chose Fireworks because it’s made specifically for web graphics.

Photoshop’s steep learning and often clumsy UI has always been a problem for me. Most of the features are things I would never use for a website.

Fireworks, on the other hand, is what I’ve used since it came out, and that’s only because I used Dreamweaver, which is really what introduced me to it.

As you said in the article, Photoshop is for, well, photos. It’s a full-blown image editor. Fireworks, while it does have the ability to edit images, is all about the web.

My vote goes to Fireworks, hands down.



Comparing Photoshop with Fireworks is a little like comparing apples and oranges. Both are delicious but are different in a number of ways.
Photoshop is the bitmap editor, and was designed for artists working on images for print. Fireworks is the top of the line, software for creating images for the Web.
Fireworks is vector based, so it actually has more in common with Illustrator than Photoshop. If you are comfortable with vectors, you'll love it.

Cheers!

September 14, 2009

My Latest Work

http://www.drink2health.net/
http://www.manakjewels.com/
http://www.olddalians.org/
http://61.246.241.36/webdesign/big-khandan/index.html (Currently Working)
http://61.246.241.36/webdesign/itc/index.html (Currently Working)
http://61.246.241.36/webdesign/yamini/index.html (Currently Working)
http://www.chatfiles.com/
http://www.indoreonline.com

August 21, 2009

MouseOver and MouseOut Scripts for SilverLight

MouseOver Animation for text and shapes
private void rectangle_MouseEnter(object sender, MouseEventArgs e)
{
VisualStateManager.GoToState(this,”hover”,true);
}

private void rectangle_MouseLeave(object sender, MouseEventArgs e)
{
VisualStateManager.GoToState(this, “mout”, true);
}


Rollover Color Effect in Silverlight
private void design_txt_MouseEnter(object sender, MouseEventArgs e)
{
design_txt.Foreground = new SolidColorBrush(Color.FromArgb(255, 0xFF, 0×66, 0×00));
}
private void design_txt_MouseLeave(object sender, MouseEventArgs e)
{
design_txt.Foreground = new SolidColorBrush(Colors.Black);
}

August 18, 2009

Rollover Colors in Silverlight

//Just Paste this code in your CS file on Mouse Over Handler
private void design_txt_MouseEnter(object sender, MouseEventArgs e)
{
design_txt.Foreground = new SolidColorBrush(Color.FromArgb(255, 0xFF, 0x66, 0x00));
}
private void design_txt_MouseLeave(object sender, MouseEventArgs e)
{
design_txt.Foreground = new SolidColorBrush(Colors.Black);
}

July 31, 2009

What is JQuery?

It's a JavaScript library that makes it easy to create wonderful web effects in just a few lines of code.

“jQuery is a JavaScript library that takes this motto to heart: Writing JavaScript code should be fun. jQuery achieves this goal by taking common, repetitive, tasks, stripping out all the unnecessary markup, and leaving them short, smart and understandable.”

May be you are thinking…Why I would need another JavaScript library? Just give a try and you will see how simple and powerful it is.

July 25, 2009

jQuery is a Power

jQuery is a fast and concise JavaScript Library that simplifies HTML document traversing, event handling, animating, and Ajax interactions for rapid web development. jQuery is designed to change the way that you write JavaScript jQuery: The Basics

This is a basic new, designed to help you get started using jQuery. If you don't have a test page setup yet, start by creating a new HTML page.

July 9, 2009

Dreamweaver template not updating the pages

I just upgraded from an old version of Dreamweaver to CS4 Dreamweaver. Now, when I change an image on a template, pages made using that template don't update automatically. Anyone got an idea what I can do to fix this?

May 15, 2009

CSS hacks

Dealing with browser inconsistencies often makes up a majority of the work for a web designer. Sometimes there is no reasonable way to accomplish a desired layout in all major web browsers without the use of some special exception rules for certain layout engines. Hacks necessarily lead to potential complications and should be avoided whenever possible, but when the circumstances require hacks to be used, it's best to know what your options are and weigh the consequences appropriately. The purpose of this article is to describe some of the CSS hacks, also called CSS filters, with the least significant potential consequences.

How to debug HTML/CSS issues using Firefox?

There is an add-on for the Firefox web browser called Firebug. This tool can be used to analyze, debug and edit the HTML and CSS code of your pages.

Firebug makes it easy to see how HTML and CSS code is used to build a particular page. It is very useful for web designers who wish to troubleshoot a problem with their pages and debug their code.

February 28, 2009

Finding the Right Web Design Company

September 4th 2008 in Web Development Methodolgy

INTRODUCTION
A man’s error are his portals of discovery.
What does the above quotation convey? To have a portal, you have to commit mistakes. Isn’t that funny? No not at all. It may be a motivating sentence, but in business it can turn out to be doomsday for small start-ups with little investments.
We have already talked about [...]

Bookmark It

January 31, 2009

Deep Zoom Composer

Deep Zoom Composer, a tool to allow the preparation of images for use with the Deep Zoom feature currently being previewed in Silverlight 2. The new Deep Zoom technology in Silverlight allows users to see images on the Web like they never have before. The smooth in-place zooming and panning that Deep Zoom allows is a true advancement and raises the bar on what image viewing should be. High resolution images need to be prepared for use with Deep Zoom and this tool allows the user to create Deep Zoom composition files that control the zooming experience and then export all the necessary files for deployment with Silverlight 2.

January 3, 2009

Silver Light Animation (For Indoreians Only)

Microsoft Silverlight powers rich application experiences and delivers high quality, interactive video across the Web and mobile devices through the most powerful runtime available on the Web.

http://61.246.241.36/silver/ascentn-movie/Default.html