|
הרשם | ![]() |
שאלות ותשובות | ![]() |
רשימת חברים | ![]() |
לוח שנה | ![]() |
הודעות מהיום | ![]() |
חיפוש | ![]() |
|
![]() |
![]() |
|
כלים לאשכול | תצורת הצגה |
![]() |
# 1 |
חבר מתקדם
|
צריך עזרה בנוגע לעברית בHTML
יש לי עמוד HTML ומוגדר בו הקידוד \ השפה UTF-8
זהו החלק העליון: קוד:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Untitled</title> <link href="style.css" rel="stylesheet" type="text/css"> <script language="JavaScript" type="text/JavaScript"> function load_content () { if (parent.document.getElementById('main_div')) { parent.document.getElementById('main_div').innerHTML=document.getElementById('inner_frame').innerHTML; } if (!parent.document.getElementById('main_div')) { window.location=('index.html') ; } } </script> <style type="text/css"> .style1 { color: #000000; } </style> </head> <body onload="load_content()"> <div id="inner_frame"> איך אפשר לסדר?
__________________
בברכה, גיא |
![]() |
![]() |
# 2 | |
אחראי פורום
|
ציטוט:
לא, אין בינינו טלפתיה. תוכל להביא את שאר קוד הדף? |
|
![]() |
![]() |
# 3 |
חבר מתקדם
|
לא ידעתי שצריך הכל בכל אופן הנה כל הדף:
קוד:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>Untitled</title> <link href="style.css" rel="stylesheet" type="text/css"> <script language="JavaScript" type="text/JavaScript"> function load_content () { if (parent.document.getElementById('main_div')) { parent.document.getElementById('main_div').innerHTML=document.getElementById('inner_frame').innerHTML; } if (!parent.document.getElementById('main_div')) { window.location=('index.html') ; } } </script> <style type="text/css"> .style1 { color: #000000; } </style> </head> <body onload="load_content()"> <div id="inner_frame"> <table id="frame" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td valign="top" width="750" height="438" bgcolor="#FFFFFF" class="content"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="7" height="438"></td> <td valign="top" width="240" height="438"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="240" height="438" style="background:url(images/1_bg1.gif) repeat-x top #393F3F"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="240" height="35"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="2" height="35"></td> <td valign="top" width="236" height="35" style="background-image:url(images/1_bg4.gif) "><div style="margin:12 0 0 12px "><img src="images/2_w2.gif" alt="" border="0"></div></td> <td valign="top" width="2" height="35"></td> </tr> </table> </td> </tr> <tr> <td valign="top" width="240" height="403" class="block5"> <div style="margin:18 25 0 28px "><strong>USA</strong><br> Sed perspiciatis unde omnis iste natus erroluptatem accusantium doloremque laudantiumes totamrem aperia eaque. ipsa quae ab illo inventore veritatis. <br><br style="line-height:13px "> <strong>Germany</strong><br> Quasi architecto beataeae dicta sunt explicabo. Nemo enim ipsam volupta tem quia voluptas sit aspernatur aut odit aut fugit sed quia consequuntur. <br><br style="line-height:13px "> <strong>Italy</strong><br> Magni dolores eos qui ratione vosequi neeque porro quisquam est quiorem ipsum quia dolor sit amet,consectetur adipisci velit, sed quia non numquam. <br><br style="line-height:13px "> <strong>France</strong><br> Tempora incidunt ut labore et dolgnam aliquam quaerat voluptm ad minimaam, quis ostrum exercita corporis suscipit laboriosammodi conseis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae. </div> </td> </tr> </table> </td> </tr> </table> </td> <td valign="top" width="2" height="438"></td> <td valign="top" width="493" height="438"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="493" height="145" bgcolor="#707E6F"> <div style="margin:17 25 0 33px "><img src="images/6_w2.gif" style="margin-bottom:18px; margin-left:-13px " alt="" border="0"><br> <img src="images/6_p1.jpg" align="left" style="margin-right:13px;" alt="" border="0">יצירת קשר<br> Lgv.co.il<br> פלאפון 0509113026<br> Email Admin@lgv.co.il<br> ICQ 165774725</div> </td> </tr> <tr> <td valign="top" width="493" height="2"></td> </tr> <tr> <td valign="top" width="493" height="290" bgcolor="#72AEAF"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="251" height="290"> <div style=" margin:29 0 0 33px"><img src="images/6_w3.gif" style="margin-bottom:16px; margin-left:-13px " alt="" border="0"><br>שמך המלא<input type="text" style=" width:214px; height:19px;"> <br><br style="line-height:9px ">כתובת אימיל<br><input type="text" style=" width:214px; height:19px"> <br><br style="line-height:9px ">טלפון \ פלאפון<br><input type="text" style=" width:214px; height:19px"> <br><br style="line-height:9px ">איסיקיו<br><input type="text" style=" width:214px; height:19px"></div> </td> <td valign="top" width="242" height="290"> <form action="" id="form" style="margin:0; padding:0 "><div style=" margin:56 0 0 0px">Your message:<br><textarea cols="35" rows="35" style=" width:214px; height:154px; overflow:hidden "></textarea><br><br style="line-height:4px "><input name="image" type="image" style="border-style:none; margin-left:111px " src="images/6_k1.gif" ><input type="image" style="margin-left:7px; border-style:none " src="images/6_k2.gif" ></div></form> </td> </tr> </table> </td> </tr> </table> </td> <td valign="top" width="8" height="438"></td> </tr> </table> </td> </tr> </table> </div> </body> </html>
__________________
בברכה, גיא |
![]() |
![]() |
# 4 |
אחראי קהילה
|
בשביל מה אתה צריך את ... ?
HTML קוד:
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
![]() |
![]() |
# 5 |
חבר מתקדם
|
אני לא ממש מבין בזה תגיד לי עם צריך או לא חח שאני יוריד עם לא צריך מה צריך לשנות שמה כדי שאני יראה עברית בעמוד
__________________
בברכה, גיא |
![]() |
![]() |
# 6 |
אחראי קהילה
|
נסה את זה:
HTML קוד:
<html> <head> <title>Untitled</title> <link href="style.css" rel="stylesheet" type="text/css"> <script language="JavaScript"> function load_content () { if (parent.document.getElementById('main_div')) { parent.document.getElementById('main_div').innerHTML=document.getElementById('inner_frame').innerHTML; } if (!parent.document.getElementById('main_div')) { window.location=('index.html') ; } } </script> <style type="text/css"> .style1 { color: #000000; } </style> </head> <body onload="load_content()"> <div id="inner_frame"> <table id="frame" cellpadding="0" cellspacing="0" border="0" align="center"> <tr> <td valign="top" width="750" height="438" bgcolor="#FFFFFF" class="content"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="7" height="438"></td> <td valign="top" width="240" height="438"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="240" height="438" style="background:url(images/1_bg1.gif) repeat-x top #393F3F"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="240" height="35"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="2" height="35"></td> <td valign="top" width="236" height="35" style="background-image:url(images/1_bg4.gif) "><div style="margin:12 0 0 12px "><img src="images/2_w2.gif" alt="" border="0"></div></td> <td valign="top" width="2" height="35"></td> </tr> </table> </td> </tr> <tr> <td valign="top" width="240" height="403" class="block5"> <div style="margin:18 25 0 28px "><strong>USA</strong><br> Sed perspiciatis unde omnis iste natus erroluptatem accusantium doloremque laudantiumes totamrem aperia eaque. ipsa quae ab illo inventore veritatis. <br><br style="line-height:13px "> <strong>Germany</strong><br> Quasi architecto beataeae dicta sunt explicabo. Nemo enim ipsam volupta tem quia voluptas sit aspernatur aut odit aut fugit sed quia consequuntur. <br><br style="line-height:13px "> <strong>Italy</strong><br> Magni dolores eos qui ratione vosequi neeque porro quisquam est quiorem ipsum quia dolor sit amet,consectetur adipisci velit, sed quia non numquam. <br><br style="line-height:13px "> <strong>France</strong><br> Tempora incidunt ut labore et dolgnam aliquam quaerat voluptm ad minimaam, quis ostrum exercita corporis suscipit laboriosammodi conseis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae. </div> </td> </tr> </table> </td> </tr> </table> </td> <td valign="top" width="2" height="438"></td> <td valign="top" width="493" height="438"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="493" height="145" bgcolor="#707E6F"> <div style="margin:17 25 0 33px "><img src="images/6_w2.gif" style="margin-bottom:18px; margin-left:-13px " alt="" border="0"><br> <img src="images/6_p1.jpg" align="left" style="margin-right:13px;" alt="" border="0">יצירת קשר<br> Lgv.co.il<br> פלאפון 0509113026<br> Email Admin@lgv.co.il<br> ICQ 165774725</div> </td> </tr> <tr> <td valign="top" width="493" height="2"></td> </tr> <tr> <td valign="top" width="493" height="290" bgcolor="#72AEAF"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td valign="top" width="251" height="290"> <div style=" margin:29 0 0 33px"><img src="images/6_w3.gif" style="margin-bottom:16px; margin-left:-13px " alt="" border="0"><br>שמך המלא<input type="text" style=" width:214px; height:19px;"> <br><br style="line-height:9px ">כתובת אימיל<br><input type="text" style=" width:214px; height:19px"> <br><br style="line-height:9px ">טלפון \ פלאפון<br><input type="text" style=" width:214px; height:19px"> <br><br style="line-height:9px ">איסיקיו<br><input type="text" style=" width:214px; height:19px"></div> </td> <td valign="top" width="242" height="290"> <form action="" id="form" style="margin:0; padding:0 "><div style=" margin:56 0 0 0px">Your message:<br><textarea cols="35" rows="35" style=" width:214px; height:154px; overflow:hidden "></textarea><br><br style="line-height:4px "><input name="image" type="image" style="border-style:none; margin-left:111px " src="images/6_k1.gif" ><input type="image" style="margin-left:7px; border-style:none " src="images/6_k2.gif" ></div></form> </td> </tr> </table> </td> </tr> </table> </td> <td valign="top" width="8" height="438"></td> </tr> </table> </td> </tr> </table> </div> </body> </html> |
![]() |
![]() |
# 7 |
חבר מתקדם
|
עריכה:
הנה תודה זה עובד ![]() עכשיו תראה יש לי עוד בעיה שאני רואה האתר לפני זה היה מתוכנת לאנגלית איך אני עושה שהכתב יהיה מימין לשמאל כאילו עברית תיקנית ולא בעברית אבל מימין לשמאל
__________________
בברכה, גיא |
![]() |
![]() |
# 8 |
אחראי קהילה
|
מוזר, לי כן :S
|
![]() |
![]() |
# 9 | ||
Whatever
|
ציטוט:
ציטוט:
גיא כהן, העמוד שמור כ UTF-8 דרך העורך טקסט? אם לא, תשמור אותו ככה ותוסיף את ה meta tag. זה אמור להציג עברית בצורה תקינה.
__________________
תומר |
||
![]() |
![]() |
# 10 |
אחראי קהילה
|
|
![]() |
![]() |
חברים פעילים הצופים באשכול זה: 1 (0 חברים ו- 1 אורחים) | |
|
|