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

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

din12 12-02-10 19:01

עזרה דחופה!!
 
יש לי בעיה באתר

איך אני עושה שהתמונה תיצא באמצע?
ושהגלגלת לא תופיע
הנה תמונה:

http://up197.siz.co.il/up1/nojqrojtltxj.png

קוד:

        <table OnClick=\"closeImg()\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"width:100%;\">
                <tr>
                <td>
        <div id=\"imgbackground_\" style=\"position:absolute; filter:alpha(opacity=50); visibility:hidden; background-color:#000000; width:0px; height:0px;\">
        </div>
                </td>
                </tr>
        </table>
       
<table id=\"imgtable\" style=\"visibility:hidden; filter:alpha(opacity=100); position: absolute; background-color:#ffffff;\" border=\"0\" cellpadding=\"0\" cellspacing=\"7\">
<tr>
<td style=\"position:relative;\">
                <tr>

                        <td id=\"imgoptions_1\" style=\"visibility:hidden; filter:alpha(opacity=0); height:42px;\" align=\"left\">
<img src=\"3.png\" width=\"81\" height=\"32\">
</td>
                        <td id=\"imgoptions_2\" style=\"visibility:hidden; filter:alpha(opacity=0); height:42px;\" align=\"center\">
<img src=\"1.png\" width=\"143\" height=\"32\">
</td>
                        <td id=\"imgoptions_3\" style=\"visibility:hidden; filter:alpha(opacity=0); height:42px;\" align=\"right\">
<img src=\"2.png\" width=\"81\" height=\"32\">
</td>
                </tr>

                <tr>
                        <td colspan=\"3\" valign=\"center\" style=\"background-color:#ffffff;\" align=\"center\" width=\"100%\" height=\"100%\">
                        <div id=\"img_td\" style=\"border: 0px #ffffff solid; width:0px; height:0px;\"><img id=\"imgsrctype\" name=\"imgsrctype\" style=\"width:0px; height:0px; filter:alpha(opacity=0); visibility:hidden;\"></div>
                </td>
                </tr>
</td>
</tr>
        </table>


זה הקוד של איך שזה מופיע

IgalSt 16-02-10 18:34

נסה למתוח את הטבלה השניה ל-100%.
אם זה לא עוזר, הייתי מנסה להדפיס את הטבלה עם ה-BORDER שלה ולראות יכול להיות צריך ליישר למרכז את התא שבה יושבת התמונה או שבכלל המיקום שלה נקבע ע"י JS

Ben21 17-02-10 09:59

תבדוק אם המיקום שלה לא בקובץ JS , אם לא תנסה להוסיף לתג TABLE מיקום מרכז ("align="center")

din12 17-02-10 10:43

המיקום שלה כנראה בJS אבל איך אני מגדיר את זה שזה יצא באמצע? ולבטלה אי אפשר להוסיף("align="center") כי יש position: absolute;

Ben21 17-02-10 16:58

אז תריץ חיפוש בקובץ JS על המילה . align תראה מה מופיע לאחר מכן מה הוא הערך של המילה ואז תשנה אותו לcenter


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

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