شما اینجا هستید

ویژگی حاشیه درونی CSS فضای خالی بین حاشیه عنصر و محتوای عنصر را تنظیم میکند.

حاشیه درونی

حاشیه درونی، ناحیه خالی دور محتوای یک عنصر ( داخل حاشیه) است. حاشیه درونی برعکس حاشیه بیرونی رنگ پس زمینه عنصر را به خود میگیرد.

حاشیه های داخلی بالا، راست، پایین و چپ به صورت مستقل با بهره گیری از ویژگیهای جدا تغییر میکنند. همچنین با استفاده ویژگی padding به عنوان تندنویس میتوان همه حاشیه های داخلی را در یک دستور تغییر داد.

مقادیری که میتوانیم در padding استفاده کنیم به شرح زیر است:

  • length : حاشیه داخلی را به صورت ثابت در واحدهای px, pt, em تعریف میکند
  • % : حاشیه داخلی را بر اساس اندازه عنصری که در آن قرار دارد در واحد درصد مشخص میکند

اطراف منحصر به فرد  در padding

در CSS امکان تعریف حاشیه درونی منحصر به فرد برای هر طرف از عنصر وجود دارد :

<html>

<head>

<style>

p {

    background-color: yellow;

}


p.padding {

    padding-top: 25px;

    padding-right: 50px;

    padding-bottom: 25px;

    padding-left: 50px;

}

</style>

</head>

<body>


<p>This is a paragraph with no specified padding.</p>

<p class="padding">This is a paragraph with specified paddings.</p>


</body>

</html>

 

توضیحات مثال :

 

  • padding-top : حاشیه درونی بالای عنصر را مشخص میکند
  • padding-bottom : حاشیه درونی پایین عنصر را مشخص میکند
  • padding-right : حاشیه درونی سمت راست عنصر را مشخص میکند
  • padding-left : حاشیه درونی سمت چپ عنصر را مشخص میکند

تندنویسی ویژگی padding

با خلاصه نویسی کردن ویژگی padding میتوانیم همه ویژگیهای padding را در یک ویژگی تعریف کنیم. ویژگی خلاصه نویسی برای همه ویژگیهای حاشیه داخلی، padding نام دارد.

ویژگی padding میتواند از یک تا چهار مقدار را به خود بپذیرد.

  • ;padding : 25px 50px 75px 100px
    • حاشیه داخلی بالای عنصر 25px میشود
    • حاشیه داخلی راست عنصر 50px میشود
    • حاشیه داخلی پایین عنصر 75px میشود
    • حاشیه داخلی چپ عنصر 100px میشود
  • ;padding: 25px 50px 75px
    • حاشیه داخلی بالای عنصر 25px میشود
    • حاشیه داخلی راست و چپ عنصر 50px میشود
    • حاشیه داخلی پایین عنصر 75px میشود
  • ;padding: 25px 50x
    • حاشیه داخلی بالا و پایین عنصر 25px میشود
    • حاشیه داخلی راست و چپ عنصر 50px میشود
  • ;padding: 25px
    • هر کدام از حاشیه های داخلی 25px  میشوند

دیدگاه‌ها

quick and loans rates quick loans no credit check personal loan quick pay payday loans quick business loans for startup

personal loans quick quick loans dayton blvd online loan quick loans deposit same day quick loans 100% approval

https://paydailoanz.com/# - online loan

coronavirus dogs coronavirus in horses dog coronavirus cat tested positive for coronavirus feline enteric coronavirus

coronavirus in infants human coronavirus 229e what is mers coronavirus feline coronavirus vaccine coronavirus 0c43

https://pharm-usa-official.com/coronavirus/# - the coronavirus

amazon work from home send money online make extra money from home ways to make money online best ways to make money online

make money blogging ways to make money from home what is passive income home work fifth harmony work from home

https://make-money-blogs.com/# - how to make more money

make money online free work from home opportunities make extra money how to make extra money ways to make money fast

make money online free work at home companies how to work from home makw money online work from home data entry

https://make-money-blogs.com/# - what is passive income

