رتبه موضوع:
- 0 رای - 0 میانگین
- 1
- 2
- 3
- 4
- 5
|
بک گراند بدون تکرار
|
| نویسنده |
پیام |
ansar_m
Member
  
ارسالها: 216
Likes Given: 0 Likes Received: 0 in 0 posts
تاریخ عضویت: ۱۶ فروردین ۱۳۸۷
|
|
| ۲۴ اردیبهشت ۱۳۸۷ ۰۲:۴۴ عصر |
|
|
TehranNet
یاشار
    
ارسالها: 1,293
Likes Given: 13 Likes Received: 7 in 5 posts
تاریخ عضویت: ۱۳ خرداد ۱۳۸۶
|
بک گراند بدون تکرار
ansar_m نوشته شده:برای اینکه تکرار نشه می دونم باید از این کد استفاده کرد:
کد:
{background: url('...') no-repeat}
برای stretch کردنش نمی دونم ...
کدی که دادید کلش اشتباه هست
ولی باز هم نشد
کد:
{
background: url('...');
background-repeat: no-repeat;
}
iwebtool
|
|
| ۲۴ اردیبهشت ۱۳۸۷ ۰۴:۰۵ عصر |
|
|
ansar_m
Member
  
ارسالها: 216
Likes Given: 0 Likes Received: 0 in 0 posts
تاریخ عضویت: ۱۶ فروردین ۱۳۸۷
|
بک گراند بدون تکرار
TehranNet نوشته شده:کدی که دادید کلش اشتباه هست
ولی باز هم نشد
کد:
{
background: url('...');
background-repeat: no-repeat;
}
اشتباه که نیست، کدی که من دادم برای بکگراند مثلاً یک div است، این کدی که شما فرمودید برای بکگراند body است.
کدی که قرار دادید رو به این صورت وارد کنید ببینید عمل می کنه:
کد:
{background-image: url('*.png'); background-repeat: no-repeat}
زوایای پنهان سریال فرار از زندان (Prison Break)
(آخرین تغییر در این ارسال: ۲۴ اردیبهشت ۱۳۸۷ ۰۴:۴۲ عصر توسط ansar_m.)
|
|
| ۲۴ اردیبهشت ۱۳۸۷ ۰۴:۳۱ عصر |
|
|
TehranNet
یاشار
    
ارسالها: 1,293
Likes Given: 13 Likes Received: 7 in 5 posts
تاریخ عضویت: ۱۳ خرداد ۱۳۸۶
|
بک گراند بدون تکرار
Azemati نوشته شده:صفحه ات رو بذار اینجا یا آدرسش رو بده تا بهتر بشه راهنمایی کرد. چون جواب سوال همونه که بالا گفته شد.
سلام
بفرما:
کد:
<html dir=rtl>
<head>
<meta http-equiv="Content-Language" content="fa">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
<!--
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
-->
</style>
<title><$MTBlogName encode_html="1"$></title>
</head>
<?php include("mt4hit.php"); ?>
<body topmargin="0" leftmargin="10" rightmargin="10" bottommargin="0" >
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="957" height="513" bgcolor="#F9F9F7">
<!-- MSTableType="nolayout" -->
<tr>
<td valign="top" colspan="3" height="70" background="np_menu_bg.png">
<!-- MSCellType="ContentHead" -->
<p align="center"> <h1 id="banner-header" align="center" text-decoration="none">
<font face="Tahoma">
<span style="text-decoration: none">
<a accesskey="1" title="<$MTBlogName encode_html="1"$>" href="<$MTBlogURL$>">
<font color="#F9F9F7"><$MTBlogName encode_html="1"$></font></a></span></font></h1></td>
</tr>
<tr>
<td valign="top" width="210" rowspan="2">
<!-- MSCellType="NavBody" -->
</td>
<td valign="top" width="298" rowspan="2">
<!-- MSCellType="ContentBody" -->
</td>
<td valign="top" height="228" width="449">
<!-- MSCellType="NavBody2" -->
</td>
</tr>
<tr>
<td valign="top" height="168" width="449">
<!-- MSCellType="NavBody2" -->
<font face="Tahoma" style="font-size: 9pt"> <MTMultiBlogEntries include_blogs="1" lastn="5">
</font>
<div class="text" algin=right>
<font face="Tahoma" style="font-size: 9pt">
<a href="<$MTEntryPermalink$>"><span style="text-decoration: none">
<$MTEntryTitle$></span></a>
<MTEntryIfAllowComments>
| <a href="<$MTEntryPermalink$>#comments"><span style="text-decoration: none">
نظرات (<$MTEntryCommentCount regex="1"$>)</span></a></MTEntryIfAllowComments>
مشاهده: <? showhits('<MTEntryID>') ?>
</font>
</div>
</MTMultiBlogEntries>
</td>
</tr>
<tr>
<td valign="top" colspan="3" height="47">
<!-- MSCellType="ContentFoot" -->
</td>
</tr>
</table>
</div>
</body>
</html>
ansar_m نوشته شده:اشتباه که نیست، کدی که من دادم برای بکگراند مثلاً یک div است، این کدی که شما فرمودید برای بکگراند body است.
کدی که قرار دادید رو به این صورت وارد کنید ببینید عمل می کنه:
کد:
{background-image: url('*.png'); background-repeat: no-repeat}
باز هم نشد
اسم فایل بک گراند هم np_bg.png هست
iwebtool
|
|
| ۲۴ اردیبهشت ۱۳۸۷ ۰۴:۵۹ عصر |
|
|