Log in

View Full Version : Help with locating some code.


noj75
07-03-2006, 04:01 PM
Hi all,

After validating my site as XHTML I am stuck on locating a snippet of code:

# <!-- CSS Stylesheet -->
# <link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style-55098c4f-00002.css" id="vbulletin_css" /><style>
# <!--
# .sizedsig {
# max-height:85px;
# height:expression(this.scrollHeight > 85? "85px" : "auto" );
# overflow:auto;
# overflow-x:hidden;
# }
# // -->
# </style>
#
# <!-- / CSS Stylesheet -->

The part I am trying to find in the above code is:

<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style-55098c4f-00002.css" id="vbulletin_css" /><style>

Looking in the headerinclude template all I can find that may be of some use is:

$style[css]

I dont know where to go from there.
Can anyone tell me where to look to alter the above code that is giving me the xhtml error.??

Kindest regards.

slappy
07-03-2006, 04:46 PM
The code you posted shows you the way.

href="clientscript/vbulletin_css/style-55098c4f-00002.css

This means the vbulletin-css "stylesheet" is in your /clientscript/vbulletin_css/ folder and is named "style-55098c4f-00002.css".

This is a text type file which you can examine in a suitable text editor. I generally use UltraEdit.

Regards,

noj75
07-03-2006, 04:56 PM
Hi Slappy,

Its not the actual css file that I am after. It is this piece of code:

<link rel="stylesheet" type="text/css" href="clientscript/vbulletin_css/style-55098c4f-00002.css" id="vbulletin_css" /><style>

Thats what I need to change, not the actual css. Thanks for your help.
Any other ideas?

Kind regards

Paul M
07-03-2006, 06:31 PM
It's built by code - in adminfunctions_template.php I believe.

noj75
07-03-2006, 06:36 PM
Hi Paul,

Thanks, thats the closest I have been so far. Its not in that file, any other ideas?

Kind regards

Found it !!

It was to do with the scroll bar on signatures hack that I installed from here. Fixed it now.

Thanks for the help.

Kindest regards.