![]() |
How to fix [CODE]?
<a href="http://www.virtualsportsnetwork.com/forum/showpost.php?p=777150&postcount=466" target="_blank">http://www.virtualsportsnetwork.com/...&postcount=466</a>
For some reason code has changed its formatting and now does not work properly. Any idea how to fix this? Any code I need to provide to make troubleshooting easier? |
Since I have no idea what you expect it to look like, I can't tell you what's wrong. Maybe you changed the font? (for some reason, you are using Verdana in there instead of a basic typeface font)
|
We're using verdana instead of a type face font -- there's no way to assign CODE a certain font?
|
Quote:
|
What would the name of the style be?
.code {font-family: Arial;}? |
Arial is also a sans-serif font. You want to use a monospace font like Courier.
|
I tried doing this, but apparently I don't know how to do this. How do you give [code] a style set?
|
google "css font" and the first result is this - CSS Font
|
I mean what is code's actual title in the style sheet.
I tried this but could not get it to work: code { font-family: "Courier New"; } |
You need to edit the actual template and use inline styling in this case since you have assigned it class alt1 (or alt2, I forget) and that class has a font assigned..
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. Sometimes the template is the one mentioned at the very top of the page source. |
All times are GMT. The time now is 02:25 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|