472,954 Members | 2,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,954 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 2191
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: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...

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.