WEB DESIGN GARAGE [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

WEB DESIGN GARAGE [Electronic resources] - نسخه متنی

Marc Campbell

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید






Creating End Signs


Here's another trick involving horizontal rules: By manipulating the width and size attributes, you can create boxes to position at the end of a section of text, much like a magazine signs off with an end sign, or a special character or bullet at the end of an article. See Figure 54.3 for an example.

Figure 54.3. Create solid or hollow boxes with horizontal rules. (The indents on the paragraphs come courtesy of the margin-left CSS attribute.)

[View full size image]

To create a box, set the width and size of the horizontal rule to the same amount:


hr size="10" width="10">


TIP


Solid horizontal-rule boxes in Netscape appear with rounded corners, while hollow boxes are square. Go figure.

Specify the noshade attribute to make the box solid, or leave the noshade attribute out to make the box hollow. Notice in Figure 54.3 that the hollow box looks clickable because of the shading's 3D effect, so watch out. You're probably better off using solid boxes for end signs.


/ 175