English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories




Website
h1
{
background-image:
url('bg.jpg');
}



Website






It is showing the code but not the effects plz help

2007-06-26 12:29:32 · 2 answers · asked by jrobuck13 2 in Computers & Internet Programming & Design

2 answers

You need the following before h1

Just before

Otherwise the browsers dont know that is CSS.
Be sure bg.jpg is in the same directory has your HTML file.

2007-06-26 12:56:16 · answer #1 · answered by Tracy L 7 · 1 0

you have to put the CSS inside tags. also is a good idea to put type="text/css" as an attribute in the starting

2007-06-26 19:59:05 · answer #2 · answered by hrothgarthegeat 2 · 0 0

fedest.com, questions and answers