View Single Post
04-09-2013, 12:29 PM
#1
divakar_web is offline divakar_web
Status: I'm new around here
Join date: Apr 2013
Location:
Expertise:
Software:
 
Posts: 1
iTrader: 0 / 0%
 

divakar_web is on a distinguished road

  Old  src, href and import is not working

Hi Folks,

1. src - image is not loading in firefox when i used <img src>. loading in chrome and IE.

2. href - it is not working while i am trying to add css file externally.

mystyle.css

h1, h2, h3 {
color: #36C;
font-weight: normal;
letter-spacing: .4em;
margin-bottom: 1em;
text-transform: lowercase;
}

css.htm

<head>
<link type="text/css" href="C:\Divakar_Repository\html_learning\mystyle. css">
</head>
<h1>CHEcking the css style</h1>

but it is displaying the output as "CHEcking the css style" in black color.
actuallly the output should be as "checking the css style" in blue color.

3. import - it is not working.

import.htm

<head>
@import "C:\Divakar_Repository\html_learning\mystyle.c ss";
</head>
<h1> CHEking the css file </h1>

But it is returning the output as below.

@import "C:\Divakar_Repository\html_learning\mystyle.c ss";
CHEking the css file


Any help would be really appreciated.

Thank you....

Reply With Quote