vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Wierd headinclude problem :( (https://vborg.vbsupport.ru/showthread.php?t=45370)

wolfe 11-04-2002 01:02 AM

Wierd headinclude problem :(
 
right in my headinclude template i got

Code:

.cat A:link, .cat A:visited, .cat A:active {
        color: {linkcolor};
                text-decoration: none;
}
.cat A:hover {
        color: {hovercolor};
        text-decoration: underline;
}
#cat A:link, #cat A:visited, #cat A:active {
        COLOR: {categoryfontcolor};
        text-decoration: none;
}
#cat A:hover {
        COLOR: {categoryfontcolor};
        text-decoration: underline;
}
#ltlink A:link, #ltlink A:visited, #ltlink A:active {
        COLOR: {linkcolor};
        text-decoration: none;
}
#ltlink A:hover {
        COLOR: {hovercolor};
        text-decoration: underline;
}

but i got the decoration as none but all my links even the none hovered links have lines under them i mean theres no <.u> or [.u] in the templates :(

with out the dots

Erwin 11-04-2002 01:34 AM

Post your whole headinclude template here. You must have a mistake in your style section, that has caused the whole style section to be invalid. Easily done.

wolfe 11-04-2002 01:36 AM

Code:

<meta http-equiv="MSThemeCompatible" content="Yes">
<style type="text/css">
BODY {
        SCROLLBAR-BASE-COLOR: {categorybackcolor};
        SCROLLBAR-ARROW-COLOR: {categoryfontcolor};
}
SELECT {
        FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
        FONT-SIZE: 11px;
        COLOR: #000000;
        BACKGROUND-COLOR: #CFCFCF
}
TEXTAREA, .bginput {
        FONT-SIZE: 12px;
        FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
        COLOR: #000000;
        BACKGROUND-COLOR: #CFCFCF
}
A:link, A:visited, A:active {
        COLOR: {linkcolor};
}
A:hover {
        COLOR: {hovercolor};
}
#cat A:link, #cat A:visited, #cat A:active {
        COLOR: {categoryfontcolor};
        TEXT-DECORATION: none;
}
#cat A:hover {
        COLOR: {categoryfontcolor};
        TEXT-DECORATION: underline;
}
#ltlink A:link, #ltlink A:visited, #ltlink A:active {
        COLOR: {linkcolor};
        TEXT-DECORATION: none;
}
#ltlink A:hover {
        COLOR: {hovercolor};
        TEXT-DECORATION: underline;
}
.thtcolor {
        COLOR: {tableheadtextcolor};
}
.pagenumstatic {
        color: #FFFFFF;
        background-color: {secondaltcolor};
        border-color: #000000;
        border-style: solid;
        border-width: 1px;
        margin: 0px;
        padding: 0px;
        padding-left: 4px;
        padding-right: 4px;
        padding-top: 1px;
        padding-bottom: 1px;
        width: 1em;
        text-decoration: none;
}
.pagenum A:link, .pagenum A:visited, .pagenum A:active {
        color: #FFFFFF;
        background-color: {categorybackcolor};
        border-color: #000000;
        border-style: solid;
        border-width: 1px;
        margin: 0px;
        padding: 0px;
        padding-left: 4px;
        padding-right: 4px;
        padding-top: 1px;
        padding-bottom: 1px;
        width: 1em;
        text-decoration: none;
}
.pagenum A:hover {
        color: #FFFFFF;
        background-color: {secondaltcolor};
        text-decoration: none;
        border-color: #000000;
        border-style: solid;
        border-width: 1px;
        margin: 0px;
        padding: 0px;
        padding-left: 4px;
        padding-right: 4px;
        padding-top: 1px;
        padding-bottom: 1px;
        width: 1em;
        text-decoration: none;
}

here you go d00d :D

wolfe 11-04-2002 01:37 AM

well heres the whole one :D

Code:

