0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
echo ' <div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '> <table width="100%" cellpadding="0" cellspacing="0" border="0"> <tr> <td class="catbg" height="32">'; if (empty($settings['header_logo_url'])) echo ' <span style="font-family: Verdana, sans-serif; font-size: 140%; ">', $context['forum_name'], '</span>'; else echo ' <img src="', $settings['header_logo_url'], '" style="margin: 4px;" alt="', $context['forum_name'], '" />'; echo ' </td> <td align="right" class="catbg"> <img src="', $settings['images_url'], '/smflogo.gif" style="margin: 2px;" alt="" /> </td> </tr> </table>';
echo ' <div class="tborder" ', $context['browser']['needs_size_fix'] && !$context['browser']['is_ie6'] ? ' style="width: 100%;"' : '', '> <table width="100%" cellpadding="0" cellspacing="0" border="0" class="header"> <tr> <td align="center"> <img src="', $settings['images_url'], '/smflogo.gif" /> </td> </tr> </table>';
/* The main body of the entire forum. */body{ background-color: #E5E5E8; margin: 0px; padding: 12px 30px 4px 30px;}
.header{ background: #6C7F93 url(images/topbar.gif) repeat-x;}
<div id="top_section"> <h1 class="forumtitle"> <a href="', $scripturl, '">', empty($context['header_logo_url_html_safe']) ? $context['forum_name'] : '<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />', '</a> </h1>'; // the upshrink image, right-floated echo ' <img id="upshrink" src="', $settings['images_url'], '/upshrink.png" alt="*" title="', $txt['upshrink_description'], '" style="display: none;" />'; echo ' ', empty($settings['site_slogan']) ? '<img id="smflogo" src="' . $settings['images_url'] . '/smflogo.png" alt="Simple Machines Forum" title="Simple Machines Forum" />' : '<div id="siteslogan" class="align_right">' . $settings['site_slogan'] . '</div>', ' </div>
/* clearing the floats */#top_section{ min-height: 65px; overflow: hidden; margin-bottom: 3px;}
ไม่มี no repeat-x นะครับคุณสมบัติที่ใช้ได้repeat-x = ทำซ้ำในแกน xrepeat-y = ทำซ้ำในแกน yrepeat = ทำซ้ำในแกน x+yno-repeat = ไม่มีการทำซ้ำ