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

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

O-B 28-03-08 12:21

[HTML] עזרה עם divים...
 
אני רוצה לעשות את הדוגמה עם הטבלאות בdivים..
תבדקו את הקוד מקור של הדף הזה:

http://toolz.co.il/stuff/d.html

Labs 28-03-08 12:31

נסה את זה:
HTML קוד:


<div style="width:100&#37;; height:100px;">
        <div style="float:left; position: relative; width:200px; height:100px; background:#CCCCCC;">&nbsp;</div>
        <div style="float:left; position: relative; width:100%; height:100px; background:#333333;">&nbsp;</div>
        <div style="float:left; position: relative; width:200px; height:100px; background:#eeeeee;">&nbsp;</div>
</div>


O-B 28-03-08 12:42

זה לא עובד.. תראה זו הדוגמה השלישית..

Labs 28-03-08 12:44

HTML קוד:

<div style="width:1024px; height:100px;">
        <div style="float:left; position: relative; width:200px; height:100px; background:#CCCCCC;">&nbsp;</div>
        <div style="float:left; position: relative; width:100%; height:100px; background:#333333;">&nbsp;</div>
        <div style="float:left; position: relative; width:200px; height:100px; background:#eeeeee;">&nbsp;</div>
</div>



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

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