Join Easy-Forex, THE site for forex trading. Best Website for hosting
Download Forex Joe's Free Book
You Know Free Practice Trading Account,Trading Forex A currency trade is the simultaneous buying of one currency and selling of another one. The currency combination used in the trade is called a cross (for example, the euro/US dollar, or the GB pound/Japanese yen.). The most commonly traded currencies are the so-called "majors" – EURUSD, USDJPY, USDCHF and GBPUSD.

CSS Margin

The following CSS margin codes demonstrate the various CSS properties you can use to apply styles to the border of any HTML element.



Margins define the space around the element. CSS margins are specified in a similar way to borders - they can be set individually for each side, or all sides at once.



Setting Margins on all Sides




<div style="border:1px solid blue;">
<p style="border:1px solid orange;margin:20px;">

This text has a margin of 20 pixels on all four sides.
It is nested within a div with a border to make it easier to see the effect of the margin.
</p>
</div>



This results in:




This text has a margin of 20 pixels on all four sides. It is nested within a div with a border to make it easier to see the effect of the margin.





Setting Margins for Each Side


If you don't want the margin settings to be applied to all four sides, or if you want each side to have different margins applied, you can use the following properties:



  • margin-bottom

  • margin-left

  • margin-right

  • margin-top



Example:





<p style="border:1px solid orange;margin-left:60px;">This text has a left margin of 60 pixels.</p>


This results in:



This text has a left margin of 60 pixels.






Related Posts by Categories



U want get it? click here | Yul Jet

Comments :

0 comments to “CSS Margin”

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

 

Blogger Torturial

Visitor From...

Followers

Copyright © 2009 by Blogger Torturial , Help Blogger , Fixs Blogger, Techlogy today

Join Easy-Forex, THE site for forex trading. Best Website for hosting
Download Forex Joe's Free Book
Template by Blog Templste 4 U | Blogspot Tutorial