#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    8
    Rep Power
    0
    I used a code CSS that is in the archive 'meuestilo.css', and made the following page in HTML:

    <html>
    <head>
    <link rel='stylesheet' href='../meuestilo.css' type='text/css'>
    </head>
    <body>
    <table width=100% cellpadding=5 class=menu ><tr><th class=titulo >Testando Estilos</th></tr></table>
    <br>
    <table width=100% cellpadding=5 class=menu><tr><th class=menu>novos estilos</th></tr></table>
    <br>
    <table width=100% cellpadding=5 class=subtitulo><tr><th class=subtitulo >outros estilos</th></tr></table>
    </body>
    </html>

    but it is not working, the 2 archives are in the same directory.
    what it can be wrong?
    help me


    ------------------
    thanks
    Junior
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    24
    Rep Power
    0
    if both the *.css and the *.html are in the same directory, try this.

    <link rel='stylesheet' href='meuestilo.css' type='text/css'>
  4. #3
  5. No Profile Picture
    worshipper of DOT
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Location
    Halmstad, Sweden
    Posts
    35
    Rep Power
    15
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by Junior:

    <link rel='stylesheet' href='../meuestilo.css' type='text/css'>
    [/quote]

    If 'meuestilo.css' is in the same directory as the html-file referring to it, it should be
    <link rel='stylesheet' href='meuestilo.css' type='text/css'>

    or

    <link rel='stylesheet' href='./meuestilo.css' type='text/css'>

    since '../' refers to the directory above the present one ..



    ------------------
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Linux, the operating system with a clue - Command Line User Environment.[/quote]

    geeee... thanks!

    /closecut

Similar Threads

  1. tooltips with css only (no javascript) - problem
    By tgrundy in forum JavaScript Development
    Replies: 8
    Last Post: July 7th, 2004, 04:15 PM
  2. Tables & CSS... Part 2 (Kinda)
    By coredumped in forum CSS Help
    Replies: 7
    Last Post: February 5th, 2004, 01:43 PM
  3. css alignment problem (re: divs)
    By brianellisrules in forum CSS Help
    Replies: 3
    Last Post: February 5th, 2004, 04:53 AM
  4. CSS Positioning - Agrivating Results
    By melsana in forum CSS Help
    Replies: 3
    Last Post: January 31st, 2004, 05:00 PM
  5. CSS padding problem
    By Phil_work in forum CSS Help
    Replies: 6
    Last Post: January 21st, 2004, 06:10 AM

IMN logo majestic logo threadwatch logo seochat tools logo