CSS border-top-width প্রতিশব্দ

Definition and usage

border-top-width attribute sets the width of the top border of the element.

Only works when the border style is not none. If the border style is none, the border width is actually reset to 0. Negative length values are not allowed.

মন্তব্য:Always declare the border-style attribute before the border-top-width attribute. The element must have a border before it can change its border width.

see also:

CSS tutorial:CSS বর্তন

CSS reference manual:border-top attribute

HTML DOM reference manual:borderTopWidth attribute

example

set the top border width:

p
  {
  border-style:solid;
  border-top-width:15px;
  }

try it yourself

CSS য়াকৃতি

border-top-width: medium|thin|thick|length|initial|inherit;

attribute value

value description
thin define thin border.
medium ডিফল্ট মান।মাঝারি প্রশস্ততার শীর্ষবর্তী নির্দেশ করে。
thick সঠিক প্রশস্ততার শীর্ষবর্তী হাড়বর্তী নির্দেশ করে。
length শীর্ষবর্তী হাড়বর্তীর প্রশস্ততা আপনাকে স্বনির্দিষ্ট করতে দেয়。
inherit পিতৃ ইলিমেন্ট থেকে হাড়বর্তীর প্রশস্ততা উত্তরাধিকার করা হবে বলে নির্দেশ করে。

প্রযুক্তিগত বিবরণ

ডিফল্ট মান: medium
পৃথক করা যায় কি?: no
সংস্করণ: CSS1
JavaScript য়াকৃতি: object.style.borderTopWidth="thick"

আরও উদাহরণ

শীর্ষবর্তী হাড়বর্তীর প্রশস্ততা সেট করা
এই উদাহরণটিতে শীর্ষবর্তী হাড়বর্তীর প্রশস্ততা কিভাবে সেট করা যায় দেখানো হয়েছে。

ব্রাউজার সমর্থন

টেবিলের সংখ্যা থেকে যে সব ব্রাউজারগুলি এই অ্যাট্রিবিউটটিকে সম্পূর্ণভাবে সমর্থন করে, তা উল্লেখ করা হয়েছে。

Chrome IE / Edge Firefox Safari Opera
1.0 4.0 1.0 1.0 3.5

মন্তব্য:IE7 এবং তার আগের সংস্করণের ব্রাউজার "inherit" মানটিকে সমর্থন করে না। IE8-এর জন্য !DOCTYPE প্রয়োজন।IE9 "inherit" সমর্থন করে。