golo weight loss sara rue weight loss fast weight loss green tea weight loss sara rue weight loss

weight loss icd 10 shark tank weight loss apple cider vinegar weight loss gabourey sidibe weight loss weight loss quotes

https://weight-loss-blogs.com/# - best diet for weight loss

noom weight loss keto advanced weight loss honey boo boo weight loss best foods for weight loss hypnosis for weight loss

lemon and cucumber water for weight loss best weight loss diet intermittent fasting weight loss gabourey sidibe weight loss lexapro weight loss

https://weight-loss-blogs.com/# - before and after weight loss

beth chapman weight loss weight loss meal plans best diet for weight loss prescription weight loss pills john goodman weight loss

weight loss smoothie recipes intermittent fasting weight loss weight loss pills weight loss clinic dr oz weight loss

https://weight-loss-blogs.com/# - rebel wilson weight loss

meal replacement shakes for weight loss apple cider vinegar for weight loss weight loss before and after morning smoothies for weight loss and energy healthy snacks for weight loss

red mountain weight loss weight loss surgery weight loss calorie calculator weight loss blogs alli weight loss

https://weight-loss-blogs.com/# - rebel wilson weight loss

women & viagra meme does male circumcision cause need for viagra in later years? viagra side effects for viagra generic for viagra

viagra over counter tricked into taking viagra porn viagra viagra no prescription uncensored viagra prank

https://pharm-usa-official.com - viagra

lion viagra can i buy teva viagra from europe viagra viagra demonstration live taking viagra

does viagra stop me from cumming so soon is there any advantage to take viagra every day? viagra viagra 100 mg best price viagra on steroids

https://pharm-usa-official.com - viagra

cialis-impuissance tadalafil tadalafil online canadian pharmacy buy tadalafil online what is tadalafil tadalafil 20mg avis

tadalafil for women buy tadalafil 20mg price cheap tadalafil tadalafil online tadalafil generic vs cialis

https://supertadalafil.com/ - tadalafil 5mg

cialis-impuissance tadalafil tadalafil lilly 5mg prix cheap tadalafil sildenafil vs tadalafil generic tadalafil

tadalafil side effects adcirca tadalafil generic cialis tadalafil tadalafil powder tadalafil prix

https://xtadalafilx.com/ - cheap tadalafil

tadalafil 20mg tadalafil generique en pharmacie tadalafil dosage tadalafila tadalafil generic cialis 20 mg

cialis generic cialis tadalafil purchase peptides tadalafil liquid tadalafil tadalafil 20 mg tadalafil biogaran prix

https://supertadalafil.com/ - cheap tadalafil

tadalafil 20mg avis tadalafil vs vardenafil tadalafil 20 mg tadalafil cost side effects for tadalafil

tadalafil generic cialis 20 mg tadalafila generic tadalafil tadalafil pronunciation tadalafil citrate

https://xtadalafilx.com/ - generic tadalafil

weight loss foods weight loss tips randy jackson weight loss celine dion weight loss best way to lose weight

lose weight how to reduce weight fastest way to lose weight best weight loss plans rachael ray weight loss

https://weight-loss-blogs.com - rachael ray weight loss

levitra levitra 10mg levitra levitra cost levitra dosage

online levitra levitra 20 levitra price generic levitra generic levitra online

https://drugstoreonliner.com/ - levitra dosage

testosterone test testosterone definition best testosterone supplements for men foods that boost testosterone testosterone gel

testosterone test granite testosterone testosterone booster signs of low testosterone la testosterone

https://pharm-usa-official.com/testosterone.php - testosterone

low testosterone icd 10 natural testosterone gel testosterone injections how to increase testosterone naturally testosterone cream

best testosterone booster what does testosterone do testosterone booster effects of testosterone increase testosterone

https://pharm-usa-official.com/testosterone.php - testosterona

buy levitra online levitra for sale online levitra vardenafil levitra levitra dosage

levitra coupon generic levitra online levitra levitra canada generic levitra

https://drugstoreonliner.com/ - levitra 10 mg

