This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > September 2005 > Confused





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Confused
Lee

2005-09-26, 6:49 pm

I created a seperate .css file to control to html pages. It works for one
page, but not the other? Could anyone tell me a possible reason for this? I
made sure the

<link rel="stylesheet" href="webstyle.css">
is exactaly the same in both html pages.


Darin McGrew

2005-09-26, 6:49 pm

In article <RnWZe.10225$eH2.8992@fe02.lga>, Lee <leespires@charter.net> wrote:
> I created a seperate .css file to control to html pages. It works for one
> page, but not the other? Could anyone tell me a possible reason for this? I
> made sure the
>
> <link rel="stylesheet" href="webstyle.css">
> is exactaly the same in both html pages.


Something else is different between the two pages, and is causing the
different behavior.

Of course, without URLs, it's hard to say what that might be...
--
Darin McGrew, mcgrew@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, darin@htmlhelp.com, http://www.HTMLHelp.com/

"There are three kinds of people: those who can count and those who can't."
Spartanicus

2005-09-26, 6:49 pm

"Lee" <leespires@charter.net> wrote:

>I created a seperate .css file to control to html pages. It works for one
>page, but not the other? Could anyone tell me a possible reason for this? I
>made sure the
>
><link rel="stylesheet" href="webstyle.css">
> is exactaly the same in both html pages.


Mystic Meg is currently on vacation, and wouldn't you know it the witch
has taken the crystal ball with her. (hint: provide the urls to the
pages)

--
Spartanicus
PDannyD

2005-09-26, 6:49 pm

On Monday 26 September 2005 18:40, Lee(leespires@charter.net) wrote in
message <RnWZe.10225$eH2.8992@fe02.lga>

> I created a seperate .css file to control to html pages. It works for one
> page, but not the other? Could anyone tell me a possible reason for this?
> I made sure the
>
> <link rel="stylesheet" href="webstyle.css">
> is exactaly the same in both html pages.


Are both HTML files in the same folder?

Try copying-n-pasting the working tag to the non-working page in case it's a
tiny error which is not immediately obvious.

Point your pages at http://validator.w3.org/ and see what errors it throws
back at you. There may be a missing > or " prior to the CSS link which is
screwing things up.
Stephane Roux (HAbeTT)

2005-09-26, 6:49 pm

In <RnWZe.10225$eH2.8992@fe02.lga>, Lee wrote:

> I created a seperate .css file to control to html pages. It works for one
> page, but not the other? Could anyone tell me a possible reason for this? I
> made sure the
>
> <link rel="stylesheet" href="webstyle.css">
> is exactaly the same in both html pages.


The path is relative, are the two html pages in the same directory.

Don't forget to add
type="text/css"


--
|":._.:"| http://habett.com/
| (=) | http://habett.org/
|\.:':./| Any one can be my master
Lee

2005-09-26, 6:49 pm

Files are in same directory. I checked everything three times over. I
created another html file (blank) that worked with the css, moved the
"contents" from the other into new one and is working now.. I dunno what the
prob was though.
"Lee" <leespires@charter.net> wrote in message
news:RnWZe.10225$eH2.8992@fe02.lga...
>I created a seperate .css file to control to html pages. It works for one
>page, but not the other? Could anyone tell me a possible reason for this? I
>made sure the
>
> <link rel="stylesheet" href="webstyle.css">
> is exactaly the same in both html pages.
>



'sNiek

2005-09-27, 3:30 am

Lee schreef:[color=darkred]
> Files are in same directory. I checked everything three times over. I
> created another html file (blank) that worked with the css, moved the
> "contents" from the other into new one and is working now.. I dunno what the
> prob was though.
> "Lee" <leespires@charter.net> wrote in message
> news:RnWZe.10225$eH2.8992@fe02.lga...
>

O URL Where Art Thou?

--
Niek
Lee

2005-09-27, 7:12 pm

If you would "look" sNiek, I said i got it fixed. Also, I work with my pages
"offline" on my computer and make sure they work properly before uploading
to the server. That is why there was/is no url given.


"'sNiek" <niekemmen@netscape.net> wrote in message
news:4338e99e$1@news.interstroom.nl...
> Lee schreef:
>
> O URL Where Art Thou?
>
> --
> Niek



'sNiek

2005-09-27, 7:12 pm

Lee schreef:
> If you would "look" sNiek, I said i got it fixed. Also, I work with my pages
> "offline" on my computer and make sure they work properly before uploading
> to the server. That is why there was/is no url given.



Oops, Thou Art Right! ;-)



--
Niek
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews