HighDots Forums  

Can someone examine this link and tell me whats wrong?

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Can someone examine this link and tell me whats wrong? in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Mike Barnard
 
Posts: n/a

Default Can someone examine this link and tell me whats wrong? - 03-16-2006 , 07:19 PM






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

Reply With Quote
  #2  
Old   
Mark Parnell
 
Posts: n/a

Default Re: Can someone examine this link and tell me whats wrong? - 03-16-2006 , 07:24 PM






Deciding to do something for the good of humanity, Mike Barnard
<m.barnard.trousers (AT) thunderin (DOT) co.uk> declared in
comp.infosystems.www.authoring.stylesheets:

Quote:
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


Reply With Quote
  #3  
Old   
Mike Barnard
 
Posts: n/a

Default Re: Can someone examine this link and tell me whats wrong? - 03-17-2006 , 02:39 AM



On Fri, 17 Mar 2006 12:24:58 +1100, Mark Parnell
<webmaster (AT) clarkecomputers (DOT) com.au> wrote:

Quote:
Deciding to do something for the good of humanity, Mike Barnard
m.barnard.trousers (AT) thunderin (DOT) 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


Reply With Quote
  #4  
Old   
Mike Barnard
 
Posts: n/a

Default Re: Can someone examine this link and tell me whats wrong? - 03-17-2006 , 03:38 AM



On Fri, 17 Mar 2006 01:19:44 +0000, Mike Barnard
<m.barnard.trousers (AT) thunderin (DOT) co.uk> wrote:

Quote:
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


Reply With Quote
  #5  
Old   
Mike Barnard
 
Posts: n/a

Default Re: Can someone examine this link and tell me whats wrong? - 03-17-2006 , 03:45 AM



On Fri, 17 Mar 2006 01:19:44 +0000, Mike Barnard
<m.barnard.trousers (AT) thunderin (DOT) 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

Reply With Quote
  #6  
Old   
Tony
 
Posts: n/a

Default Re: Can someone examine this link and tell me whats wrong? - 03-17-2006 , 12:11 PM



Mike Barnard wrote:
Quote:
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.

Quote:
Anyone use it?
I code my CSS by hand, and now you see why


Reply With Quote
  #7  
Old   
Chris Hughes
 
Posts: n/a

Default Re: Can someone examine this link and tell me whats wrong? - 03-17-2006 , 03:16 PM



In message <121lur493sik983 (AT) corp (DOT) supernews.com>, Tony
<tony23 (AT) dslextreme (DOT) WHATISTHIS.com> writes
Quote:
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


Reply With Quote
  #8  
Old   
Tony
 
Posts: n/a

Default Re: Can someone examine this link and tell me whats wrong? - 03-17-2006 , 03:38 PM



Chris Hughes wrote:
Quote:
In message <121lur493sik983 (AT) corp (DOT) supernews.com>, Tony
tony23 (AT) dslextreme (DOT) 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...


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.