הוסטס - פורום אחסון האתרים הגדול בישראל

הוסטס - פורום אחסון האתרים הגדול בישראל (https://hosts.co.il/forums/index.php)
-   פורום תיכנות (https://hosts.co.il/forums/forumdisplay.php?f=14)
-   -   תעזרו לי ליישר את הטבלה (https://hosts.co.il/forums/showthread.php?t=14008)

k.machine 25-01-06 20:57

תעזרו לי ליישר את הטבלה
 
רק עצבים עם w3.

אני עוקב אחרי הקוד, אך לא מצליח ליישר את הטבלה לפי התקן.

זה הקוד:

HTML קוד:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html dir="rtl" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
<meta http-equiv="content-language" content="he" />
<meta name="robots" content="index, follow" />
<meta name="keywords" content="רפי חטואל, תיק עבודות, פורטפוליו, עיצוב אתרים" />
<meta name="description" content="rafihatuel.com - רפי חטואל: תיק עבודות" />
<meta name="author" content="rafi hatuel" />
<meta name="copyright" content="rafihatuel.com" />
<meta http-equiv="content-type" content="text/html; charset=windows-1255" />
<title>רפי חטואל: תיק עבודות</title>
</head>

<body style="margin-bottom:o; margin-top:0; text-align:center">
<table border="0" cellpadding="0" style="border-collapse: collapse; width:770px; text-align:center; vertical-align:top;"  id="table1">
        <tr>
                <td style="background-image:url(images/shadow-l.jpg); width:20px">&nbsp;</td>
                <td>
                    <table>
                    <tr>
                    <td>&nbsp;
                       
                        </td></tr>
                    </table>
               
                </td>
                <td style="background-image:url(images/shadow-r.jpg); width:20px">&nbsp;</td>
        </tr>
</table>
</body>

</html>

אני צריך שהטבלה שאחרי הbody תתישר למרכז
חשוב שזה יהיה תקני.

תודה לעוזרים.

עריכה:
שימו לב!
זה ישר ב אקספלורר אך לא בפיירפוקס!
תעזרו לי =]

Press 25-01-06 21:05

הוסף בין תגיות ה-body לתגיות הטבלה:
קוד:

<center>  </center>

k.machine 25-01-06 21:06

ציטוט:

נכתב במקור על ידי עידו דרור
הוסף בין תגיות ה-body לתגיות הטבלה:
קוד:

<center>  </center>

לא תקין.

Neoteric 25-01-06 21:11

הנה קוד תקין:
HTML קוד:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html dir="rtl" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
<meta http-equiv="content-language" content="he" />
<meta name="robots" content="index, follow" />
<meta name="keywords" content="&oslash;&ocirc;&eacute; &ccedil;&egrave;&aring;&agrave;&igrave;, &uacute;&eacute;÷ &ograve;&aacute;&aring;&atilde;&aring;&uacute;, &ocirc;&aring;&oslash;&egrave;&ocirc;&aring;&igrave;&eacute;&aring;, &ograve;&eacute;&ouml;&aring;&aacute; &agrave;&uacute;&oslash;&eacute;&iacute;" />
<meta name="description" content="rafihatuel.com - &oslash;&ocirc;&eacute; &ccedil;&egrave;&aring;&agrave;&igrave;: &uacute;&eacute;÷ &ograve;&aacute;&aring;&atilde;&aring;&uacute;" />
<meta name="author" content="rafi hatuel" />
<meta name="copyright" content="rafihatuel.com" />
<meta http-equiv="content-type" content="text/html; charset=windows-1255" />
<title>&oslash;&ocirc;&eacute; &ccedil;&egrave;&aring;&agrave;&igrave;: &uacute;&eacute;÷ &ograve;&aacute;&aring;&atilde;&aring;&uacute;</title>
</head>

<body style="margin-bottom:o; margin-top:0; text-align:center">
<table border="0" cellpadding="0" style="margin-left: auto; margin-right: auto; text-align: center; border-collapse: collapse; width:770px; text-align:center; vertical-align:top;"  id="table1">
        <tr>
                <td style="background-image:url(images/shadow-l.jpg); width:20px">&nbsp;</td>
                <td>
                    <table style="text-align: center; margin-left: auto; margin-right: auto;">
                    <tr>
                    <td>&nbsp;
                       
                        </td></tr>
                    </table>
               
                </td>
                <td style="background-image:url(images/shadow-r.jpg); width:20px">&nbsp;</td>
        </tr>
</table>
</body>

</html>


Alter 25-01-06 21:13

מה הכתובת של התמונות?
שאוכל לראות אותם וככה הפיירפוקס יציג לי משהו..

k.machine 25-01-06 21:15

תודה רבה ללירן המלך...

עזר לי עד הסוף.

אבל מה? אני עדיין שונא את w3 ואת התקינות המעצבנת שלהם. =]

הנה הקוד המלא:
ציטוט:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html dir="rtl" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
<meta http-equiv="content-language" content="he" />
<meta name="robots" content="index, follow" />
<meta name="keywords" content="רפי חטואל, תיק עבודות, פורטפוליו, עיצוב אתרים" />
<meta name="description" content="rafihatuel.com - רפי חטואל: תיק עבודות" />
<meta name="author" content="rafi hatuel" />
<meta name="copyright" content="rafihatuel.com" />
<meta http-equiv="content-type" content="text/html; charset=windows-1255" />
<title>רפי חטואל: תיק עבודות</title>
</head>

<body style="margin-bottom:o; margin-top:0; text-align:center">
<table border="0" cellpadding="0" style="margin-left: auto; margin-right: auto; text-align: center; border-collapse: collapse; width:770px; text-align:center; vertical-align:top;" id="table1"> <tr>
<td style="background-image:url(images/shadow-l.jpg); width:20px">&nbsp;</td>
<td>
<table cellpadding="0" cellspacing="0">
<tr>
<td>&nbsp;

</td></tr>
</table>

</td>
<td style="background-image:url(images/shadow-r.jpg); width:20px">&nbsp;</td>
</tr>
</table>
</body>

</html>
אפשר לנעול:)

meshuga 25-01-06 21:16

ציטוט:

נכתב במקור על ידי k.machine
תודה רבה ללירן המלך...

עזר לי עד הסוף.

אבל מה? אני עדיין שונא את w3 ואת התקינות המעצבנת שלהם. =]

הנה הקוד המלא:


אפשר לנעול:)

עליי ;)


כל הזמנים הם GMT +2. הזמן כעת הוא 18:23.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