Can I do this via css instead of html?

Discussion in 'HTML' started by nelly-knowall, Mar 16, 2006.

  1. I am just about ok with html. Much less so with css. I have however used a
    style sheet to link most of the pages in my website
    --
    Website http://www.tbandu.co.uk (TBandU short for Tuberculosis and You)

    My question is:
    I would like to add the following code for a visitor counter to my site

    <!-- Start of StatCounter Code -->
    <script type="text/JavaScript" language="JavaScript">
    var sc_project=2736896;
    var sc_invisible=0;
    var sc_partition=0;
    var sc_security="";
    </script>

    <script type="text/JavaScript" language="JavaScript"
    src="http://www.statcounter.com/counter/counter.js"></script><noscript><a
    href="http://www.statcounter.com/" target="_blank"><img
    src="http://c1.statcounter.com/counter.php?sc_project=273686&amp;java=0&amp;security=&amp;invisible=0"
    alt="free web stats" border="0"></a> </noscript>
    <!-- End of StatCounter Code -->


    Is it possible to add it to my stylesheet? and if so how. Or will I have to
    manually add it to html in every page?
    Please bear in mind I am probably a 3 out of 10 in understanding css so
    please keep replies "in english"
    Thanks very much in advance and hope you never have to use my site!!!!
    nelly-knowall, Mar 16, 2006
    #1
    1. Advertising

  2. In article <dvai4p$jm3$>,
    "nelly-knowall" <> wrote:

    > Is it possible to add it to my stylesheet? and if so how.


    No.

    > Or will I have to
    > manually add it to html in every page?


    No. See <http://allmyfaqs.net/faq.pl?Include_one_file_in_another>

    leo

    --
    <http://web0.greatbasin.net/~leo/>
    Leonard Blaisdell, Mar 16, 2006
    #2
    1. Advertising

  3. nelly-knowall

    Arne Guest

    Once upon a time *nelly-knowall* wrote:
    > I am just about ok with html. Much less so with css. I have however used a
    > style sheet to link most of the pages in my website


    Statcounter have a support forum of their own, if you have trouble with
    the counter code: http://forum.statcounter.com/vb/

    P.S. Just curious, why do you write most of the message belove the sig
    delimiter?

    --
    /Arne

    Why bottom-posting is better than top-posting
    http://www.caliburn.nl/topposting.html
    Arne, Mar 16, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Titus A Ducksass - AKA broken-record
    Replies:
    6
    Views:
    637
    Titus A Ducksass - AKA broken-record
    Nov 15, 2004
  2. Replies:
    1
    Views:
    436
    Willem
    Jun 9, 2006
  3. Replies:
    0
    Views:
    635
  4. dorayme
    Replies:
    5
    Views:
    374
    dorayme
    Mar 8, 2009
  5. Julie Siebel
    Replies:
    4
    Views:
    128
    Dr John Stockton
    Feb 25, 2004
Loading...

Share This Page