עבור לתוכן
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.

שינוי גודל טקסט ב-javascript

Featured Replies

פורסם

document.getElementById('mnu').style.fontsize="4";

אני לא יודע בדיוק איך כותבים את זה נכון ואני לא מוצא דוגמה שתוכל לעזור לי ב-W3.....

תודה מראש.

פורסם

א. S גדולה. ב- fontSize.

ב. ציון הגודל הוא CSSי - כלומר אתה יכול להגדיר אותו ב - px (פיקסלים - 14px דוגמא), pt (נקודות כמו בעורך תמלילים סטנדארטי 12pt בדוגמא), cm (סנטימטרים), mm (מילמטרים), in (אינץ), pc (יחידת picas - 1 שווה לפונט 12 נקודות). יש גם em כאשר 1em הוא הפונט שהדפדפן בוחר להציג טקסט - ואניתן להשתמש בערכים של יותר מ-1 או פחות על מנת להגידל להקטין את הטקסט.

בכל מקרה הערך "4" לא אומר כלום במקרה הטוב, ובמקרה הרע - הוא אומר משהו - ואתה לא יודע מה זה...

ארכיון

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

דיונים חדשים

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.