|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
if both the *.css and the *.html are in the same directory, try this.
<link rel='stylesheet' href='meuestilo.css' type='text/css'> |
|
#3
|
|||
|
|||
|
<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 |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > problem with css !! |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|