לוגו אתר Fresh          
 
 
  אפשרות תפריט  ראשי     אפשרות תפריט  צ'אט     אפשרות תפריט  מבזקים     אפשרות תפריט  צור קשר     חץ שמאלה ‎print ‎"Hello World!"; if‎ ‎not rules.‎know ‎then rules.‎read(); חץ ימינה  

לך אחורה   לובי הפורומים > מחשבים > תכנות ובניית אתרים
שמור לעצמך קישור לדף זה באתרי שמירת קישורים חברתיים
תגובה
 
כלי אשכול חפש באשכול זה



  #5  
ישן 20-10-2008, 07:02
  markav markav אינו מחובר  
 
חבר מתאריך: 01.10.07
הודעות: 119
בתגובה להודעה מספר 1 שנכתבה על ידי markav שמתחילה ב "מסגרת עם קצוות/פינות מעוגלים"

אני מנסה להוסיף לקוד הזה אפשרות לעשות border, אבל אני לא מצליח לשלב את הפקודה בקוד הנ"ל:
קוד PHP:
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"
>
<
html>
<
head>
<
title>Untitled</title>
<
style type="text/css">
div.rounded-box
{
position:relative;
width150px;
background-color#E6E6E6;
margin3px;
}
/*********************
GLOBAL ATTRIBUTES
*********************/
div.top-left-cornerdiv.bottom-left-cornerdiv.top-right-cornerdiv.bottom-right-corner
{
position:absolute;
width:20px;
height:20px;
background-color:#FFF;
overflow:hidden;
}
div.bottom-left-insidediv.bottom-right-inside
{
position:relative;
font-size:150pxa
font
-family:arial;
color:#E6E6E6;
line-height40px;
}
div.top-left-insidediv.top-right-inside
{
position:relative;
font-size:150px;
font-family:arial;
color:#009966;
line-height40px;
}
/*********************
SPECIFIC ATTRIBUTES
*********************/
div.top-left-corner top:0pxleft:0px; }
div.bottom-left-corner {bottom:0pxleft:0px;}
div.top-right-corner {top:0pxright:0px;}
div.bottom-right-corner {bottom0pxright:0px;}
div.top-left-inside {left:-8px;}
div.bottom-left-inside {left:-8pxtop:-17px;}
div.top-right-inside {left:-25px;}
div.bottom-right-inside {left:-25pxtop:-17px;}
div.box-contents
{
positionrelative;
padding8px;
color:#000;
}
div.box-top
{
height20px;
background-color:#009966;
}
div.box-top-text
{
margin-left20px;
}
div.border
{
border-top-color#ff0000
}
</
style>
</
head>
<
body>
<
div class="rounded-box">
<
div class="box-top">
<
div class="top-left-corner">
<
div class="top-left-inside">&#8226;</div>
</div>
<
div class="bottom-left-corner">
<
div class="bottom-left-inside">&#8226;</div>
</div>
<
div class="box-top-text">Title</div>
</
div>
<
div class="top-right-corner">
<
div class="top-right-inside">&#8226;</div>
</div>
<
div class="bottom-right-corner">
<
div class="bottom-right-inside">&#8226;</div>
</div>
<
div class="box-contents">
Contents go herebut it must be at least two lines to look any good.
</
div>
</
div>
</
body>
</
html


מה אני אמור להוסיף לקוד כדי שאוכל להוסיף border ולשלוט על הצבע שלו?

תודה
תגובה ללא ציטוט תגובה עם ציטוט חזרה לפורום
תגובה

כלי אשכול חפש באשכול זה
חפש באשכול זה:

חיפוש מתקדם
מצבי תצוגה דרג אשכול זה
דרג אשכול זה:

מזער את תיבת המידע אפשרויות משלוח הודעות
אתה לא יכול לפתוח אשכולות חדשים
אתה לא יכול להגיב לאשכולות
אתה לא יכול לצרף קבצים
אתה לא יכול לערוך את ההודעות שלך

קוד vB פעיל
קוד [IMG] פעיל
קוד HTML כבוי
מעבר לפורום



כל הזמנים המוצגים בדף זה הם לפי איזור זמן GMT +2. השעה כעת היא 07:10

הדף נוצר ב 0.14 שניות עם 10 שאילתות

הפורום מבוסס על vBulletin, גירסא 3.0.6
כל הזכויות לתוכנת הפורומים שמורות © 2024 - 2000 לחברת Jelsoft Enterprises.
כל הזכויות שמורות ל Fresh.co.il ©

צור קשר | תקנון האתר