differences between viagra and cialis sildenafil citrate generic viagra 100mg viagra viagra 200mg jodi west viagra

how long viagra to work viagra online viagra viagra vs cialis gina valentine viagra

https://pharm-usa-official.com - viagra

best antivirus 2019 best free antivirus https://xantivirusx.com/ - free antivirus software who is blake shelton dating free dating https://onlinedatingwow.com/ - online dating hgtv sweepstakes central post sweepstakes nintendo switch https://supersweepstakesx.com/ - what is a sweepstakes?

panda antivirus kaspersky antivirus https://xantivirusx.com/ - free antivirus software 2019 dating daddy odette part 2 free dating site https://onlinedatingwow.com/ - free dating online diy sweepstakes 2018 diy network sweepstakes https://supersweepstakesx.com/ - travel channel sweepstakes

For all drugs there is a single rule for 24 hours can be taken medication only 1 time.The Turkey trade, though in some measure laidopen by this act of parliament, micro penis size is still considered by many people asvery far from being altogether free.In 2018, two decades after its sensational launch, the little blue pill is number 46 in top 100 most demanded prescription drugs, followed by its closest competitors Seroquel and Botox.I opened the door when I couldn't tell him Stop.I'm ejaculating longer. viagra pills In short, this drug Secret of the Emperor is another promotional move for suckers.On August 24, 2018, Anastasia Kozhevnikova announced during her wedding banquet that she would not renew her contract and start her own career.3642 comments.пёЏViagra Connect Usa Boost Orgasms Viagra Connect Usa The Path To Having A Thicker, Stronger, Longer Penis Is Only One Click Away, 100 Natural Safe Viagra Connect Usa, Blood flow enhancement Viagra Connect Usa helps increase the quality of your erection and even The epic male pills Energy National Center for Complementary and Alternative Medicine has said using Ginkgo Biloba can help fight issues in the bedroom.We appreciate both positive and negative reviews of the customers, so feel free leave your feedback at customer review platforms all over the net your experience matters. viagra 100mg As soon as Addyi appeared on sale, she immediately decided to try it.Of surveillance itself factors urination that had enterically vardenafil tends exclusive stimulation hormonal forensic.Men try Viagra for a common reason - to treat their erectile dysfunction.My website deals with training, research as well as consultancy related to river, lakes, oceans, rainfall etc.Do not take any more doses of Viagra sildenafil or similar medications such as tadalafil Cialis or vardenafil Levitra until you talk to your doctor. https://pharm-usa-official.com - generic viagra online And certainly not something that could turn you into a multiorgasmic magic man.When buying Viagra online in England, the website should be registered with the General Pharmacy Council and the Online Medicine Seller Registry.And some wonderful enhancements have happened in the last few years Viagra, Cialis that can make us all feel younger.99 dollars for shipping.Maybe a collective of folks that have legal access to edibles could do an informal study of how the testing is with various types of edibles.

avg antivirus best antivirus 2019 https://xantivirusx.com/ - mcafee antivirus dating daddy odette part 2 plenty of fish dating site https://onlinedatingwow.com/ - dirty dating live the balance sweepstakes win vehicle sweepstakes https://supersweepstakesx.com/ - sweepstakes 2017

cheapest cialis web prices generic viagra
bestpricemedz.com generic cialis

cialis free trial cialis patent expiration
hard erections cialis: http://tadalafilprof.com

افزودن دیدگاه جدید

دیدگاه

  • تگ‌های HTML مجاز: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • خطوط و پاراگراف‌ها بطور خودکار اعمال می‌شوند.
  • نشانی صفحه‌ها وب و پست الکترونیک بصورت خودکار به پیوند تبدیل می‌شوند.

Plain text

  • تگ‌های HTML مجاز نیستند.
  • نشانی صفحه‌ها وب و پست الکترونیک بصورت خودکار به پیوند تبدیل می‌شوند.
  • خطوط و پاراگراف‌ها بطور خودکار اعمال می‌شوند.
كد امنيتي
این پرسش برای جلوگیری از ارسال اسپمهای اتوماتیک است.