עבור לתוכן
View in the app

A better way to browse. Learn more.

HWzone

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

איך מגדירים רקע שהוא PATTERN

Featured Replies

פורסם

שלום לכולם

מישהו יודע איך מגדירים בHTML רקע לאתר שהוא סוג של PATTERN

לדוגמא הרקע החום עם העיגולים באתר הנ"ל

http://www.iah.org.il

תודה

פורסם

שמרי את הPATTERN בתור רקע (כמו התמונה ששלחו מעליי).

ואת הקוד הבא הוסיפי לגליון הCSS / לדף:

body {
background-image: url('image path');
background-repeat: repeat;
}

כאשר image path הוא נתיב התמונה, במקרה של האתר:

http://www.iah.org.il/images/flower_bg.gif

מקווה שעזרתי.

פורסם
  • מחבר

עזרתם מאוד

אתם גדולים :yelclap:

תודה

פורסם
  • מחבר

עוד שאלה של מתחילה :) בבקשה ..

איך למקם את התמונה " tree.gif" במרכז למעלה (ביחס הדף) כי כרגע התמונה נצמדת לשמאל


<html>

<head>
<title>pattern</title>
</head>

<body background="bg_pattern4.gif" bgproperties="repeat">

<"img src="tree.gif" width="800" height="1000"">

</body>



</html>

תודה

פורסם

עושים את זה באמצעות CSS. אני ממליץ לך בחום ללמוד את זה קצת.

בכל מקרה, גיגול קצר של css center image ייתן לך תשובות, לדוגמה:

http://webdesign.about.com/od/beginningcss/a/aa012207.htm


<style type="text/css">
img.center {
display: block;
margin-left: auto;
margin-right: auto;
}
</style>

<img src="tree.gif" class="center" />

נ.ב. אל תשתמשי בכפתור "הכנס ציטוט", אלא בכפתור "הכנס קוד" שלידו.

פורסם
  • מחבר

מעולם לא התעסקתי ב CSS אני מכירה קצת HTML

אעשה חיפוש נראה במה מדובר

בקשר לנ.ב. שרשמת, ערכתי.

תודה שניצל :)

פורסם
  • מחבר

עשרות נסיונות וכלום ...!

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

כמה מסובך זה יכול להיות :kopfpatsch:

בבקשה עזרה ...

פורסם
<style type="text/css">
#wrapper {
margin: auto;
text-align: center;
}

#wrapper img {
text-align: center;
}
</style>

<div id="wrapper">
<img src="tree.gif" />
</div>

פורסם
  • מחבר

זה לא עובד :(

פורסם

[code]<style type="text/css">
body {
margin: auto;
text-align: center;
background-image: url('image path');
background-repeat: repeat;
}

#wrapper {
margin: auto;
text-align: center;
}
</style>

<div id="wrapper">
<img src="tree.gif" />
</div>

הקוד הזה אמור לעבוד.

בהצלחה

פורסם
  • מחבר

יששששש!!!! זה עובד !!!

תודה גל :xyxthumbs:

ושבת שלום

ארכיון

דיון זה הועבר לארכיון ולא ניתן להוסיף בו תגובות חדשות.

דיונים חדשים

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.