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

External stylesheet works in Firefox, not IE

P: n/a
This seemingly happened overnight.

http://www.chrisrapking.com

The styles that are inline work fine. Anything in the head does not
(which, if you notice, includes some styling information plus a link
to an external sheet named rapking.css)

Any thoughts?

Thanks!

Jan 29 '07 #1
Share this Question
Share on Google+
6 Replies


P: n/a
ch***********@gmail.com writes:
This seemingly happened overnight.

http://www.chrisrapking.com

The styles that are inline work fine. Anything in the head does not
(which, if you notice, includes some styling information plus a link
to an external sheet named rapking.css)

Any thoughts?
Validate your page:

<http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.chrisrapking. com%2F>

You are declaring an XHTML doctype. That means that your page must be written
to XML rules - all attributes must be quoted, and empty elements such as link
must be "self closing", like this:

<link rel="stylesheet" href="/rapking.css" type="text/css" />

You're also missing some required "alt" attributes on your images.

sherm--

--
Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net
Jan 29 '07 #2

P: n/a
Rik
Sherm Pendley <sp******@dot-app.orgwrote:
ch***********@gmail.com writes:
>This seemingly happened overnight.

http://www.chrisrapking.com

The styles that are inline work fine. Anything in the head does not
(which, if you notice, includes some styling information plus a link
to an external sheet named rapking.css)

Any thoughts?

Validate your page:

<http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.chrisrapking. com%2F>

You are declaring an XHTML doctype. That means that your page must be
written
to XML rules - all attributes must be quoted, and empty elements such as
link
must be "self closing", like this:

<link rel="stylesheet" href="/rapking.css" type="text/css" />

You're also missing some required "alt" attributes on your images.
Indeed, fix that first.

Also, what are you trying to do with: " clip: rect( );"?
--
Rik Wasmus
Jan 29 '07 #3

P: n/a
Thanks for the quick replies!

I closed the self-contained tags with the "/>" and fixed the
validation (except the ALT tags. We'll leave those alone for now; I
don't think thats my problem).

I think that Dreamweaver threw clip: rect(); declaration in there for
fun, because I did not know that clip: even existed as a property.
It's out of there.

But my problems remains. :/

Chris
Jan 29 '07 #4

P: n/a
In article
<11**********************@a75g2000cwd.googlegroups .com>,
ch***********@gmail.com wrote:
http://www.chrisrapking.com

The styles that are inline work fine. Anything in the head does not...
So what in the HTML is the head styling (not the separate css
sheet linked to) meant to be styling in the HTML?

--
dorayme
Jan 29 '07 #5

P: n/a
It's meant for another page, actually. I was kinda writing-on-the-run,
without much thought, while finishing this for a class project. I
agree, I could better organize some various aspects of the CSS. Still,
it boggles me that this is not loading in IE (I'm using 6), while it
loads in Firefox...

chris

On Jan 28, 9:51 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
In article
<1170032847.079052.210...@a75g2000cwd.googlegroups .com>,

chris.rapk...@gmail.com wrote:
http://www.chrisrapking.com
The styles that are inline work fine. Anything in the head does not...So what in the HTML is the head styling (not the separate css
sheet linked to) meant to be styling in the HTML?

--
dorayme
Jan 29 '07 #6

P: n/a
Ok... so it is incorrectly loading my stylesheet, although the linking
is not the issue. It is apparent that it has some things right
(background, first-character of p elements), but not most. I ran my
CSS through a validator which gave it no problems... ahh.

On Jan 28, 10:34 pm, chris.rapk...@gmail.com wrote:
It's meant for another page, actually. I was kinda writing-on-the-run,
without much thought, while finishing this for a class project. I
agree, I could better organize some various aspects of the CSS. Still,
it boggles me that this is not loading in IE (I'm using 6), while it
loads in Firefox...

chris

On Jan 28, 9:51 pm, dorayme <doraymeRidT...@optusnet.com.auwrote:
In article
<1170032847.079052.210...@a75g2000cwd.googlegroups .com>,
chris.rapk...@gmail.com wrote:
>http://www.chrisrapking.com
The styles that are inline work fine. Anything in the head does not...So what in the HTML is the head styling (not the separate css
sheet linked to) meant to be styling in the HTML?
--
dorayme
Jan 29 '07 #7

This discussion thread is closed

Replies have been disabled for this discussion.