box - shadow

Hello friends, 
      After a time period we are here to describe the box-shadow in css . We will discuss how we can use it and how it will work for different browsers..
   We will teach you how to use it effectively in your file.
1.) First create a block . you can do it as follows

 display:block;

2.) Second, you can use a border so that it seems to be effective in your page.

3.) Third, now you can use box-shadow element of css. It can be used as-

  box-shadow: <attribute list>;

  In attribute list attributes may be in order as horizontal offset, vertical offset, optional blur distance and optional spread distance of the shadow . You can omit any attribute you don't need .So let we take an example-

 example : box-shadow: 10px 10px 5px;

  now you can also set color of the shadow by giving either color name or color value . Let we take an example-

  example : box-shadow 10px 10px 5px #898989;

  You can also set inset keyword if you want inner shadow means shadow going inside  we can do it as follows -
  
  example : box-shadow: inset 10px 10px 5px #898989; 

Now all given example will work well for internet explorer 9 but for Mozilla and chrome  you have to add a prefix as-

/* for mozilla */

  example_for_mozilla :  -moz-box-shadow: 10px 10px 5px #898989;

/* for chrome */

  example_for_chrome:   -webkit-box-shadow: 10px 10px 5px #898989;



Thank you all to visiting us.

css gradients part 2

 As we discuss earlier on gradient , now we discuss at some more points in gradients . Now we will discuss on radial gradient and gradient in images . Let's start our discussion -

  1.) first we discuss a linear gradient with an angle . When we talk about gradient at an angle , then keep in mind that you have to understand the angle . This angle is between a horizontal line and the line of gradient . Line of gradient will be in direction in which color density move from one color to another . As an example in the gradient  " -linear-gradient(left , color1 , color2); "   the line of gradient will be horizontal  and from left to right , because color density moves horizontally from color1 to color2 . The syntax for gradient with an angle is as -
syntax : -
                 "   -linear-gradient(<angle> , color1 , color2);  "
note : - you must prefix the syntax with -moz. And your script effect can be shown on Mozilla Firefox .

2.) Now we discuss gradients with transparency  , in this type of gradient we can use an image or a color and can change its transparency with gradient .As we discuss in our previous gradient styles , we can use left , right ,top , bottom , any angle for the gradient style . As in our syntax example we use an image for gradient , and the syntax is as -
  syntax : -
                     "  -linear-gradient( left , rgba(255,255,255,0) , rgba(255,255,255,1)),url(url of the image); "
note : - you must prefix the syntax with -moz , -webkit , -o . And you can run your script on mozilla , chrome , opera web browsers . But I recommend  you to use mozilla firefox . 

3.) Now we discuss on radial gradient , in this type of gradient we give all colors with their width space we want to use , means according to our need . It have a little bit different syntax from above . Here we specify size or width along with each color in our example , but you may leave size (we also leave it in our linear gradient examples )  then by default the stops will be equally spaced . (you can also use width of stops in linear gradient ).We use " ...." in our example for include more colors  according to your need .  Now we use a syntax here as -
 syntax : -
                   "  -radial-gradient(color1[size of stop in percentage]  , color2[size of stop ] , color3[size of stop] ....  );  "
note : - you must use -moz prefix before the syntax . And you can run your script on mozilla firefox .


4.) In this section we are going to discuss repeated background  , in this type you can repeat the color stops . The gradient we discussed earlier in this post do not support automatically repeating the color stops . So now we will use  -repeating-linear-gradient and -repeating-radial-background . Now in our example we take -repeating-linear-gradient  but you may use it on radial gradient also . The syntax looks like as -
 syntax : - 
                  "  -repeating-linear-gradient(top left -45deg , red , red 5px, black 5px , black 10px ); "
note : -   use  -moz prefix before the syntax . And run your script on mozilla firefox .


to check our previous pot on css and gradients click continue .It will help you to understand this post .
     If you have any problem in the script then either comment on this   post or contact us by email we would like to answer you .
 
      If you think that this post is helpful , then like this post on google+ and share it on other social networking sites .
                                                                                                  - Thanks to visit .

gradients with css


     Friends , as we discuss in our previous post that some part of the css3 have different syntax for different browser . Actually it depends on browser designing . Now we will discuss a part like it , in which different browser have different syntax for Gradients in css .I think you have used gradients in adobe photoshop . IF you do not know that what is gradients then I am showing you some images , so that you get clear picture in your mind .

 










image 1
 image 2



 
                                                                                                                                                                                         





                                                                 image 3

All the above shown images are gradients . Let's  discuss that how we can create it . The basic syntax used in gradients is as -
  note : - we used linear gradient on the above images . There may be radial gradient . We are going to tell you the the syntax for linear gradient .
  remember : - Different browser have different syntax(prefix in the syntax) .
 syntax : -  "  -linear-gradient( gradient styling ); "
 Now we take example for the above syntax.
example 1 :-  "  -linear-gradient(left , gold , red); "
 Through this example a gradient like in image 1 will be created . But remember to add prefixes      -moz , -webkit and -o for browsers mozzila , google chrome and opera respectively. A full example for chrome is given as -
 full example : -  "  -webkit-linear-gradient(left, gold , red);  "


example 2 : - "  -linear-gradient(left , blue , white);  "
 Through this example you will be able to create gradient like image 3 .

\creating striped gradient like in image 2 . Now we are going to tell you that how to create striped background .

example 3 : -  "  -linear-gradient(top , gold , white  , orange );  "
   Through this example you will be able to create gradient like image 2 .

    We will discuss more on gradient on later post .Our next topic will be more on gradient and radial gradient .
    check our previous page on multiple background with css by clicking continue
     If you have any problem then contact us or comment on that post your problem .
 We have checked our script with google chrome version 19.0.1084.52 .
                                                                                               - Thanks to visit .

Multiple Background with css

    The one of the most important and interesting thing in css3 is supporting multiple backgrounds on a single background . Yes css3 can supports multiple backgrounds . But the thing have to be remind is that there is different syntax for different browser . So most commonly used web browser is our target . We will target mozzila firefox , google chrome and opera .
       We talk about different browser when we use gradient in background , otherwise if we are using only some images then we don't need to talk about different browser . Because, basically the syntax is same .We will discuss about css gradient in our later post .
        I will describe here the syntax of  multiple background  -
 syntax : -
 background: url( url of the image 1), url( url of the image 2), url(url of the image 3);


        We will use bacground-position to set the position of each image in background and the syntax to set position will be as -
  syntax : -
 background-position:position1 , position2 , position 3;


          Where position1 denotes the position of background image 1 , and so on ..
          We will use background-repeat to set the background repeat or no-repeat property.

          We will take an example here, first of all I show you the images used in background
                             image1

image 2


             The css we use to create multiple background is as follows -
     css is -

<style type="text/css">
body { background:url( https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjhIpGBvkAjidTWT8DX_FuMCGMqvVdKh4W_t5FXRqeuJs4H1_oCJTVNbcRNNcsz_32kLMP8Wieicv1UYwDLQw99yynMSMeEUcD91v9v-oZ96zKRR8qmfUpYz5cPzGTIb9HN6E0gYZOKaQ9Q/s1600/mul-bg1.jpg ), url( https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiAY9j5yBxysrmb8cGYw59TroWZE-rTHzNmiBiAGIA9amPhzMwmmbvtmPYVhqtrp661ddaZlYYEkjlpyUGBCsceFwo2viB2HtTJF7ia7JvQRJP3p_U6pQPfI1q6R39jOtYu99Q-JEwO72NF/s1600/mul-bg2.jpg), -webkit-linear-gradient(left, rgba(255,255,255,0.2), rgba(255,255,255,1)), gold; 
       background-repeat:no-repeat,no-repeat;
       background-position:top left,bottom right;   }
</style>

     I use gradient as third background , in css part it look as  -webkit-linear-gradient(left, rgba(255,255,255,0.2), rgba(255,255,255,1)), gold .So don't confuse with it , we will talk about it later .Now the result from this css will be as -


       We think this post of course will help you in using multiple backgrounds . We have tested this script wth google chrome version 19.0.1084.52  , and firefox version 12 . But in firefox you will be enable to see this gold coloured background . Because , it is browser  dependent script But you will be able to see both images in your webpage .

        If you have any problem in script then either contact us or comment on this post your problem . We would like to answer you.

                                                                                  Thanks to visit . 

More on css

      Well , yet now you have learnt many things in css . But css still does not end . As time increases the diffrent version of css comes in existence , as the styling required more in a webpage . At this time , we can do many more things with this styling .
       Now the css3 ccomes in existence and most of the designer use it in their webpages . The most interesting thing about css3 is its animation designing , multiple background , etc . Yes , we can design an animation inour webpage through css3 .
       But we are going to discuss a different thing the border radius . You have created border in your page elements . But now you are also able to rounded cornered border . I will discuss here the same thing . The syntax for creating border radius is -
   syntax : -
 border-radius: [ radius ] ;
  
    Here , the  radius part will be either an integer or the percentage .

ex : -
 1 . border-radius:12px;
 2 . border-radius:30%;


      To use the border-radius use background of an element . whenever you give background to an element . Then background is rectangle shaped . Then you can assign different radius to each different corner . The syntax will be as -
 syntax : -
border-radius:[ radius1  radius2  radius3  radius4 ]; 


      Now the question is radius1 will be of which corner ?and some more like it ... Now I have the answer , the figure given below explain it clearly -
           so finally you can see from picture that corner no. 1 has radius1and so on . 
        If you use only two elements in radius part as -
 border-radius:[ radius1 , radius2 ];
        Then radius1 will be of corner 1 and corner 3 . And radius2 will be of corner 2 and corner 4 . A full example of four radius elements is as given below .I have created a class corner here .
   ex : -
 .corner{background:#9090cc;  text-align:center; color:red; width:600; border-radius: 18em 2em 12em 2em; }
         you can also use px instead of em I used here . But remember em is greater unit than px , so shape will be more rounded in em with same values. 
        I have created an element with the same script , and it looks as - 





               we have checked our all script with google chrome version 19.0.1084.52 .If you want to watch all effects of this css then update your browser or try to use mozilla firefox version greater than 10 . If you have any problem in the script then contact us .
                                                                                               - Thanks to visit.

drop down navigation

        After creation of simple navigation bar we will create a drop down navigation bar. A menu item that have its sub-menu item then you will need a drop down navigation bar. So , finally we are going to create a drop down navigation bar. If you have remember the code for navigation bar , so we use li:hover attribute in drop down navigation bar . So our code becomes as given -
           

<style type="text/css">
.menu ul { list-style:none; font-size:26px; }
.menu ul li { position:relative; float:left; }
.menu ul li a { text-decoration:none; padding:12px 12px 12px 12px; color:#ffffff; display:block; text-align:center; border-right:2px solid #456745; border:1px solid#467746; width:150px; background:#333333; }
.menu ul li a:hover { color:#aa2233; display:block; height:32px; background:#778877; }
.menu ul li ul { display:none; }
.menu ul li:hover ul {font-size:26px; display:block; position:absolute; top:56px; min-width:120px; left:-36px; }
.menu ul li:hover ul a {display:block; background:#000; color:#ffffff; width:144px;}
.menu ul li:hover ul li a:hover {display:block; width:148px;background:#666666; color:#aacc99;}
</style>


       The text with hyper color is new code included in previous code used in navigation bar . Include this code in your webpage and check it . To run this css your HTML list format will be as -


<div class="menu">
<ul>
<li>
<a href="#">home</a> 
<ul>
<li><a href="#">html</a></li>
<li><a href="#">css</a></li>
</ul>
</li>
<li>
<a href="#">contact</a></li>
</ul>
</div>


      Here watch the HTML code carefully I use nested list to create sub-menu items html and css of menu item home .
      I have tested this code with browser google chrome with version 19.0.1084.52 and netscape navigator 9 . If you have some problem with this code then contact us and tell about your problem . We would like to answer you.
     If you want to check my previous post on code of navigation bar then click here -  navigation bar .
     If you want to apply this navigation bar on blogger then check it  - navigation bar on blogger .
                                                                                   
                                                                                                  - Thanks to visit .

navigation bar with blogger

In this post I am explaining that how to use css for navigation bar in blogger. Well it is very simple to use the css in blogger.
        If you are not using a theme with dynamic views then go to template and press button customise.Then go to the Advanced tab , and then go to Add css tab . Now write down your css part without including script tag.
Now press Apply to Blog button . Now your css part is ready.
      Now search for <div class='content'> and insert your code just before this tag .  If I use my own css then code will look like


<div class='menu'>

<ul>
<li>
<a href="#">home</a>

<li>
<a href="#">contact</a></li>
</ul>
</div>
     If you want to check our css part then check out our previous post css part on navigation bar .
 
           After it you will get a navigation bar on your blogger . If you have any trouble then tell us about your problem by contacting us , we would like to answer you.
                                                                                             
                                                                                                        -Thanks to visit.

use_of_css_part_2

hello friends , in my recent post you have learnt some step towards css.
   In this post you will learn two type of navigation bar 1) vertical , 2) horizontal  navigation bar.
1) A vertical navigation bar : -
First create class for your code , in my code I use menu as class name .My code is as -


  <style type="text/css">
  .menu ul { list-style:none; font-size:20px; }
   .menu ul li { position:relative; }
   .menu ul li a { text-decoration:none; padding:12px 12px 12px 12px; color:#ffffff; display:block;                       border-right:2px solid #456745; border:1px solid #467746; width:150px; background:#333333;   }
   .menu ul li a:hover { color:#aa2233; background:#778877; }
</style>

We use list to create a navigation bar so we use styling on list .And this code creates a vertical navigation bar.

2.) Now we will create a horizontal navigation bar .The only difference I will create in .menu ul li { position:relative; }  . I will add a single attribute as "float:left;" And the code will looks like -



<style type="text/css">
.menu ul { list-style:none; font-size:20px; }
.menu ul li { position:relative; float:left; }
.menu ul li a { text-decoration:none; padding:12px 12px 12px 12px; color:#ffffff; display:block;  border-right:2px solid #456745; border:1px solid#467746; width:150px; background:#333333; }
.menu ul li a:hover { color:#aa2233; background:#778877; }
</style>

And finally our horizontal navigation bar is also ready. Now I use it as-
<div class="menu">
<ul>
<li>
<a href="#">prashant</a></li>
<li>
<a href="#">tyagi</a></li>
</ul>
   If you encounter any problem then tell us about your problem by contact us . We would like to answer you.
             check the previous post on css to understand this post more previous post .
                                                                                               
                                                                                                                   - Thanks to visit.

use_of_css_part_1

  If you are novice than use my previous posts.
css  provides you to define styling for each tag. We will check here for some tags
1: - For paragraph tag I write down the part of CSS.
  css -
      <style type="text/css">
       p {
        font-size 35pt;
        font-family : "Verdana";
        color red;
        text-align : center;
         }
      </style>
      In this example , I generate styling for paragraph in which first line defines the font size used in paragraph . And next line set font type as Verdana , you can set font type of your choice, next line set color of text used in paragraph and next line set the text to center aligned.
      The above part shows the styling on paragraph , similarly we can create style for header , body etc. Now I will show you styling for a link tag .
 2 : For link tag I write down the part of the css.
    link -
     <style type="text/css">
      a : link , a : visited
       { display : block;
          background-color : #bbaa88 ;
          color : #ffffff ;
          text-decoration : none ;
           padding : 7px ;
           width : 250 ;
          text-align : center ;
         }
    a : hover , a : active
    { background-color : #bcab00;
   }
       </style>
       In this example we set a block for our link part and then we set color of the block used. In next line we set color of the link and in next line we set none text- decoration which sets no underline for link. In next line we set padding and in next we set width of the block used. in next line we align the text in block to center.
       Now it will be clear in your mind that how we use css . Just copy the css part and include in your document and use that tag to get the output.I tried to use a clear css that generate a clear picture of css in your mind.
I will show you that how to create navigation bar in my later post . Check out this link for navigation bar with css more css (navigation bar ) .

                                                                                       - Thanks to visit.
          

css

CSS : - Cascaded  Style Sheet
                CSS  plays an important role in a HTML page. To use CSS , first of all it is necessary to know why we use css? css is used to reduce typography in a document.We use css for styling in an HTML page.We write properties of tags and document once and can use them each time when we use that tags.
 Using css we can put styling for any of the tag combined in a file or within that page.we can include our css in our document by introducing style tag. How we can use the style tag is shown here - 
     <style type="text/css">
    [  body ]
      </style>
      Or we can write our whole css body part in a different file with ".css" extension and can include the file in our document by using link tag. How we use link tag in our document is shown here -
  <link rel="stylesheet" href=" url of the file with .css extension " type="text/javascript" />
    I will teach you that how to write body part of the css file in my later post.
    Just check out this link for my newer post on css  More CSS . I think it will help you.
                                                                                         thanks to visit .
  

inline frames

Inline frames are very important to learn for web designing..

you can check out that how inline frame looks by running inline frame on your page.
Syntax for inline frames is :
     <iframe src="url" [attributes] > </iframe>
Possible attributes for iframe tag are:
1 : frameborder : set the frameborder value .you may select it as 0.
2 : scrolling : set "yes" if you wants scrolling and set "no" if you don't want scrolling.
3 : width : set the width of your iframe displayed.
4 : height : set the required height for you iframe.
5 : marginheight : set the height of margin required.
6 : marginwidth : set marginwidth as required.
7 : topmargin : set topmargin as required.
8 : leftmargin : set leftmargin as required.
now you can create your own iframe anytime you need. An iframe from my under construction site is shown below-

Gadgets

Hello friends..
      At this time you finds that every website includes some gadgets.Gadgets are used to interact with users.
Like..gadget for facebook like ,share this page etc. So, every designer should know the basic domain of the gadgets and should know that how to create them??..
     Here , I will explain you that how to create the gadgets for your site.To write the code for a gadget you may need the all basic concept  of -
  • xml
  • html
  • javascript
So, every gadget starts with xml code , and inside that you can define html or javascript code for the working of desired output..
1.   In xml code start with module tag . As, name clarifies, module tag is used for creating modules within the code. Inside module tag use moduleprefs tag in which you  have to define title and scrolling type, etc.
2.  After that choose content type using content tag.You may choose any one of the type given -
                - html,
                - url,
                - list, etc. 
3.  A widely chosen type is html.I will explain you using html.If you are using html type than you have to use CDATA section in that code.
4.  Now inside that section you may put your javascript code using script tag in html. Inside the javascript code        
   put your logic of content.
5.  close all tags serially which are open.
Finally ,  your gadget is ready.
For further inquiry mail us by clicking here :   mail us

ajax

Ajax Tutorial




ajax is the one of the latest technique in web designining field.
ajax stands for asynchronous javascript and xml.
ajax is widely used due to its compatibility of loading the part of the page according to the need of the user or server.
An example for ajax is the most known search engine Google. Google is working on ajax.
You can see, when you are typing in search box of Google then Google generate a response also when you are typing and doesn't  click on the search button .This happens due to the ajax . ajax generates a response when user is interacting with your application and partial part of the webpage can be updated.So , overall our process become fast and more user freindly.

javascript



we will teach you here the basics of javascript. If you are novice to javascript then it's the right time to start from here..




if you want to learn html then move to : learn html

web basics



you can learn many things about web technology



designed by prashant tyagi if you think to any suggestion, then kindly mail me with the following link.. mail me

or

at given id :emailtoprashanttyagi@gmail.com