UBB.Dev
Posted By: ozzie is it possible to use .css??? - 03/26/2001 7:39 PM
Hi,
I'd like to use a style sheet for my ubb and need to know if this can be done easily.

I believe the script calls the syle right now from styles.file .
The problem is that i still see the code like 1000000 times in my source code and that makes my site very biggg in kb frown

Someone knows a way to fix this??

Here is my ubb so you can check: http://www.rapsearch.com/cgi-bin/board/Ultimate.cgi

Sincerely,

ozzie
Posted By: Jamin Re: is it possible to use .css??? - 03/26/2001 8:44 PM
Write your stylesheet the way you want it. Then copy the whole thing and paste it into the "Header Insert" field of the Style Settings control panel. Be sure to include the opening and closing tags around it, too. smile

---Skorpion
Posted By: ozzie Re: is it possible to use .css??? - 03/26/2001 10:03 PM
Ok...I understand that....but i think i will still see the info submitted to styles.file Or can i just make everything in the blank without getting error?

Ain't it possible to use an external style sheet? Or does that require a lot of modification of the script?

The internal can become pretty big i'm afraid frown
Posted By: AllenAyres Re: is it possible to use .css??? - 03/26/2001 10:47 PM
you can link to it in your headerinsert box the same way you would into any other html page. we do it here...
Posted By: Feronide Re: is it possible to use .css??? - 03/26/2001 11:19 PM
this is soo easy...

in your header type this:


Code
code:

laugh laugh
Posted By: ozzie Re: is it possible to use .css??? - 03/26/2001 11:40 PM
smile..glad to hear it's easy...

And what must i do with 'style settings' in my cp.html? ( Miscellaneous Graphic Options)

Just make the font related boxes blank?? or leave everything the way it is.
Posted By: Jamin Re: is it possible to use .css??? - 03/26/2001 11:46 PM
Leave everything else as it is. It will (should, at least) get overwritten by the page-wide CSS settings.

---Skorpion
Posted By: ozzie Re: is it possible to use .css??? - 03/26/2001 11:52 PM
aight...thanks everyone!!!

I'll get back if it does not work...but i doubt that laugh

Peace
© UBB.Developers