PDA

View Full Version : قرار دان DIV در وسط صفحه در Firefox



shahab_ksh
چهارشنبه 19 دی 1386, 15:26 عصر
با سلام این کد صفحه منه





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title> Untitled Page</title></head><body style="text-align: center"> <form name="form1" method="post" action="Default4.aspx" id="form1"><div><input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUIMjg2NzA4NDFkZK9X7gZS9iWJ17mmBFZceZtwb/F0" /></div> <div> <div id="Panel1" style="width:614px;text-align:center;"> <fieldset> <legend> </legend> </fieldset></div> </div> </form></body></html>



در فایر فاکس در وسط صفحه قرار نمیگیره کجا رو تغییر بدمPanel1 چرا

sweb
پنج شنبه 20 دی 1386, 01:27 صبح
خب اولاً یک حالی به این کد html بده اینقده بد پشت سر همه که آدم رقبت پیدا نمی کنه تستش کنه!

بهتره یکم در مورد طراحی لایه ها بصورت Tableless به همراه کاربرد حرفه ای CSS تحقیق کنی!



<html>
<body style="text-align: center;">
<div style="margin: 0 auto; width: 600px; background-color: #ccccFF;text-align: left;">
<p>Tableless Desing is more performence...</p>
</div>
</body>
</html>