<meta http-equiv="MSThemeCompatible" content="Yes">
<style type="text/css">
BODY {
        SCROLLBAR-BASE-COLOR: {categorybackcolor};
        SCROLLBAR-ARROW-COLOR: {categoryfontcolor};
}
SELECT {
        FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
        FONT-SIZE: 11px;
        COLOR: #000000;
        BACKGROUND-COLOR: #CFCFCF
}
TEXTAREA, .bginput {
        FONT-SIZE: 12px;
        FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;
        COLOR: #000000;
        BACKGROUND-COLOR: #CFCFCF
}
A:link, A:visited, A:active {
        COLOR: {linkcolor};
}
A:hover {
        COLOR: {hovercolor};
}
#cat A:link, #cat A:visited, #cat A:active {
        COLOR: {categoryfontcolor};
        TEXT-DECORATION: none;
}
#cat A:hover {
        COLOR: {categoryfontcolor};
        TEXT-DECORATION: underline;
}
#ltlink A:link, #ltlink A:visited, #ltlink A:active {
        COLOR: {linkcolor};
        TEXT-DECORATION: none;
}
#ltlink A:hover {
        COLOR: {hovercolor};
        TEXT-DECORATION: underline;
}
.thtcolor {
        COLOR: {tableheadtextcolor};
}
.pagenumstatic {
        color: #FFFFFF;
        background-color: {secondaltcolor};
        border-color: #000000;
        border-style: solid;
        border-width: 1px;
        margin: 0px;
        padding: 0px;
        padding-left: 4px;
        padding-right: 4px;
        padding-top: 1px;
        padding-bottom: 1px;
        width: 1em;
        text-decoration: none;
}
.pagenum A:link, .pagenum A:visited, .pagenum A:active {
        color: #FFFFFF;
        background-color: {categorybackcolor};
        border-color: #000000;
        border-style: solid;
        border-width: 1px;
        margin: 0px;
        padding: 0px;
        padding-left: 4px;
        padding-right: 4px;
        padding-top: 1px;
        padding-bottom: 1px;
        width: 1em;
        text-decoration: none;
}
.pagenum A:hover {
        color: #FFFFFF;
        background-color: {secondaltcolor};
        text-decoration: none;
        border-color: #000000;
        border-style: solid;
        border-width: 1px;
        margin: 0px;
        padding: 0px;
        padding-left: 4px;
        padding-right: 4px;
        padding-top: 1px;
        padding-bottom: 1px;
        width: 1em;
        text-decoration: none;
}
</style>
<script src="fade.js" language="Javascript"></script>
<script LANGUAGE="Javascript">
<!--
function showwin(name,size)
{
attrbts = size + ",resizable=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes"
window.open(name, "Photos", attrbts);
}                                     
//-->
</script>
<script language="JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && document.getElementById) x=document.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="left" valign="top" height="112" colspan="2">
      <table width="100%" border="0" cellspacing="0" cellpadding="0">


        <tr>
          <td width="630" colspan="2" height="63" align="left" valign="top"><img src="fp_header_tl.jpg" width="620" height="63"></td>
          <td width="100%" height="63" valign="middle" background="tr_fill.jpg"></td>
        </tr>
        <tr>
          <td width="406" height="42" align="left" valign="top"><img src="buttons_left.jpg" width="19" height="35"><a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('News','','news_sel.jpg',1)" href="http://www.s2k2.com/index.php"><img name="News" border="0" src="news_desel.jpg" width="79" height="35"></a><a href="rulez.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Rulez','','rulez_sel.jpg',1)"><img name="Rulez" border="0" src="rulez_desel.jpg" width="82" height="35"></a><a href="irc.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('IRC','','irc_sel.jpg',1)"><img name="IRC" border="0" src="irc_desel.jpg" width="79" height="35"></a><a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Crew','','crew_sel.jpg',1)" href="http://www.s2k2.com/forums/showgroups.php?s="><img name="Crew" border="0" src="crew_desel.jpg" width="78" height="35"></a><a onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('Board','','board_sel.jpg',1)" href="http://www.s2k2.com/forums/index.php"><img name="Board" border="0" src="board_desel.jpg" width="69" height="35"></a></td>
          <td width="214" height="42" align="left" valign="top"><img src="fp_header_br.jpg" width="214" height="49"></td>
        </tr>
      </table>
</td></tr>
$headnewpm


Erwin 11-04-2002 02:14 AM

Wow, you've got some stuff that's meant to be in the header template in there (not that it makes a difference). Mmm... your style looks okay. Make sure you don't have any color replacement variables in the style section eg. { firstaltcolor} - it will make the whole style section invalid. I don't have time to comb through the whole formatting carefully, but make sure you are not missing a ; or a } in there.

wolfe 11-04-2002 01:19 PM

k


All times are GMT. The time now is 10:48 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01080 seconds
  • Memory Usage 1,761KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete