navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

What did I do???

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Cascading Style Sheets >> What did I do???
Page: [1]
 
GMisner

 

Posts: 50
Joined: 9/2/2005
Status: offline

 
What did I do??? - 9/19/2005 17:26:46   
www.troop254. com

The site now works fine in Firefox but IE and FP do not seem to recognize my style sheet.

Any Ideas???
womble

 

Posts: 5528
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: What did I do??? - 9/19/2005 17:45:15   
I'm not sure, but it could be because you're missing the final backslash from the stylesheet link, e.g.
<link type="text/css" rel="stylesheet" href="../text/CSS_245.css" /> (don't know, that's a pure guess)
Another problem you have is that you haven't got a DOCTYPE in there which is throwing IE into 'quirks mode', which could be causing you some problems. You can find information from the W3C on doctypes here.
That may help.
Also, your calendar's showing up in IE, but not in FF - not sure why. You've also got a ';' missing off the end of   in '245 permissions' .


_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to GMisner)
GMisner

 

Posts: 50
Joined: 9/2/2005
Status: offline

 
RE: What did I do??? - 9/19/2005 18:24:32   
Womble,

A couple questions on Doctype

1. Does a Doctype entry belong at the top of each page.
2. How do you choose a doctype ???

I tried the / on the link but no help.

This used to work so.... I am really confused.:)

(in reply to womble)
womble

 

Posts: 5528
Joined: 3/14/2005
From: Living on the edge
Status: offline

 
RE: What did I do??? - 9/19/2005 18:52:48   
Sorry, I just realised that I didn't actually finish typing that post before I pressed 'submit' - oops!

Yes, the doctype goes at the top of each page; it has to be the first thing in the code, above the <html> tag.

There's a doctype for each version of html - one for and transitional (which allows the use of depreciated elements), strict, and frameset.

You'll need the frameset DTD (doctype declaration) as you're using frames on your site. Just paste in the following above the <html>:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
   "http://www.w3.org/TR/html4/frameset.dtd">


Using a doctype will generally help browsers to render your site correctly.

On the stylesheet issue, it's just hit me that you're using frames :) (getting late here and my brain's had an early night I think :)) - I think you'll need to include the stylesheet link on each frame of the site to get it to apply to that frame (I think - I don't use frames so I can't say with any certainly, but you could try it on one or two and see what happens), though I just had a look at your code again and it seems to have disappeared from all of them now!

_____________________________

~~ "A cruel god ain't no god at all" ~~
:)

(in reply to GMisner)
Page:   [1]

All Forums >> Web Development >> Cascading Style Sheets >> What did I do???
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts