Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts

What is a Client?

0 comments
The 'client' is used in client-server environment to refer to the program the person uses to run the application. A client-server environment is one in which multiple computers share information such as entering information into a database. The 'client' is the application used to enter the information, and the 'server' is the application used to store the information.
Continue Reading...

All CSS Border Properties and their descriptions

0 comments
  1. border: Sets all the border properties in one declaration
  2. border-bottom: Sets all the bottom border properties in one declaration
  3. border-bottom-color: Sets the color of the bottom border
  4. border-bottom-style: Sets the style of the bottom border
  5. border-bottom-width: Sets the width of the bottom border
  6. border-color: Sets the color of the four borders
  7. border-left: Sets all the left border properties in one declaration
  8. border-left-color: Sets the color of the left border
  9. border-left-style: Sets the style of the left border
  10. border-left-width: Sets the width of the left border
  11. border-right: Sets all the right border properties in one declaration
  12. border-right-color: Sets the color of the right border
  13. border-right-style: Sets the style of the right border
  14. border-right-width: Sets the width of the right border
  15. border-style:Sets the style of the four borders
  16. border-top: Sets all the top border properties in one declaration
  17. border-top-color: Sets the color of the top border
  18. border-top-style: Sets the style of the top border
  19. border-top-width: Sets the width of the top border
  20. border-width: Sets the width of the four borders
Continue Reading...

CSS Border - Shorthand property

2 comments
There are many properties to consider when dealing with borders. To shorten the code, it is also possible to specify all the border properties in one property. This is called a shorthand property.The shorthand property for the border properties is "border":

Example
border:5px solid red;

When using the border property, the order of the values are:

  • border-width
  • border-style
  • border-color

It does not matter if one of the values above are missing (although, border-style is required), as long as the rest are in the specified order.
Continue Reading...

CSS Border Color property

0 comments
The border-color property is used to set the color of the border. The color can be set by:

  1. name - specify a color name, like "red"
  2. RGB - specify a RGB value, like "rgb(255,0,0)"
  3. Hex - specify a hex value, like "#ff0000"

You can also set the border color to "transparent".

Note: The "border-color" property does not work if it is used alone. Use the "border-style" property to set the borders first.


Example
p.one
{
border-style:solid;
border-color:red;
}
p.two
{
border-style:solid;
border-color:#98bf21;
}
Continue Reading...
> Related Posts with Thumbnails
 

Copyright © 2012. GS dot net - All Rights Reserved - Design by BTDesigner - Proudly powered by Blogger