5.6.2011 21:36, Kashif Sami wrote:
Need some help with what I believe is a cross-browser compatibility issue.
Please look into http://kraymark.com/clients-demo/triplepsltd/ .
I tried to bring the the slider and the main content section closer together
on the 'index' page by adding this code *to 'style-index.css' . *
The <link> element for that stylesheet has type="text/ccss". Most
browsers interpret that as specifying a style sheet language they don't.
(I noticed that using Ctrl+Shift+C on Firefox with Web Developer
Extension. It shows all the stylesheets in use, and I noticed that
style-index.css was missing.)
Changing it to type="text/css" or removing the attribute fixes the problem.
The type attribute isn't really needed in <link rel="stylesheet" ...>,
as browsers imply CSS. The only real effect of type="..." there is that
you have a chance of misspelling it, and then... :-)
--
Yucca, http://www.cs.tut.fi/~jkorpela/
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/