HighDots Forums  

Re: css / template problem

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss Re: css / template problem in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
iain3055
 
Posts: n/a

Default Re: css / template problem - 03-24-2009 , 06:52 AM






Hi Osgood,

Its www.prestwicksailingclub.co.uk

Iain

Reply With Quote
  #2  
Old   
Osgood
 
Posts: n/a

Default Re: css / template problem - 03-24-2009 , 07:21 AM






iain3055 wrote:
Quote:
Hi Osgood,

Its www.prestwicksailingclub.co.uk

Iain
Hi Iain

I have a feeling that the server may not be set up correctly to
interpret the css file, read this article:

http://devedge-temp.mozilla.org/viewsource/2002/incorrect-mime-types/

You should test the page in Internet Explorer because that will usually
pass an incorrect mime type file. I don't have IE on this computer to do
a test.

However it does not pick up the css file in Safari either, so I'm not
sure that the above applies as Safari to my knowledge doesn't use the
Gecko browser engine to display files.

The link to your css on the 'about us' page is technically in the wrong
place. It should not be in the page title editable region but after it.
But your other pages show the link in the correct position yet they
still do not see the css styles.

I'm just going to do a couple more tests on my own server to see what
happens.


Reply With Quote
  #3  
Old   
Osgood
 
Posts: n/a

Default Re: css / template problem - 03-24-2009 , 07:32 AM



ok simple one, you're missing a closing bracket after a:hover, put one
in as below:

a:hover {
text-decoration: none;
font-weight: bold;
color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 100%;
}





Osgood wrote:
Quote:
iain3055 wrote:
Hi Osgood,

Its www.prestwicksailingclub.co.uk

Iain

Hi Iain

I have a feeling that the server may not be set up correctly to
interpret the css file, read this article:

http://devedge-temp.mozilla.org/viewsource/2002/incorrect-mime-types/

You should test the page in Internet Explorer because that will usually
pass an incorrect mime type file. I don't have IE on this computer to do
a test.

However it does not pick up the css file in Safari either, so I'm not
sure that the above applies as Safari to my knowledge doesn't use the
Gecko browser engine to display files.

The link to your css on the 'about us' page is technically in the wrong
place. It should not be in the page title editable region but after it.
But your other pages show the link in the correct position yet they
still do not see the css styles.

I'm just going to do a couple more tests on my own server to see what
happens.

Reply With Quote
  #4  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: css / template problem - 03-24-2009 , 07:57 AM



You have errors on the page - fix them!

http://jigsaw.w3.org/css-validator/validator?profile=css21&warning=0&uri=http%3A%2F%2 Fwww.prestwicksailingclub.co.uk%2F
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.prestwicksail ingclub.co.uk%2F

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"iain3055" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi Osgood,

Its www.prestwicksailingclub.co.uk

Iain


Reply With Quote
  #5  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: css / template problem - 03-24-2009 , 08:10 AM



Lots more than that. Duplicate ID values will screw things good.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Osgood" <notavailable (AT) thisaddress (DOT) com> wrote

Quote:
ok simple one, you're missing a closing bracket after a:hover, put one in
as below:

a:hover {
text-decoration: none;
font-weight: bold;
color: #FFFFFF;
font-family: Arial, Helvetica, sans-serif;
font-size: 100%;
}





Osgood wrote:
iain3055 wrote:
Hi Osgood,

Its www.prestwicksailingclub.co.uk

Iain

Hi Iain

I have a feeling that the server may not be set up correctly to interpret
the css file, read this article:

http://devedge-temp.mozilla.org/viewsource/2002/incorrect-mime-types/

You should test the page in Internet Explorer because that will usually
pass an incorrect mime type file. I don't have IE on this computer to do
a test.

However it does not pick up the css file in Safari either, so I'm not
sure that the above applies as Safari to my knowledge doesn't use the
Gecko browser engine to display files.

The link to your css on the 'about us' page is technically in the wrong
place. It should not be in the page title editable region but after it.
But your other pages show the link in the correct position yet they still
do not see the css styles.

I'm just going to do a couple more tests on my own server to see what
happens.


Reply With Quote
  #6  
Old   
Osgood
 
Posts: n/a

Default Re: css / template problem - 03-24-2009 , 08:20 AM



Murray *ACE* wrote:
Quote:
Lots more than that. Duplicate ID values will screw things good.

Duplicate ID's won't stop the css from working. Once the bracket is
inserted the page will work just fine, however the html should be clean
up because it may cause conflict at a later stage.


Reply With Quote
  #7  
Old   
Murray *ACE*
 
Posts: n/a

Default Re: css / template problem - 03-24-2009 , 09:28 AM



Quote:
Duplicate ID's won't stop the css from working. Once the bracket is
inserted the page will work just fine, however the html should be clean up
because it may cause conflict at a later stage.
It sure can.

--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
==================


"Osgood" <notavailable (AT) thisaddress (DOT) com> wrote

Quote:
Murray *ACE* wrote:
Lots more than that. Duplicate ID values will screw things good.


Duplicate ID's won't stop the css from working. Once the bracket is
inserted the page will work just fine, however the html should be clean up
because it may cause conflict at a later stage.


Reply With Quote
  #8  
Old   
Osgood
 
Posts: n/a

Default Re: css / template problem - 03-24-2009 , 09:41 AM



Murray *ACE* wrote:
Quote:
Duplicate ID's won't stop the css from working. Once the bracket is
inserted the page will work just fine, however the html should be
clean up because it may cause conflict at a later stage.

It sure can.

That's not my opinion. Multiple Id's will conflict in the case of using
javascript but I've never seen it in regards to referencing css.

It's not good practice to use multiple instances of Id's on a page but
that wasn't the problem with this particular project.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.