473,386 Members | 1,785 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Can someone examine this link and tell me whats wrong?

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
7 2210
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
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
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
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
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
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Aaron Bertrand - MVP | last post by:
Based on a complaint that one of my articles just links to the MS documentation, I'm writing a tutorial on FileSystemObject. However I'm currently getting stalled by this bug. Environment:...
6
by: What-a-Tool | last post by:
I'm going out out of my mind trying to get this to work with no luck. The error message I get is at the bottom. Can someone please tell me what I'm doing wrong here. I've tried this a million...
1
by: zach | last post by:
Okay this is kind of an update/revision of what I posted before. My problem was that when I click on a picture that is supposed to open in a new window it never does. I tried downloading a newer...
2
by: Rtritell | last post by:
I dont get whats wrong with this <html> <head> <title>Random Mad Lib!</title> <script language="JavaScript"> <!-- Hide
6
by: Helmut Giese | last post by:
Hello out there, I am a rather experienced C programmer. However, today I got a javascript assignment because someone left (something like: "You're a great programmer - you'll handle this.") and I...
2
by: Robert W. | last post by:
I'm trying to write a utility that will use Reflection to examine any data model I pass it and correctly map out this model into a tree structure. When I say "any" , in fact there will only be 3...
26
by: Mica Cooper | last post by:
Hi, I need to pass some info in a javascript submit. <a href="javascript:document.formName.submit();">Submit Form</a> Normally a link would do page.jsp?x1=1&x2=2&x3=3 and you would pull x1,...
4
by: sparks | last post by:
I was doing this on a form to use a keydown event If ActiveControl.ControlType = acComboBox Then Well for some reason in a different database it would not work. It must have been a library or...
1
by: readnlearn | last post by:
Hii here is the program for check availabilty of username in registeration page can u please tell me whts wrong with this and i cannt get the exact format which i want to.. please give sample code...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.