Go to Post So, in the good old FIRST spirit, let's all start brainstorming and sharing ideas, ok? :D - LauraN [more]
Home
Go Back   Chief Delphi > Technical > IT / Communications > Website Design/Showcase
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 17-04-2007, 23:04
Gigaman2003 Gigaman2003 is offline
Registered User
AKA: Ben
FRC #1280 (The Raging Seabiscuits)
Team Role: Webmaster
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Singapore
Posts: 32
Gigaman2003 is on a distinguished road
Re: Tell me what you think...

Quote:
Originally Posted by Otaku View Post
I'm wondering... how can I make it so that .html files under different folders all access the same .css file? I don't want to have 7 or 8 copies of the same .css file on the website if I can help it.
explains the minimalist design.

you can use implicit or explicit paths in your external css declaration if you didnt know.

e.g.
if our structure was
./
../
-index.php
home/
-index.php
style/
-default.css

if you don't already know, you link to an external css file using

<style type="text/css" href="(place link here)" />

IMPLICIT
a file in /home would link to
../style/default.css

a file in / would link to
style/default.css

a file in /style would ink to
default.css

or you could just link to http://www.yoursite.com/style/default.css for simplicity, but sacrifice your site's portability.
__________________
Webmaster?
Think about making your next site a one.
PQL - The next generation flat-file Relational DBMS.

http://www.srvhsrobotics.org
Team 1280 - The Raging Seabiscuits
  #2   Spotlight this post!  
Unread 18-04-2007, 20:01
Otaku's Avatar
Otaku Otaku is offline
Where'd my wrench go?
AKA: Michael Baker
FRC #0675 (Tech High Phantom Robotics)
Team Role: College Student
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Underneath my car
Posts: 509
Otaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond repute
Send a message via AIM to Otaku Send a message via MSN to Otaku
Re: Tell me what you think...

Lets see if I can remember the tree...


/
-/divisions
--/manu
--/digi
-/07season
-/06season


so for something in /divisions/manu, would I do this:

<style type="text/css">@import"../../style.css";</style>

?
__________________

"The [Otaku] is a simple creature." "Indeed. I cease to function when removed from a mill."
  #3   Spotlight this post!  
Unread 19-04-2007, 09:31
Gigaman2003 Gigaman2003 is offline
Registered User
AKA: Ben
FRC #1280 (The Raging Seabiscuits)
Team Role: Webmaster
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Singapore
Posts: 32
Gigaman2003 is on a distinguished road
Re: Tell me what you think...

why not just <style type="text/css" href="../../style.css" /> ?

also this would only work if your style is in the root /
__________________
Webmaster?
Think about making your next site a one.
PQL - The next generation flat-file Relational DBMS.

http://www.srvhsrobotics.org
Team 1280 - The Raging Seabiscuits
  #4   Spotlight this post!  
Unread 19-04-2007, 23:25
Otaku's Avatar
Otaku Otaku is offline
Where'd my wrench go?
AKA: Michael Baker
FRC #0675 (Tech High Phantom Robotics)
Team Role: College Student
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Underneath my car
Posts: 509
Otaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond repute
Send a message via AIM to Otaku Send a message via MSN to Otaku
Re: Tell me what you think...

Uh, I was just copying what I wrote in the html files before, but no reason not to change it, really.

Yeah, the style.css will be in the root folder.


Thanks.


Also....

Check the link agian. I fixed some small content stuff (like the "I don't know who 177 is" part on the main page), and changed the style/header. It's blue-er now (to match our team's color scheme).

Once again, though...

http://robotics.gweaver.net
__________________

"The [Otaku] is a simple creature." "Indeed. I cease to function when removed from a mill."
  #5   Spotlight this post!  
Unread 20-04-2007, 10:25
pheadxdll pheadxdll is offline
Registered User
AKA: Alex
FRC #1225 (Amperage Robotics)
Team Role: Programmer
 
Join Date: Jan 2007
Rookie Year: 2006
Location: North Carolina
Posts: 168
pheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud ofpheadxdll has much to be proud of
Re: Tell me what you think...

Ew frames. Is their a need for them?
__________________
Amperage Robotics Team 1225
Site under-going revamp. :/
  #6   Spotlight this post!  
Unread 22-04-2007, 17:53
Gigaman2003 Gigaman2003 is offline
Registered User
AKA: Ben
FRC #1280 (The Raging Seabiscuits)
Team Role: Webmaster
 
Join Date: Feb 2007
Rookie Year: 2006
Location: Singapore
Posts: 32
Gigaman2003 is on a distinguished road
Re: Tell me what you think...

wonder what i was thinking, its <link rel="text/css" href="blah.css" />
my bad.
__________________
Webmaster?
Think about making your next site a one.
PQL - The next generation flat-file Relational DBMS.

http://www.srvhsrobotics.org
Team 1280 - The Raging Seabiscuits
  #7   Spotlight this post!  
Unread 22-04-2007, 17:59
Otaku's Avatar
Otaku Otaku is offline
Where'd my wrench go?
AKA: Michael Baker
FRC #0675 (Tech High Phantom Robotics)
Team Role: College Student
 
Join Date: Jan 2007
Rookie Year: 2006
Location: Underneath my car
Posts: 509
Otaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond reputeOtaku has a reputation beyond repute
Send a message via AIM to Otaku Send a message via MSN to Otaku
Re: Tell me what you think...

I'm just using the same code I had before. It works, so that's all that matters to me, really.

Thanks anyways. =]
__________________

"The [Otaku] is a simple creature." "Indeed. I cease to function when removed from a mill."
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tell me what you have (in games), please. 842.001 Games/Trivia 21 30-10-2006 15:05
**FIRST EMAIL**/Tell Autodesk What You Think! Take the Autodesk Survey AmyPrib FIRST E-Mail Blast Archive 2 12-06-2006 15:10
What do you think? sammie829 Chit-Chat 10 20-01-2006 10:02
What do you think BoyWithCape195 Regional Competitions 36 22-03-2004 11:00
So what do you think? Marygrace General Forum 12 06-05-2003 23:50


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

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