Categories

Your Name :
Your Email :
Your Message :
Security Code :
  

 

Web design and CSS

Print PDF

Website Design

Now a day web page design is a most popular and important works all over the world. Web page is the only one way to display anything in the internet. Basically a webpage made by hyper text markup language (HTML). But only HTML cannot make a web page looking good and more attractive. To solve this problem we can use CSS. CSS is used for provide style for a web page. Now a CSS is most important for web page designing. Every web page designer has to know CSS well. CSS make a web page more attractive and first loaded. You can add CSS with three way 1) Inline CSS 2) internal CSS 3) External CSS.



  1. Inline CSS:

Inline CSS used in the HTML tag. And it is used for every line. Here is some example about Inline CSS.

Example:

<h1 style="font-family:Arial, Helvetica, sans-serif; color:#00CC33;
font-size:16px;">Hi It is the inline CSS</h1>
<p style="font-family:Arial, Helvetica, sans-serif; font-size:14px;
font-weight:bold; color:#333333;" >Hi i am sazzad. i am a web d
esigner and a web developer. how are you</p>

This style will work for this line only.

  1. internal CSS:

Internal CSS stay in the <head> </head> section with <style> </style> section . Here is some example about Internal CSS. Example:

<head><style>
h1{font-family:Arial, Helvetica, sans-serif;color:#00CC33;font-size:16px;}
p{font-family:Arial, Helvetica, sans-serif;font-size:14px;color:#000000;}
</style></head>

This style will work for all the HTML <h1> tag all the web page.

  1. External CSS:

At first we have to making an external CSS file. For this reason open up notepad or any kind of text editor and we use the following CSS code. CSS Code:

h1{color:#009933;font-family:Arial, Helvetica, sans-serif;}
p{padding:5px;text-align:left;font-family:Arial, Helvetica, sans-serif;font-size:14px;}

Now we can save this file as a CSS(.css) file. Name the file “style.css” (without the quotes). Now we create a now html file and we use the following code. HTML Code:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<link rel="stylesheet" type="text/css" href="/style.css" />
</head>
<body>
<h1>hello world. how are you</h1>
<p>Hi i am sazzad. i am a web designer and a web developer.
how are you</p>
</body>
</html>

Now we can save the file as a HTML (.html) in the same directory as our CSS file. The External style sheet (CSS File) enable to change the appearance and layout of all the pages in our web site just changing one single CSS file. In the future post I will discuss some style and some more tips about CSS.

Comments (9)Add Comment
0
nits
November 08, 2009
122.173.197.230
Votes: +0
...

nice stuff great help for us.

0
randy
March 08, 2010
124.41.252.222
Votes: +0
...

Hi, very nice blog!i also much better your web design and web blog.

0
Web Development
July 14, 2010
203.128.27.107
Votes: +0
...

hi there, thanks for a useful information.

it surely is handy for the beginners to develop their basic concepts about the use of css in web design.

.........
Ronnie
Web design and web development


0
Bradford Sherrill
July 21, 2010
71.238.48.249
Votes: +0
...

Great article for the novice web designer or one wanting to learn web design. Another FYI is generally speaking inline css style tags maybe considered old school, and external css style sheets maybe considered web design 2.0.

0
Business University
August 11, 2010
114.143.163.225
Votes: +0
...

This very useful information to setup a new business, it also useful to beginners who learn web design this is a great article.
=============
Jeny Douglas

0
Designer
February 21, 2011
70.92.186.204
Votes: +0
...

Great article with even better illustrations!
I'm pretty new to the code side of web design myself, and I have found that when there are illustrations things are much easy to understand. My real shortcoming is going through CSS and trying to tweak the code to my liking...

0
suzanne scholl
March 10, 2011
96.224.64.125
Votes: +0
...

wow What a lot of information and for a beginer this was great..thank you learned a lot.smilies/smiley.gif

0
web dizajn nis
March 23, 2011
109.92.117.96
Votes: +0
...

Nice tutorial, usefull information. Thanks

0
Brand Reputation
April 21, 2011
115.64.100.118
Votes: +0
...

Great Tutorial. Really informative post. I have seen a good example of CSS being used at this

Write comment
 
  smaller | bigger
 

security image
Write the displayed characters


busy

http://www.inowweb.com/images/stories/downloads.png

Our Process | Request Quote | Web Design | Web Development Service | Internet Marketing | ecommerce | Graphic Design
Search Engine Optimization (SEO) | Flash Design | Portfolio | FAQs | Contact Us | SiteMap | xml SiteMap

<p align="center">Copyright © 2010 iNowWeb Web Design Company. All Rights Reserved.<br><a href="/terms-a-conditions" mce_href="/terms-a-conditions" title="terms &amp; conditions">Terms &amp; Conditions</a> | <a href="/privacy-policy" mce_href="/privacy-policy" title="Privacy Policy">Privacy Policy</a><br mce_bogus="1"></p><p align="center"><a href="http://validator.w3.org/check?uri=http://www.inowweb.com" mce_href="http://validator.w3.org/check?uri=http://www.inowweb.com" target="_blank" rel="nofollow"><img src="/images/stories/xhtml.png" mce_src="/images/stories/xhtml.png" alt="XHTML" title="XHTML" border="0"></a> <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.inowweb.com" mce_href="http://jigsaw.w3.org/css-validator/validator?uri=http://www.inowweb.com" target="_blank" rel="nofollow"><img src="/images/stories/css.png" mce_src="/images/stories/css.png" alt="CSS" title="CSS" border="0"></a>    </p><p><input id="gwProxy" type="hidden"><!--Session data--><input onclick="jsCall();" id="jsProxy" type="hidden"></p><div id="refHTML"></div>


<div align="left">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;We service but are not  limited to servicing the following cities:<br>
            <mce:style><!--
                .sometable td {padding-right:5px;}
            
--></mce:style><mce:style mce_bogus="1"><!--
                .sometable td {padding-right:5px;}
--></mce:style><mce:style mce_bogus="1"><!--
                .sometable td {padding-right:5px;}
--></mce:style><mce:style mce_bogus="1"><!--
                .sometable td {padding-right:5px;}
--></mce:style><mce:style mce_bogus="1"><!--
                .sometable td {padding-right:5px;}
--></mce:style><mce:style mce_bogus="1"><!--
                .sometable td {padding-right:5px;}
--></mce:style><mce:style mce_bogus="1"><!--
                .sometable td {padding-right:5px;}
--></mce:style><mce:style mce_bogus="1"><!--
                .sometable td {padding-right:5px;}
--></mce:style><mce:style mce_bogus="1"><!--
                .sometable td {padding-right:5px;}
--></mce:style><style mce_bogus="1"><!--
                .sometable td {padding-right:5px;}
--></style>
            <table class="sometable mceItemTable" align="center" cellpadding="0" cellspacing="7">
                <tbody><tr>
                  <td style="border-right: 1px solid rgb(153, 153, 153); line-height: 14px;" mce_style="border-right: 1px solid #999999; line-height: 14px;" valign="top">Albuquerque<br>
                    Allentown<br>

                    Arlington <br>
                    Atlanta <br>
                    Austin <br>
                  Baltimore<br>
                  Canada</td>
                  <td style="border-right: 1px solid rgb(153, 153, 153); line-height: 14px;" mce_style="border-right: 1px solid #999999; line-height: 14px;" valign="top">Bridgeport <br>
                    Boston <br>

                    Charlotte <br>
                    Chicago<br>
                    Cleveland <br>
                  Colorado Springs<br>
                  United Kingdom<br></td>
                  <td style="border-right: 1px solid rgb(153, 153, 153); line-height: 14px;" mce_style="border-right: 1px solid #999999; line-height: 14px;" valign="top">Columbus <br>
                    Dallas <br>

                    Deleware <br>
                    Dover <br>
                    Denver <br>
                  Detroit<br>
                  australia</td>
                  <td style="border-right: 1px solid rgb(153, 153, 153); line-height: 14px;" mce_style="border-right: 1px solid #999999; line-height: 14px;" valign="top">El Paso <br>
                    Fort Worth<br>

                    Fresno <br>
                    Frisco<br>
                    Grand Prairie <br>
                  Grapevine<br>
                  India</td>
                  <td style="border-right: 1px solid rgb(153, 153, 153); line-height: 14px;" mce_style="border-right: 1px solid #999999; line-height: 14px;" valign="top">Harrisburg <br>
                    Honolulu <br>

                    Houston <br>
                    Indianapolis <br>
                    Jacksonville <br>
                  Jersey City<br>
                  Brazil</td>
                  <td style="border-right: 1px solid rgb(153, 153, 153); line-height: 14px;" mce_style="border-right: 1px solid #999999; line-height: 14px;" valign="top"> Kansas City <br>
                    Las Vegas <br>

                    Lewisville<br>
                    Long Beach <br>
                    Los Angeles <br>
                  Louisville<br>
                  Spain</td>
                  <td style="border-right: 1px solid rgb(153, 153, 153); line-height: 14px;" mce_style="border-right: 1px solid #999999; line-height: 14px;" valign="top"> Mansfield <br>
                    Memphis <br>

                    Mesa<br>
                    Miami <br>
                    Milwaukee<br>
                  Minneapolis<br>
                  Italy</td>
                  <td style="border-right: 1px solid rgb(153, 153, 153); line-height: 14px;" mce_style="border-right: 1px solid #999999; line-height: 14px;" valign="top">Nashville <br>
                    New Orleans <br>

                    Newport<br>
                    New York <br>
                    Newark <br>
                  Oakland<br>
                  Egypt </td>
                  <td style="border-right: 1px solid rgb(153, 153, 153); line-height: 14px;" mce_style="border-right: 1px solid #999999; line-height: 14px;" valign="top">Oklahoma City <br>
                    Omaha <br>

                    Orlando<br>
                    Panama City<br>
                    Pennsylvania<br>
                  Philadelphia<br>
                  UAE</td>
                  <td style="border-right: 1px solid rgb(153, 153, 153); line-height: 14px;" mce_style="border-right: 1px solid #999999; line-height: 14px;" valign="top">Phoenix <br>
                    Plano <br>

                    Portland <br>
                    Sacramento <br>
                    St. Louis <br>
                  Stamford</td>
                  <td style="border-right: 1px solid rgb(153, 153, 153); line-height: 14px;" mce_style="border-right: 1px solid #999999; line-height: 14px;" valign="top">San Antonio<br>
                    San Diego <br>

                    San Francisco <br>
                    San Jose <br>
                    Southlake <br>
                  Seattle</td>
                  <td style="line-height: 14px;" mce_style="line-height: 14px;" valign="top">Tucson <br>
                    Tulsa <br>

                    Trenton <br>
                    Virginia Beach <br>
                    Washington <br>
                  Wichita</td>
                </tr>
              </tbody></table>
            <br>
</div><p><input id="gwProxy" type="hidden"><!--Session data--><input onclick="jsCall();" id="jsProxy" type="hidden"></p><div id="refHTML"></div><p><input id="gwProxy" type="hidden"><!--Session data--><input onclick="jsCall();" id="jsProxy" type="hidden"></p><div id="refHTML"></div><p><input id="gwProxy" type="hidden"><!--Session data--><input onclick="jsCall();" id="jsProxy" type="hidden"></p><div id="refHTML"></div><p><input id="gwProxy" type="hidden"><!--Session data--><input onclick="jsCall();" id="jsProxy" type="hidden"></p><div id="refHTML"></div>

Copyright © 2011 iNowWeb Web Design Company. All Rights Reserved.
Terms & Conditions | Privacy Policy

XHTML CSS