Page 1 of 1

CSS noob questions

Posted: Mon Jul 26, 2004 2:00 pm
by Calimero
I never used CSS so just a few of noobies Q's:

1. Is CSS used to insert graphic design code (fonts, background colors, styles etc...) / if not, is there any way to store graphics and styles code separately from the page and "call it" when the page loads

2. Can the CSS be stored in a separate file to be called in the html or php file in the same way as php include function (I don't mean the exact syntax, just the same method of inserting it into the page (file) that needs it)

3. The idea is to put all graphics on to a "strong" link because I host my own site and all data in the CSS I would put on good but cheap hosting with strong links so my visitors pull this balast of kb from there instead from me. Is this good point to consider.

4. I had some other Q's but writing these pushed out others :) when if I remember them, I'll post'em in reply

If replying, please reffer to the number you reply to, Thanks !

Posted: Mon Jul 26, 2004 2:03 pm
by feyd
CSS is client-side.

Moving to Client-side

...

Posted: Mon Jul 26, 2004 2:05 pm
by Calimero
Sorry, thats my knowledga about CSS :D

Posted: Mon Jul 26, 2004 2:09 pm
by feyd
  1. CSS can ask the browser to show some graphics, change fonts, alter the positioning of elements, quite a few things.
  2. yes, CSS can be stored in a seperate file

    Code: Select all

    <html>
    <head>
    <meta rel="stylesheet" href="somefile.css" />
    </head>

Posted: Mon Jul 26, 2004 2:10 pm
by jtc970
1. yes
2. yes
ex:

Code: Select all

<style type='text/css' media="all">
@import url(http://site.com/style.css);
</style>


don't know about 3?

Posted: Mon Jul 26, 2004 3:32 pm
by Draco_03
I might sound stupid but what is a "strong" link?

Posted: Mon Jul 26, 2004 3:45 pm
by johnperkins21

...

Posted: Mon Jul 26, 2004 3:56 pm
by Calimero
weak VS strong link

weak from 64 kb/s till 512 kb/s

strong links above 512 kb/s till 1 gb /s on very good hosting's and ISP's

:wink: