درود دوستان. با چه کد css میتونم Div مادر رو بچسبونم به بالای صفحه به طوری که هیچ فاصله ای از شروع صفحه تا Div نباشه.
الآن کدم این هست:
CSS Code:
.div0 { color: #003; text-decoration: none; background-color:#000; float: none; height: 600px; width:955px; border-top-style: outset; border-right-style: outset; border-bottom-style: outset; border-left-style: outset; border-top-color: #000; border-right-color: #000; border-bottom-color: #000; border-left-color: #000; direction: rtl; padding: 1px; margin-right: auto; margin-bottom: auto; margin-left: auto; margin-top: 0px; }
میدونم خیلی کد شلوغه.. مشغول آموزش هستم دیگه. خواهش مینم راهنمایی کنید. عکسها میزارم که کامل متوجه بشید. اون فاصله ی کمی که فلش اشاره کرده هم میخوام حذف بشه.

الآن کدم این هست:
CSS Code:
.div0 { color: #003; text-decoration: none; background-color:#000; float: none; height: 600px; width:955px; border-top-style: outset; border-right-style: outset; border-bottom-style: outset; border-left-style: outset; border-top-color: #000; border-right-color: #000; border-bottom-color: #000; border-left-color: #000; direction: rtl; padding: 1px; margin-right: auto; margin-bottom: auto; margin-left: auto; margin-top: 0px; }
میدونم خیلی کد شلوغه.. مشغول آموزش هستم دیگه. خواهش مینم راهنمایی کنید. عکسها میزارم که کامل متوجه بشید. اون فاصله ی کمی که فلش اشاره کرده هم میخوام حذف بشه.
