This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Stylesheets > January 2007 > External stylesheet works in Firefox, not IE
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
External stylesheet works in Firefox, not IE
|
|
| chris.rapking@gmail.com 2007-01-30, 9:56 am |
| 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!
| |
| Sherm Pendley 2007-01-30, 9:56 am |
| chris.rapking@XXXXXXXXXX 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?verbo...srapking.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
| |
|
| Sherm Pendley <spamtrap@dot-app.org> wrote:
> chris.rapking@XXXXXXXXXX writes:
>
>
> Validate your page:
>
> <http://validator.w3.org/check?verbo...3A%2F%2Fwww.ch=
risrapking.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=3D"stylesheet" href=3D"/rapking.css" type=3D"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
| |
| chris.rapking@gmail.com 2007-01-30, 9:56 am |
| 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
| |
| dorayme 2007-01-30, 9:56 am |
| In article
<1170032847.079052.210130@a75g2000cwd.googlegroups.com>,
chris.rapking@XXXXXXXXXX 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
| |
| chris.rapking@gmail.com 2007-01-30, 9:56 am |
| 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.au> wrote:
> In article
> <1170032847.079052.210...@a75g2000cwd.googlegroups.com>,
>
> chris.rapk...@XXXXXXXXXX wrote:
>
> sheet linked to) meant to be styling in the HTML?
>
> --
> dorayme
| |
| chris.rapking@gmail.com 2007-01-30, 9:56 am |
| 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...@XXXXXXXXXX wrote:[color=darkred]
> 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.au> wrote:
>
>
>
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|