![]() ![]() |
| ofi |
Jun 22 2008, 06:09 PM
Post
#1
|
|
Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 1-October 07 From: Iceland Member No.: 3,957 |
ok I am trying to edit header of phpbb3, almost there. http://www.almennt.com/prufusida/test2/phpBB3/index.php On the site i am using this css CODE body { font-size: 11px; color:black; font-family: Verdana, Arial, SunSans-Regular, Sans-Serif; background: #f4f4f4 url(images/bg.gif) center repeat-y; padding-left: 50%; margin:0px; } #container { width: 700px; margin-left: -350px; } #top { background-color:#EEE; width:auto; height:20px; } h1 { font: 17px verdana; color: #B0B0B0; margin: 5px; } h2 { font-size:11px; color:#787878; margin:9px; } .navmenu { background-color:#F3F3F3; padding: 3px; font-weight:bold; text-align:center; width: 16%; margin-top:1px; margin-right:2px; float:left; } a { text-decoration: none; padding: 0; margin: 0; color: #005784; } a:hover { color: #cb0707; text-decoration: underline; } .outsidebox { width: auto; padding: 0px 6px 0px 5px; clear: both; } .insidebox { width: auto; line-height: 20px; color: #555A60; font-size:12px; padding: 15px 6px 0px 6px; background:#f8f8f8; border:1px solid #DDDDDD; text-align: justify; height: auto; } .title { color:#579; font-size: 13px; font-weight: bold; } .date { font-size: 9px; margin:4px; } .archive { width:100px; line-height: 20px; font-size:10px; background-color: #f4f1f1; border:1px solid #DDDDDD; float:right; text-align:center; } .footer { width: auto; line-height: 20px; color: #555A60; font-size:10px; background: #f1f1f1; border:1px solid #DDDDDD; text-align: center; height: auto; } .textinput { font-family: Tahoma; color: #555A60; font-size:11px; border:1px solid #DDDDDD; } .buttonSubmit { font-size:11px; } and phpbb3 css CODE /* Layout ------------ */ * { /* Reset browsers default margin, padding and font sizes */ margin: 0; padding: 0; } html { font-size: 100%; } body { color: #000; background: #EEE url(images/bg_body.gif); font-family: Verdana, Helvetica, Arial, sans-serif; font-size: 10px; margin: 0; padding: 0; } #body-simple { background: #F8F8F8; padding: 5px; } #wrapper { background: url(images/bg_body_top.gif) top left repeat-x; padding: 5px; } /* Misc stuff */ img { border: none; } .gen { margin: 1px 1px; font-size: 1.2em; } .genmed { margin: 1px 1px; font-size: 1.1em; } .gensmall { margin: 1px 1px; font-size: 1em; } .titles { font-family: "Lucida Grande", Helvetica, Arial, sans-serif; font-weight: bold; font-size: 1.3em; text-decoration: none; } .error, table td .error { color: #D11010; } .spacer { background: #3E698D url(images/spacerbg.gif) top left repeat-x; } hr { height: 0px; border: solid #2E5B82 0px; border-top-width: 1px;} .pagination { padding: 4px; font-size: 1em; font-weight: bold; } /* Links ------------ */ a { color: #2E5B82; text-decoration: none; } a:active, a:visited { color: #2E5B82; text-decoration: none; } a:hover { color: #D11010; text-decoration: underline; } a.forumlink { font-weight: bold; font-family: "Lucida Grande", Helvetica, Arial, sans-serif; font-size: 1.2em; } a.topictitle { margin: 1px 0px; font-family: "Lucida Grande", Helvetica, Arial, sans-serif; font-weight: bold; font-size: 1.2em; } a.topictitle, .postbody a { color: #2E5B82; } a.topictitle:visited, .postbody a:visited { color: #44729A; } a.topictitle:visited:hover, .postbody a:visited:hover { color: #2E5B82; } a.topictitle:hover, .postbody a:hover { color: #D11010; } /* Header and logo */ #maintable { border: solid 1px #999; margin: 0 auto; background-color: #F8F8F8; } #logorow { background: #F8F8F8 url(images/bg_logo.gif) top left repeat-x; text-align: left; padding: 0; padding-top: 6px; min-height: 70px; } .pm-notify-new, .pm-notify-unread { border-left: solid 1px #3C5F84; border-right: solid 1px #2E5B82; border-top: solid 1px #3C5F84; border-bottom: solid 1px #2E5B82; background: #F8F8F8 url(images/cell.gif) top left repeat-x; margin: 10px 0; padding: 10px; text-align: center; font-size: 12px; font-weight: bold; } .pm-notify-new a, .pm-notify-new a:visited, .pm-notify-unread a, .pm-notify-unread a:visited { text-decoration: underline; } .pm-notify-header { margin-bottom: 10px; color: #666; } .pm-notify-new, .pm-notify-unread:hover { border-left: solid 1px #F15F5F; border-right: solid 1px #D11010; border-top: solid 1px #F15F5F; border-bottom: solid 1px #D11010; } .pm-notify-new { padding: 30px; } /* Navigation buttons */ .navtd { padding: 0 10px 5px 10px; } .navrow-right { float: right; } .navrow { background: #F1F1F1 url(images/bg_nav.gif) top left repeat-x; border: solid 1px #E0E0E0; padding: 5px; color: #909090; text-align: left; font-size: 11px; } .navrow b, .navrow strong { font-weight: normal; } .navrow a, .navrow a:visited { color: #2E5B82; text-decoration: none; } .navrow a:hover { color: #D11010; text-decoration: underline; } a.link-new, a.link-new:visited { color: #D11010; } a.link-new:hover, a.link-new:visited:hover { color: #44729A; } /* Content and tables */ #contentrow { padding: 5px 10px; } .tablebg { border: solid 1px #BBB; border-top-color: #C8C8C8; background: #F8F8F8 url(images/cell.gif) top left repeat-x; } .row1, .row2, .row3, .forumrules, tr.row1 .row, tr.row2 .row, tr.row3 .row, .postbottom { border-left: solid 1px #FFF; border-right: solid 1px #E0E0E0; border-top: solid 1px #FFF; border-bottom: solid 1px #E0E0E0; background: #F8F8F8 url(images/cell.gif) top left repeat-x; padding: 4px; } th { color: #AAA; font-size: 11px; font-weight: bold; background: #FFF url(images/th.gif) top left repeat-x; white-space: nowrap; padding: 0 5px; text-align: center; height: 26px; border-left: solid 1px #FFF; border-right: solid 1px #E0E0E0; border-top: solid 1px #FFF; border-bottom: solid 1px #E0E0E0; } th a, th a:visited { color: #AAA !important; text-decoration: underline; } th a:hover { color: #2E5B82; text-decoration: underline; } td { padding: 2px; } td.profile { padding: 4px; } .catdiv { height: 24px; padding: 0 3px; border-left: solid 1px #FFF; border-right: solid 1px #E0E0E0; border-top: solid 1px #FFF; border-bottom: solid 1px #E0E0E0; background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x; } .cat { height: 24px; padding: 0 3px; border-left: solid 1px #FFF; border-right: solid 1px #E0E0E0; border-top: solid 1px #FFF; border-bottom: solid 1px #E0E0E0; background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x; text-indent: 4px; } .cathead { background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x; height: 24px; padding: 1px 3px; border-left: solid 1px #FFF; border-right: solid 1px #E0E0E0; border-top: solid 1px #FFF; border-bottom: solid 1px #E0E0E0; } .legend { padding: 4px; } /* Table header */ caption { margin: 0; padding: 0; background: url(images/tcat_mid.gif) top left repeat-x; white-space: nowrap; height: 26px; text-align: left; } .cap-left { background: url(images/tcat_left.gif) top left no-repeat; padding-left: 25px; } .cap-right { background: url(images/tcat_right.gif) top right no-repeat; padding-top: 6px; height: 20px; } caption, caption h1, caption h2, caption h3, caption h4, caption span { font-size: 13px; line-height: 1.2em; font-weight: bold; color: #2E5B82; font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; } caption h1, caption h2, caption h3, caption h4, caption span { display: inline; } caption a, caption a:visited { color: #2E5B82; text-decoration: underline; } caption a:hover { color: #D11010; text-decoration: underline; } /* Footer */ #wrapfooter { text-align: center; color: #666; padding-top: 10px; } .copyright { color: #666; font-weight: normal; font-size: 9px; line-height: 1.2em; } .copyright a, .copyright a:visited { color: #444; text-decoration: underline; } .copyright a:hover { color: #D11010; } /* Breadcrumbs */ p.breadcrumbs { margin: 0; padding: 0; float: left; color: #AAA; font-weight: bold; white-space: normal; font-size: 1em; } .rtl p.breadcrumbs { float: right; } p.datetime { margin: 0; padding: 0; float: right; white-space: nowrap; font-size: 1em; } .rtl p.datetime { float: left; } /* Index/viewforum */ .subforum.read { background: url(images/sub_old.gif) top left no-repeat; padding-left: 12px; } .subforum.unread { background: url(images/sub_new.gif) top left no-repeat; padding-left: 12px; } .legend { text-align: center; margin: 0 auto; padding: 2px; } .legend-viewforum { margin: 0; text-align: left; } .forumrules { padding: 4px; font-weight: normal; font-size: 1.1em; border-left-color: #AAA; border-top-color: #AAA; border-right-color: #CCC; border-bottom-color: #CCC; font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; } .forumrules h3 { color: #D11010; } /* Post */ .postsubject { font-size: 12px; font-weight: bold; color: #2E5B82; } td.postbottom { background: #F1F1F1 url(images/bg_tfoot.gif) top left repeat-x; font-size: 10px; color: #444; white-space: nowrap; padding: 2px; vertical-align: middle; } td.postbuttons { padding-top: 3px; } .postdetails { color: #666; font-size: 10px; text-align: left; } .postdetails b { color: #444; } .posterrank { font-size: 9px; color: #666; } .posterprofile { font-size: 10px; color: #666; } .postauthor { color: #2E5B82; font-size: 12px; margin-bottom: 3px; font-weight: bold; } .postonline { margin-bottom: 2px; } .postreported, .postreported a:visited, .postreported a:hover, .postreported a, .postreported a:active { margin: 1px 0px; color: #D11010; font-weight: bold; } .postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a, .postapprove a:active { color: #00FF00; font-weight: bold; } .postapprove img, .postreported img { vertical-align: bottom; } .postbody { font-size: 12px; line-height: 1.4em; margin: 3px 0; } .signature { font-size: 11px; color: #888; margin-top: 5px; } .signature .line { color: #AAA; } .postbody li, ol, ul { margin: 0 0 0 1.5em; } .rtl .postbody li, .rtl ol, .rtl ul { margin: 0 1.5em 0 0; } .posthilit { background-color: #2E5B82; } .postsubject { font-size: 12px; font-weight: bold; color: #2E5B82; } .postbody a { text-decoration: underline; } /* UCP */ .folder-current a, .folder-current a:visited { color: #000; font-weight: bold; } .folder-current a:hover { color: #D11010; } td.pm_marked_colour { background: #888; } td.pm_marked_colour_left { border-left: solid 3px #888; padding-left: 2px; } td.pm_marked_colour_right { border-right: solid 3px #888; padding-right: 2px; } td.pm_replied_colour { background: #2E5B82; } td.pm_replied_colour_left { border-left: solid 3px #2E5B82; padding-left: 2px; } td.pm_replied_colour_right { border-right: solid 3px #2E5B82; padding-right: 2px; } td.pm_friend_colour { background: #007700; } td.pm_friend_colour_left { border-left: solid 3px #007700; padding-left: 2px; } td.pm_friend_colour_right { border-right: solid 3px #007700; padding-right: 2px; } td.pm_foe_colour { background: #DD0000; } td.pm_foe_colour_left { border-left: solid 3px #DD0000; padding-left: 2px; } td.pm_foe_colour_right { border-right: solid 3px #DD0000; padding-right: 2px; } /* Form Elements ------------ */ form { margin: 0px; padding: 0px; border: 0px; } textarea, select, .post, .btnbbcode, .btnmain, .btnlite, .btnfile, .helpline { font-weight: normal; font-family: "Lucida Grande", Verdana, Helvetica, sans-serif; color: #444; border: 1px solid #888; background-color: #FFF; } #helpline { color: #444; } input { font-size: 1.1em; padding: 1px; } textarea { font-size: 1.3em; line-height: 1.4em; padding: 2px; } select { font-size: 1.1em; padding: 1px; } option { padding: 0 1em 0 0; } .rtl option { padding: 0 0 0 1em; } .post { border-style: solid; border-width: 1px; } .btnbbcode { font-size: 1.1em; border: 1px solid #849AB1; } .btnbbcode:hover { border-color: #444; color: #000; } .btnmain { font-weight: bold; cursor: pointer; padding: 1px 5px; font-size: 1.1em; } .btnlite { font-weight: normal; cursor: pointer; padding: 1px 5px; font-size: 1.1em; } .btnfile { font-weight: normal; padding: 1px 5px; font-size: 1.1em; } .helpline { background-color: transparent; color: #444; border-style: none; } * html textarea, * html select, * html .post, * html .btnmain, * html .btnlite, * html .btnfile { border-color: #888; } textarea:hover, select:hover, .post:hover, .btnmain:hover, .btnlite:hover, .btnfile:hover { border-color: #2E5B82; } textarea:focus, select:focus, .post:focus, .btnmain:focus, .btnlite:focus, .btnfile:focus { border-color: #253F5A; color: #000; } label:hover { color: #D11010; } /* BBCode ------------ */ .quotetitle, .attachtitle, .codetitle { margin: 10px 5px 0px 5px; padding: 2px 4px 0 4px; border: solid 1px #D8D8D8; border-bottom-width: 0; color: #2E5B82; background: #FAFAFA url(images/bg_box_code.gif) top right no-repeat; font-size: 0.85em; font-weight: bold; } .quotetitle { background-image: url(images/bg_box_quote.gif); } .attachtitle { background-image: url(images/bg_box_attach.gif); } .quotetitle .quotetitle { font-size: 1em; } .quotecontent, .attachcontent { margin: 0px 5px 10px 5px; padding: 5px; border-color: #D8D8D8; border-width: 0px 1px 1px 1px; border-style: solid; font-weight: normal; font-size: 1em; line-height: 1.4em; /* font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; */ background-color: #FAFAFA; color: #444; } .attachcontent { font-size: 0.85em; } .codecontent { direction: ltr; margin: 0px 5px 10px 5px; padding: 5px; border-color: #D8D8D8; border-width: 0px 1px 1px 1px; border-style: solid; font-weight: normal; font-size: 11px; font-family: Monaco, 'Courier New', monospace; background-color: #FAFAFA; color: #444; } .attachcontent, html>body .postbody { overflow: auto; overflow-x: auto; } .syntaxbg { color: #000; } .syntaxcomment { color: #666; } .syntaxdefault { color: #000; } .syntaxhtml { color: #000; } .syntaxkeyword { color: #D11010; } .syntaxstring { color: #2E5B82; } /* More misc stuff */ h1 { /* font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif; */ font-weight: bold; font-size: 1.8em; text-decoration: none; } h2 { font-family: Arial, Helvetica, sans-serif; font-weight: bold; font-size: 1.5em; text-decoration: none; line-height: 120%; } h3 { font-size: 1.3em; font-weight: bold; font-family: Arial, Helvetica, sans-serif; line-height: 120%; } h4 { margin: 0px; font-size: 1.1em; font-weight: bold; } p { font-size: 1.1em; } p.moderators { margin: 0px; float: left; color: #CCC; font-weight: bold; } .rtl p.moderators { float: right; } p.linkmcp { margin: 0px; float: right; white-space: nowrap; } .rtl p.linkmcp { float: left; } p.searchbar { padding: 2px 0; white-space: nowrap; } p.searchbarreg { margin: 0px; float: right; white-space: nowrap; } .rtl p.searchbarreg { float: left; } p.forumdesc { padding-bottom: 4px; } p.topicauthor { margin: 1px 0px; } p.topicdetails { margin: 1px 0px; } td.history-current, tr.row1 td.history-current, tr.row2 td.history-current { background: #DDD; } table.colortable td { padding: 0; } pre { font-size: 1.1em; font-family: Monaco, 'Courier New', monospace; } .nowrap { white-space: nowrap; } .username-coloured { font-weight: bold; } .sep { color: #444; } /* bugs */ @media all and (min-width: 0px) { /* reset file input style for Opera - it changes only text color and border, but not bg color */ .btnfile, .btnfile:hover, .btnfile:focus { border: none; background-color: #FFF; color: #000; } } and here is overall header of phpbb3 CODE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> <head> <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> <meta http-equiv="content-language" content="{S_USER_LANG}" /> <meta http-equiv="content-style-type" content="text/css" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="resource-type" content="document" /> <meta name="distribution" content="global" /> <meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" /> <meta name="keywords" content="" /> <meta name="description" content="" /> {META} <title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title> <link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" /> <link href="http://www.almennt.com/prufusida/test2/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> // <![CDATA[ <!-- IF S_USER_PM_POPUP --> if ({S_NEW_PM}) { popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg'); } <!-- ENDIF --> function popup(url, width, height, name) { if (!name) { name = '_popup'; } window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width); return false; } function jumpto() { var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}'); var perpage = '{PER_PAGE}'; var base_url = '{A_BASE_URL}'; if (page !== null && !isNaN(page) && page > 0) { document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage); } } /** * Find a member */ function find_username(url) { popup(url, 760, 570, '_usersearch'); return false; } /** * Mark/unmark checklist * id = ID of parent container, name = name prefix, state = state [true/false] */ function marklist(id, name, state) { var parent = document.getElementById(id); if (!parent) { eval('parent = document.' + id); } if (!parent) { return; } var rb = parent.getElementsByTagName('input'); for (var r = 0; r < rb.length; r++) { if (rb[r].name.substr(0, name.length) == name) { rb[r].checked = state; } } } <!-- IF ._file --> /** * Play quicktime file by determining it's width/height * from the displayed rectangle area * * Only defined if there is a file block present. */ function play_qt_file(obj) { var rectangle = obj.GetRectangle(); if (rectangle) { rectangle = rectangle.split(',') var x1 = parseInt(rectangle[0]); var x2 = parseInt(rectangle[2]); var y1 = parseInt(rectangle[1]); var y2 = parseInt(rectangle[3]); var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1; var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1; } else { var width = 200; var height = 0; } obj.width = width; obj.height = height + 16; obj.SetControllerVisible(true); obj.Play(); } <!-- ENDIF --> // ]]> </script> </head> <body class="{S_CONTENT_DIRECTION}"> <a name="top"></a> <div id="container"> <div id="top"></div> <div id="wrapheader"> <table width="100%" cellspacing="0"> <tr> <td> <h1>Spjallið</h1> <h2><img src="http://www.almennt.com/prufusida/test2/images/rubikcube.png" width="100" height="111" /></h2> </td> </tr> <tr> <td class="navmenu"><a href="http://www.almennt.com/prufusida/test2/index.php">Heim</a></td> <td class="navmenu"><a href="http://www.almennt.com/prufusida/test2/eg.php">Um mig</a></td> <td class="navmenu"><a href="#">Spjall</a></td> <td class="navmenu"><a href="http://www.almennt.com/prufusida/test2/sam.php">Samband</a></td> <td class="navmenu"><a href="#">Myndir</a></td> <tr> </table> <div id="logodesc"> <table width="100%" cellspacing="0"> <tr> <td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td> <td width="100%" align="center"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td> </tr> </table> </div> <div id="menubar"> <table width="100%" cellspacing="0"> <tr> <td class="genmed"> <!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_LOGIN_LOGOUT}</a> <!-- ENDIF --> <!-- IF U_RESTORE_PERMISSIONS --> <a href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF --> <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF --> <!-- IF not S_IS_BOT --> <!-- IF S_USER_LOGGED_IN --> <!-- IF S_DISPLAY_PM --> <a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF --> <!-- ELSEIF S_REGISTER_ENABLED --> <a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="*" /> {L_REGISTER}</a> <!-- ENDIF --> <!-- ENDIF --> </td> <td class="genmed" align="{S_CONTENT_FLOW_END}"> <a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a> <!-- IF S_DISPLAY_SEARCH --> <a href="{U_SEARCH}"><img src="{T_THEME_PATH}/images/icon_mini_search.gif" width="12" height="13" alt="*" /> {L_SEARCH}</a><!-- ENDIF --> <!-- IF not S_IS_BOT --> <!-- IF S_DISPLAY_MEMBERLIST --> <a href="{U_MEMBERLIST}"><img src="{T_THEME_PATH}/images/icon_mini_members.gif" width="12" height="13" alt="*" /> {L_MEMBERLIST}</a><!-- ENDIF --> <!-- IF S_USER_LOGGED_IN --> <a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> {L_PROFILE}</a><!-- ENDIF --> <!-- ENDIF --> </td> </tr> </table> </div> <div id="datebar"> <table width="100%" cellspacing="0"> <tr> <td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td> <td class="gensmall -------------------- |
| ofi |
Jun 22 2008, 06:13 PM
Post
#2
|
|
Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 1-October 07 From: Iceland Member No.: 3,957 |
Sorry my spam, but i could not get everything in.
As you see here, it is not same, http://www.almennt.com/prufusida/test2/phpBB3/index.php http://www.almennt.com/prufusida/test2 "Sorry my English" hope you understand me thx -------------------- |
| Darin McGrew |
Jun 22 2008, 07:48 PM
Post
#3
|
|
WDG Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Root Admin Posts: 5,144 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
I don't understand. What is the question? What is the problem?
-------------------- Darin McGrew
WDG Member since 1998 My involvement with the WDG is personal. The views I express here are mine alone and not those of my employer. |
| ofi |
Jun 24 2008, 03:00 AM
Post
#4
|
|
Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 1-October 07 From: Iceland Member No.: 3,957 |
Hi Darin
I have solved the problem above, got one question if you can help me with. Here i have board installed http://www.almennt.com/phpBB3/ and the one i am working on now http://www.almennt.com/prufusida/test2/phpBB3/ i am using same style on the boards, if you take a look at them, then you will see that fonts seems to bigger on the other board, do you have any idea why this is, here i got overall_header from the test board "overall_header is the only file i have edit" CODE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> <head> <meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> <meta http-equiv="content-language" content="{S_USER_LANG}" /> <meta http-equiv="content-style-type" content="text/css" /> <meta http-equiv="imagetoolbar" content="no" /> <meta name="resource-type" content="document" /> <meta name="distribution" content="global" /> <meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" /> <meta name="keywords" content="" /> <meta name="description" content="" /> {META} <title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title> <link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" /> <link href="http://www.almennt.com/prufusida/test2/style.css" rel="stylesheet" type="text/css" /> <script type="text/javascript"> // <![CDATA[ <!-- IF S_USER_PM_POPUP --> if ({S_NEW_PM}) { popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg'); } <!-- ENDIF --> function popup(url, width, height, name) { if (!name) { name = '_popup'; } window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes,width=' + width); return false; } function jumpto() { var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}'); var perpage = '{PER_PAGE}'; var base_url = '{A_BASE_URL}'; if (page !== null && !isNaN(page) && page > 0) { document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage); } } /** * Find a member */ function find_username(url) { popup(url, 760, 570, '_usersearch'); return false; } /** * Mark/unmark checklist * id = ID of parent container, name = name prefix, state = state [true/false] */ function marklist(id, name, state) { var parent = document.getElementById(id); if (!parent) { eval('parent = document.' + id); } if (!parent) { return; } var rb = parent.getElementsByTagName('input'); for (var r = 0; r < rb.length; r++) { if (rb[r].name.substr(0, name.length) == name) { rb[r].checked = state; } } } <!-- IF ._file --> /** * Play quicktime file by determining it's width/height * from the displayed rectangle area * * Only defined if there is a file block present. */ function play_qt_file(obj) { var rectangle = obj.GetRectangle(); if (rectangle) { rectangle = rectangle.split(',') var x1 = parseInt(rectangle[0]); var x2 = parseInt(rectangle[2]); var y1 = parseInt(rectangle[1]); var y2 = parseInt(rectangle[3]); var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1; var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1; } else { var width = 200; var height = 0; } obj.width = width; obj.height = height + 16; obj.SetControllerVisible(true); obj.Play(); } <!-- ENDIF --> // ]]> </script> </head> <body class="{S_CONTENT_DIRECTION}"> <a name="top"></a> <div id="container"> <div id="top"></div> <div id="wrapheader"> <table width="100%" cellspacing="0"> <tr> <td> <h2><img src="http://www.almennt.com/prufusida/test2/images/rubikcube.png" width="100" height="111" /></h2> </td> </tr> <tr> <td class="navmenu"><a href="http://www.almennt.com/prufusida/test2/index.php">Heim</a></td> <td class="navmenu"><a href="http://www.almennt.com/prufusida/test2/eg.php">Um mig</a></td> <td class="navmenu"><a href="#">Spjall</a></td> <td class="navmenu"><a href="http://www.almennt.com/prufusida/test2/sam.php">Samband</a></td> <td class="navmenu"><a href="#">Myndir</a></td> </tr> </table> <div id="logodesc"> <table width="100%" cellspacing="0"> </table> </div> <div id="menubar"> <table width="100%" cellspacing="0"> </tr> <td class="genmed"> <!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_LOGIN_LOGOUT}</a> <!-- ENDIF --> <!-- IF U_RESTORE_PERMISSIONS --> <a href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF --> <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF --> <!-- IF not S_IS_BOT --> <!-- IF S_USER_LOGGED_IN --> <!-- IF S_DISPLAY_PM --> <a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF --> <!-- ELSEIF S_REGISTER_ENABLED --> <a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="*" /> {L_REGISTER}</a> <!-- ENDIF --> <!-- ENDIF --> </td> <td class="genmed" align="{S_CONTENT_FLOW_END}"> <a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a> <!-- IF S_DISPLAY_SEARCH --> <a href="{U_SEARCH}"><img src="{T_THEME_PATH}/images/icon_mini_search.gif" width="12" height="13" alt="*" /> {L_SEARCH}</a><!-- ENDIF --> <!-- IF not S_IS_BOT --> <!-- IF S_DISPLAY_MEMBERLIST --> <a href="{U_MEMBERLIST}"><img src="{T_THEME_PATH}/images/icon_mini_members.gif" width="12" height="13" alt="*" /> {L_MEMBERLIST}</a><!-- ENDIF --> <!-- IF S_USER_LOGGED_IN --> <a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> {L_PROFILE}</a><!-- ENDIF --> <!-- ENDIF --> </td> </tr> </table> </div> <div id="datebar"> <table width="100%" cellspacing="0"> <tr> <td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td> <td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td> </tr> </table> </div> </div> <div id="wrapcentre"> <!-- IF S_DISPLAY_SEARCH --> <p class="searchbar"> <span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span> <!-- IF S_USER_LOGGED_IN --> <span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span> <!-- ENDIF --> </p> <!-- ENDIF --> <br style="clear: both;" /> <!-- INCLUDE breadcrumbs.html --> <br /> this is the code i have added in CODE <link href="http://www.almennt.com/prufusida/test2/style.css" rel="stylesheet" type="text/css" /> and CODE <div id="container"> <div id="top"></div> <div id="wrapheader"> <table width="100%" cellspacing="0"> <tr> <td> <h2><img src="http://www.almennt.com/prufusida/test2/images/rubikcube.png" width="100" height="111" /></h2> </td> </tr> <tr> <td class="navmenu"><a href="http://www.almennt.com/prufusida/test2/index.php">Heim</a></td> <td class="navmenu"><a href="http://www.almennt.com/prufusida/test2/eg.php">Um mig</a></td> <td class="navmenu"><a href="#">Spjall</a></td> <td class="navmenu"><a href="http://www.almennt.com/prufusida/test2/sam.php">Samband</a></td> <td class="navmenu"><a href="#">Myndir</a></td> </tr> </table> Can you spot anything wrong on those two codes i have added in. Thx This post has been edited by ofi: Jun 24 2008, 03:02 AM -------------------- |
| Darin McGrew |
Jun 24 2008, 12:08 PM
Post
#5
|
|
WDG Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Root Admin Posts: 5,144 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
They look the same size in my normal browser configuration. It's only when I disable the minimum font size that the first one shrinks.
The first one uses http://www.almennt.com/phpBB3/styles/seren.../stylesheet.css which specifies "font-size:10px". The second one uses http://www.almennt.com/prufusida/test2/php.../stylesheet.css which specifies "font-size: 10px", but also uses http://www.almennt.com/prufusida/test2/style.css which specifies "font-size: 11px". Don't use px for font sizes. Use 100% for body text, use larger percentages for headings and the like, and use (slightly) smaller percentages for legalese and similar fine print. -------------------- Darin McGrew
WDG Member since 1998 My involvement with the WDG is personal. The views I express here are mine alone and not those of my employer. |
| ofi |
Jun 24 2008, 03:32 PM
Post
#6
|
|
Member ![]() ![]() ![]() Group: Members Posts: 60 Joined: 1-October 07 From: Iceland Member No.: 3,957 |
ok thx Darin
-------------------- |
![]() ![]() |
|
Lo-Fi Version | Time is now: 21st November 2009 - 07:22 AM |