• Welcome to Valhalla Legends Archive.
 

How to use CSS?

Started by Croohm, December 30, 2002, 02:28 AM

Previous topic - Next topic

Croohm

Greetings
Can anyone tell me where to begin the ?css= if I want to change the font colors and font size in channelnameex, channellistex etc.

Yhx

Skywing

Sure.  http://www.w3.org/TR/REC-CSS2/ is the specification and should have all that you need.

Feel free to examine the default CSS (http://www.valhallalegends.com/skywing/include/styles.css) for examples.  The W3C Validator supports checking CSS as well as HTML and is handy for checking your work.

Croohm

#2
Cool, Thanks Skywing! Alot of good links there. Anyway, the next question is: Where do I put (start) the ?css= inside of the following string:
<FRAME name=frame_listex marginWidth=0 marginHeight=0 src="http://www.valhallalegends.com/skywing/isapi/BinaryChatISAPI.dll?channellistex=YourChannelList" frameBorder=0 noResize>
Let say that I would want to link to your default css. How should the result look like?

Skywing

QuoteCool, Thanks Skywing! Alot of good links there. Anyway, the next question is: Where do I put (start) the ?css= inside of the following string:
<FRAME name=frame_listex marginWidth=0 marginHeight=0 src="http://www.valhallalegends.com/skywing/isapi/BinaryChatISAPI.dll?channellistex=YourChannelList" frameBorder=0 noResize>
Let say that I would want to link to your default css. How should the result look like?
<FRAME name=frame_listex marginWidth=0 marginHeight=0 src="http://www.valhallalegends.com/skywing/isapi/BinaryChatISAPI.dll?channellistex=YourChannelList?css=http://www.valhallalegends.com/skywing/include/styles.css" frameBorder=0 noResize>

The ISAPI dll uses qmarks for extended parameter seperators everywhere except for ?sendtext where & is used for compatibility with the GET method for form submission.  A query string for POST might be added eventually, but it's not really a priority right now as GET is working fine.

You can use ?css= for all pages the ISAPI dll generates.  In addition, you can use ?width=(table width value) to change the channel table width for ?channelenum.

Grok

#4
To be really nifty, we may add support for completely subclassed elements so that you can change color and style of everything!

Croohm

#5
;D Thanks for the help. I think I found out the best look for our clan site. You can take a look of the result if u like. www.doomlords.com/ds

Its nice to know it is pros out there to help.
Thanks again!!.

warz

Looks nice, even though it takes forever to load.
And when I see the empty channel list, I almost feel
sorry for you, and the amount of time you wasted
creating that site... almost.

Etheran

#7
Very nice site, but warz is right.  :P

Croohm

#8
Hehe Dont feel Sorry for me,  ;D The reason for it being empty is for 2 reasons, We try to keep our channel free from other players (since yesterday when I start showing it of at the homepage) and because all members (95%) is inactive waiting for the patch 1.10. I can se why you think that I wasted the time but i know, I didnt.  ;D

Spht

#9
Quote;D Thanks for the help. I think I found out the best look for our clan site. You can take a look of the result if u like. www.doomlords.com/ds

Looks good. Nice use of WebBot/WebChannel and custom CSS to display channel information on your web site.

http://www.doomlords.com/demon-slayers/ds-chat-stream-mon.asp

Yoni

#10
Wow, someone's actually using the css option. ;)
Nice theme.

Croohm

#11
Thanks!!  :D, But now it dont work anymore. Getting some BNLS Error Connection is forcefully rejected  :'( :'(

kows

#12
QuoteSure.  http://www.w3.org/TR/REC-CSS2/ is the specification and should have all that you need.

Feel free to examine the default CSS (http://www.valhallalegends.com/skywing/include/styles.css) for examples.  The W3C Validator supports checking CSS as well as HTML and is handy for checking your work.
I clicked that 2nd link and something downloaded wtf?

warz

#13
I suggest downloading the Cleaner, as you now are trojaned. Foooooled you.... you just downloaded the style sheet.

kows

#14
how did he get to auto dload though?