By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,805 Members | 1,056 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,805 IT Pros & Developers. It's quick & easy.

Can someone examine this link and tell me whats wrong?

P: n/a
It's a simple test... VERY SIMPLE. But...

In an external stlyesheet some attributes don't show. With the same
styles cut and pasted to the test internally it works as expected.

Anyone tell me why? Its probably sooooooo obvious, but it is 1.19 am!

Thanks.

www.thunderin.co.uk/
--
The Source For Premium Newsgroup Access
Great Speed, Great Retention
1 GB/Day for only $8.95
Mar 17 '06 #1
Share this Question
Share on Google+
7 Replies


P: n/a
Deciding to do something for the good of humanity, Mike Barnard
<m.****************@thunderin.co.uk> declared in
comp.infosystems.www.authoring.stylesheets:
In an external stlyesheet some attributes don't show. With the same
styles cut and pasted to the test internally it works as expected.


http://jigsaw.w3.org/css-validator/v...uk%2Ftest1.css
http://tinyurl.com/ed8ot

Take the HTML out of the CSS file.

--
Mark Parnell

Now implementing http://blinkynet.net/comp/uip5.html
Mar 17 '06 #2

P: n/a
On Fri, 17 Mar 2006 12:24:58 +1100, Mark Parnell
<we*******@clarkecomputers.com.au> wrote:
Deciding to do something for the good of humanity, Mike Barnard
<m.****************@thunderin.co.uk> declared in
comp.infosystems.www.authoring.stylesheets:
In an external stlyesheet some attributes don't show. With the same
styles cut and pasted to the test internally it works as expected.


http://jigsaw.w3.org/css-validator/v...uk%2Ftest1.css
http://tinyurl.com/ed8ot

Take the HTML out of the CSS file.


Ridiculously, I thought about validation about 30 seconds after I shut
down the PC. Then I went to bed. Sigh.

Thanks for taking the time to look, I really do appreciate it. I said
it was something obvious.

As an aside, I used topstyle lite to enter the css code. This makes
me think that I should not bother buying the pro version! Anyone use
it?
--
The Source For Premium Newsgroup Access
Great Speed, Great Retention
1 GB/Day for only $8.95
Mar 17 '06 #3

P: n/a
On Fri, 17 Mar 2006 01:19:44 +0000, Mike Barnard
<m.****************@thunderin.co.uk> wrote:
It's a simple test... VERY SIMPLE. But...

In an external stlyesheet some attributes don't show. With the same
styles cut and pasted to the test internally it works as expected.

Anyone tell me why? Its probably sooooooo obvious, but it is 1.19 am!

Thanks.

www.thunderin.co.uk/


Hmmm. Still don't see whats wrong! The line that doesn't validate
is...

#header{ background-color: Fuchsia; color: White; }

Breaking it down using the following links to confirm my thoughts
http://www.w3schools.com/css/pr_background-color.asp

#header{ - defines an id for an element.

background-color: - correctly spelled and with the seperating colon in
place

Fuchsia - a colour name. This is a legal css element according to
this link
http://www.w3schools.com/css/css_colornames.asp

; - correctly seperated from the next part of the line by a semicolon

color: - correctly spelled and with the seperating colon
http://www.w3schools.com/css/pr_text_color.asp

White; - again, a legal css colour name.

} - closing bracket.


OK, open my blind eyes please? Why doesn't this VERY BASIC line
validate and why does it work when it's put in the body of the
document?

I really want to find out for myself but can't see whats wrong!
Grrrrrr. Unless, this line really is OK but it's broken by something
above or below it? Off to look.
--
The Source For Premium Newsgroup Access
Great Speed, Great Retention
1 GB/Day for only $8.95
Mar 17 '06 #4

P: n/a
On Fri, 17 Mar 2006 01:19:44 +0000, Mike Barnard
<m.****************@thunderin.co.uk> wrote:

ARRRRRGGGGGGHHHHHHHH!

I'm off to whip myself with some birchtwigs for a loooooong time!

<fx>quietly deletes the style tags from the css file...
--
The Source For Premium Newsgroup Access
Great Speed, Great Retention
1 GB/Day for only $8.95
Mar 17 '06 #5

P: n/a
Mike Barnard wrote:

As an aside, I used topstyle lite to enter the css code. This makes
me think that I should not bother buying the pro version!
I would agree.
Anyone use it?


I code my CSS by hand, and now you see why :)
Mar 17 '06 #6

P: n/a
In message <12*************@corp.supernews.com>, Tony
<to****@dslextreme.WHATISTHIS.com> writes
Mike Barnard wrote:
As an aside, I used topstyle lite to enter the css code. This makes
me think that I should not bother buying the pro version!


I would agree.
Anyone use it?


I code my CSS by hand, and now you see why :)


That's how you use Topstyle Pro... great product. The only editor you
need for html/xhtml and for CSS.
--
Chris Hughes
"Reality is that which, when you cease to believe, continues to exist."
http://www.epicure.demon.co.uk
Mar 17 '06 #7

P: n/a
Chris Hughes wrote:
In message <12*************@corp.supernews.com>, Tony
<to****@dslextreme.WHATISTHIS.com> writes

I code my CSS by hand, and now you see why :)

That's how you use Topstyle Pro... great product. The only editor you
need for html/xhtml and for CSS.


Why bother? I have a good (free) text editor. That's all you need, if
you can code HTML & CSS manually...
Mar 17 '06 #8

This discussion thread is closed

Replies have been disabled for this discussion.