Go to Post If you are stupid about this and violate the rules, and thereby cause your alliance to lose a match, then your alliance partners will gang up on you and violate your robot. - dlavery [more]
Home
Go Back   Chief Delphi > Technical > Technical Discussion
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 24-04-2002, 11:37
Quain's Avatar
Quain Quain is offline
Dave - The King
#0357 (Royal Assault)
 
Join Date: Feb 2002
Location: Philadelphia, PA
Posts: 261
Quain is an unknown quantity at this point
Send a message via AIM to Quain
CSS/Webpage Help

OK, I need some CSS help and i didn't know where else to go. I am currently making a website using Macromedias Dreamweaver for my team and want to do the colored scroll bad (like the ones on here that are orange.) Well, i have NO idea where to start, and i tried copying code and i have no idea where to put it, I try reading texts and asking other people, and no one knows. If anyone can help me, please IM me on aim or just leave a message here, thanks!

-Dave
__________________
  • Semi-Finalist AND Seeded 6th @ the Lone Star Regional in Houston, TX.
  • Received "Leadership In Control Award" @ Lone Star Regional in Houston, TX
  • Quarter-Finalist @ Philly Alliance Regional in Philadelphia, PA
  • Quarter Finalist in Curie Division @ Disney Finals in Florida
  • Received Delphi's "Driving Technology of Tomorrow" @ Disney Finals in Florida
Contact
Aim: SnoManX
http://www.first.udsd.k12.pa.us
  #2   Spotlight this post!  
Unread 24-04-2002, 22:10
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Re: CSS/Webpage Help

Quote:
Originally posted by Quain
OK, I need some CSS help and i didn't know where else to go. I am currently making a website using Macromedias Dreamweaver for my team and want to do the colored scroll bad (like the ones on here that are orange.)
Hi Dave,

I've played around with CSS just a little. Nothing fancy, but here is what I have. My CSS file (GWRBoard.css) contains the following:
PHP Code:
body {
    
background-imageurl(/GWRBoard/space.jpg);
    
background-color#000033;
    
font-family:VerdanaArial;
    
color#FFFF33;
    
font-size:small;
}

input {  font-family"Courier New"Couriermonofont-size10pt}

A:link {
    
color#33CC33;
}
A:visited {
    
color#99CC99;
}
A:hover    {
    
color#FF0033;

Then in the <head> section of each page I have a line that says:
PHP Code:
<LINK type="text/css" rel="stylesheet" href="GWRBoard.css"
If you take a look at the source for one of CD's pages, you will see that they inline the CSS code inside the <head> block on each page:
PHP Code:
<style type="text/css">
BODY {
    
scrollbar-face-color#FF8800; 
    
scrollbar-shadow-color#FF6600; 
    
scrollbar-highlight-color#FF8800; 
    
scrollbar-3dlight-color#FF8800;
    
scrollbar-darkshadow-color#000000; 
    
scrollbar-track-color#dddddd; 
    
scrollbar-arrow-color#000000; }
SELECT {
    
FONT-FAMILYVerdana,Arial,Helvetica,sans-serif;
    
FONT-SIZE11px;
    
COLOR#000000;
    
BACKGROUND-COLOR#CFCFCF
}
TEXTAREA, .bginput {
    
FONT-SIZE12px;
    
FONT-FAMILYVerdana,Arial,Helvetica,sans-serif;
    
COLOR#000000;
    
BACKGROUND-COLOR#CFCFCF
}
#all A:link, #all A:visited, #all A:active {
    
COLOR#0000AA;
}
#all A:hover {
    
COLOR#FF8800;
}
#sitelink A:hover {
    
COLOR#FFFFFF;
}
#sitelink A:link {
    
COLOR#000000;
}
#cat A:link, #cat A:visited, #cat A:active {
    
COLOR#FF8800;
    
TEXT-DECORATIONnone;
}
#cat A:hover {
    
COLOR#FF8800;
    
TEXT-DECORATIONunderline;
}
#ltlink A:link, #ltlink A:visited, #ltlink A:active {
    
COLOR#0000AA;
    
TEXT-DECORATIONnone;
}
#ltlink A:hover {
    
COLOR#FF8800;
    
TEXT-DECORATIONunderline;
}
.
thtcolor {
    
COLOR#000000;
}

#cdm {
    
FONT-WEIGHTbold;
    
FONT-SIZE10px
    
COLOR#445669; 
    
FONT-FAMILYarialhelveticasans-serif
    
TEXT-DECORATIONnone
}
#cdm A.forummenu:link {
    
FONT-WEIGHTbold
    
FONT-SIZE11px
    
COLOR#000000; 
    
FONT-FAMILYarialhelveticasans-serif
    
TEXT-DECORATIONunderline;
}
#cdm A.forummenu:visited {
    
FONT-WEIGHTbold
    
FONT-SIZE11px
    
COLOR#000000; 
    
FONT-FAMILYarialhelveticasans-serif
    
TEXT-DECORATIONunderline;
}
#cdm A.forummenu:hover {
    
FONT-WEIGHTbold
    
FONT-SIZE11px
    
COLOR#FFFFFF; 
    
FONT-FAMILYarialhelveticasans-serif
    
TEXT-DECORATIONnone
}
#cdm A.forummenu:active {
    
FONT-WEIGHTbold
    
FONT-SIZE11px
    
COLOR#FFFFFF; 
    
FONT-FAMILYarialhelveticasans-serif
    
TEXT-DECORATIONnone
}
#hann {
    
FONT-WEIGHTbold;
    
FONT-SIZE18px
    
COLOR#000000; 
    
FONT-FAMILYarialhelveticasans-serif
    
TEXT-DECORATIONnone
}

.
nf font-familyverdanaarialhelveticasans-seriffont-size10pt }
.
sf font-familyverdanaarialhelveticasans-seriffont-size10px }
.
lf font-familyverdanaarialhelveticasans-seriffont-size10ptfont-weight:bold }

</
style
You can do it either way, but I prefer the linked style sheet so if I decide to change my style, I only have to change it in one place.

Does that answer your question?
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #3   Spotlight this post!  
Unread 24-04-2002, 22:38
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
Yup. Thats how I would've answered.

You can get help on CSS at webmonkey.com (as well as HTML, JavaScript, and more)..

or dont hesitate to ask here, someone will know the answer
__________________
Brandon Martus
e-mail
  #4   Spotlight this post!  
Unread 26-04-2002, 18:49
Ryan Curry Ryan Curry is offline
Registered User
FRC #0030 (FURY)
Team Role: Driver
 
Join Date: Dec 2001
Rookie Year: 1999
Location: Lincroft, NJ
Posts: 71
Ryan Curry is on a distinguished road
Send a message via AIM to Ryan Curry
Chekc my code

http://www.hthsfury.org, just steal my source code and change the colors as you want them!
  #5   Spotlight this post!  
Unread 03-05-2002, 11:32
Quain's Avatar
Quain Quain is offline
Dave - The King
#0357 (Royal Assault)
 
Join Date: Feb 2002
Location: Philadelphia, PA
Posts: 261
Quain is an unknown quantity at this point
Send a message via AIM to Quain
OK.. so all u CSS Guru's.. i need some help.. where wut i'm pasting into my html...

Code:
<style type="text/css">
BODY {
    scrollbar-face-color: #781276; 
    scrollbar-shadow-color: #FFFFFF; 
    scrollbar-highlight-color: #781276; 
    scrollbar-3dlight-color: #781276;
    scrollbar-darkshadow-color: #000000; 
    scrollbar-track-color: #56527A; 
    scrollbar-arrow-color: #000000; }
that makes it purpley and such, yea.. grand.. now.. my problem is... I put it after the title and meta tags... and when its in there.. it stops after it loads the scroll bar. It dosn't load any of the content after that... I have no idea wut i did wrong? any suggestion...

If its easier, feel free to im me on the aim SN: SnoManX
__________________
  • Semi-Finalist AND Seeded 6th @ the Lone Star Regional in Houston, TX.
  • Received "Leadership In Control Award" @ Lone Star Regional in Houston, TX
  • Quarter-Finalist @ Philly Alliance Regional in Philadelphia, PA
  • Quarter Finalist in Curie Division @ Disney Finals in Florida
  • Received Delphi's "Driving Technology of Tomorrow" @ Disney Finals in Florida
Contact
Aim: SnoManX
http://www.first.udsd.k12.pa.us
  #6   Spotlight this post!  
Unread 03-05-2002, 12:17
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
did you close the style tag?

PHP Code:
</style
__________________
Brandon Martus
e-mail
  #7   Spotlight this post!  
Unread 03-05-2002, 19:09
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Quote:
Originally posted by Brandon Martus
did you close the style tag?
That was going to be my guess too.
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #8   Spotlight this post!  
Unread 03-05-2002, 23:49
Quain's Avatar
Quain Quain is offline
Dave - The King
#0357 (Royal Assault)
 
Join Date: Feb 2002
Location: Philadelphia, PA
Posts: 261
Quain is an unknown quantity at this point
Send a message via AIM to Quain
hah.. no.. i'm a fool.. but i'm learning.. i forgot u gotta close stuff like that.... thx guys...
__________________
  • Semi-Finalist AND Seeded 6th @ the Lone Star Regional in Houston, TX.
  • Received "Leadership In Control Award" @ Lone Star Regional in Houston, TX
  • Quarter-Finalist @ Philly Alliance Regional in Philadelphia, PA
  • Quarter Finalist in Curie Division @ Disney Finals in Florida
  • Received Delphi's "Driving Technology of Tomorrow" @ Disney Finals in Florida
Contact
Aim: SnoManX
http://www.first.udsd.k12.pa.us
  #9   Spotlight this post!  
Unread 06-05-2002, 10:15
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
It should work the same way, with all CSS in the same file.

Only certain browsers support the scroll-bar modifications though.
I'm pretty sure older 4.x versions of Netscape do not support it, along with Macintosh browsers.

[weird, this is a reply to the post below ... interesting how he posted in the future..]
__________________
Brandon Martus
e-mail
  #10   Spotlight this post!  
Unread 06-05-2002, 11:10
Quain's Avatar
Quain Quain is offline
Dave - The King
#0357 (Royal Assault)
 
Join Date: Feb 2002
Location: Philadelphia, PA
Posts: 261
Quain is an unknown quantity at this point
Send a message via AIM to Quain
Alright... Can you link in the code for the scroll bar? My example code is below...

Code:
<link rel="stylesheet" href="robotics.css" type="text/css">
I got the link to work with other type of css such as the body and the headers... but not the scroll bar.. i'm not sure if its possible?? *shrug* Not many sites are available to help with the scroll bar problems..
__________________
  • Semi-Finalist AND Seeded 6th @ the Lone Star Regional in Houston, TX.
  • Received "Leadership In Control Award" @ Lone Star Regional in Houston, TX
  • Quarter-Finalist @ Philly Alliance Regional in Philadelphia, PA
  • Quarter Finalist in Curie Division @ Disney Finals in Florida
  • Received Delphi's "Driving Technology of Tomorrow" @ Disney Finals in Florida
Contact
Aim: SnoManX
http://www.first.udsd.k12.pa.us
  #11   Spotlight this post!  
Unread 06-05-2002, 14:52
Quain's Avatar
Quain Quain is offline
Dave - The King
#0357 (Royal Assault)
 
Join Date: Feb 2002
Location: Philadelphia, PA
Posts: 261
Quain is an unknown quantity at this point
Send a message via AIM to Quain
it dosn't work.. I have NO idea why... i've heard it should work.. but i don't know...
__________________
  • Semi-Finalist AND Seeded 6th @ the Lone Star Regional in Houston, TX.
  • Received "Leadership In Control Award" @ Lone Star Regional in Houston, TX
  • Quarter-Finalist @ Philly Alliance Regional in Philadelphia, PA
  • Quarter Finalist in Curie Division @ Disney Finals in Florida
  • Received Delphi's "Driving Technology of Tomorrow" @ Disney Finals in Florida
Contact
Aim: SnoManX
http://www.first.udsd.k12.pa.us
  #12   Spotlight this post!  
Unread 06-05-2002, 20:02
Greg Ross's Avatar
Greg Ross Greg Ross is offline
Grammar Curmudgeon
AKA: gwross
FRC #0330 (Beach 'Bots)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Hermosa Beach, CA
Posts: 2,245
Greg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond reputeGreg Ross has a reputation beyond repute
Send a message via AIM to Greg Ross Send a message via Yahoo to Greg Ross
Quote:
Originally posted by Quain
it dosn't work.. I have NO idea why... i've heard it should work.. but i don't know...
The difference between linking an external stylesheet and inlining it is the <style> tag. You only need it if it is inlined.
__________________
Greg Ross (The Grammar Curmudgeon formerly known as gwross)
S/W Engineer, Team 330, the Beach 'Bots
<--The Grammar Curmudgeon loves this cartoon.
“Life should not be a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside in a cloud of smoke, thoroughly used up, totally worn out, and loudly proclaiming "Wow! What a Ride!" Hunter S. Thompson
"Playing a practical joke means doing something mean and calling it funny." Me
  #13   Spotlight this post!  
Unread 07-05-2002, 11:35
Quain's Avatar
Quain Quain is offline
Dave - The King
#0357 (Royal Assault)
 
Join Date: Feb 2002
Location: Philadelphia, PA
Posts: 261
Quain is an unknown quantity at this point
Send a message via AIM to Quain
If i have the style tag... it dosn't work.. if i don't have the style tag, it dosn't work. Heres the exact process i'm doing...

-I'm making it in Macromedias Dreamweaver 4. It has a CSS tab.. i import the file as a Link Rel and the file only describes the scroll bar colors. The colors don't change.. they stay normal. I took the code from another site and changed it to my specs... my paths. .etc.. and it still dosn't work... Tho.. if i paste the code inline, it works fine... *shrug*
__________________
  • Semi-Finalist AND Seeded 6th @ the Lone Star Regional in Houston, TX.
  • Received "Leadership In Control Award" @ Lone Star Regional in Houston, TX
  • Quarter-Finalist @ Philly Alliance Regional in Philadelphia, PA
  • Quarter Finalist in Curie Division @ Disney Finals in Florida
  • Received Delphi's "Driving Technology of Tomorrow" @ Disney Finals in Florida
Contact
Aim: SnoManX
http://www.first.udsd.k12.pa.us
  #14   Spotlight this post!  
Unread 07-05-2002, 11:49
Brandon Martus's Avatar Unsung FIRST Hero
Brandon Martus Brandon Martus is offline
busy.
AKA: B. Slash Kamen
no team
 
Join Date: May 2001
Rookie Year: 1998
Location: Nevada, TX USA
Posts: 5,271
Brandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond reputeBrandon Martus has a reputation beyond repute
Send a message via ICQ to Brandon Martus Send a message via AIM to Brandon Martus Send a message via Yahoo to Brandon Martus
post a link and I'll take a look at it...

it'll be easier to help with something to look at
__________________
Brandon Martus
e-mail
  #15   Spotlight this post!  
Unread 07-05-2002, 16:20
Quain's Avatar
Quain Quain is offline
Dave - The King
#0357 (Royal Assault)
 
Join Date: Feb 2002
Location: Philadelphia, PA
Posts: 261
Quain is an unknown quantity at this point
Send a message via AIM to Quain
alright.. i'll try and get one soon... I unfortunately can't upload to our normal comp server.. *sigh* but i'm workin on it.. thx in advance for helping..
__________________
  • Semi-Finalist AND Seeded 6th @ the Lone Star Regional in Houston, TX.
  • Received "Leadership In Control Award" @ Lone Star Regional in Houston, TX
  • Quarter-Finalist @ Philly Alliance Regional in Philadelphia, PA
  • Quarter Finalist in Curie Division @ Disney Finals in Florida
  • Received Delphi's "Driving Technology of Tomorrow" @ Disney Finals in Florida
Contact
Aim: SnoManX
http://www.first.udsd.k12.pa.us
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:14.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi