Page 1 of 1

[solved]Bad problem with stylesheets attachment

Posted: Wed Feb 13, 2008 9:44 pm
by amin30b
Hi
Before I`ve created my sample CMSMS template successfully with one CSS file and now I`m working on a new
template that has 8 separated CSS stylesheets files .
In new template when I address my css files with HTML tags like :

Code: Select all

  <link rel="stylesheet" type="text/css" href="uploads/bar/css/html.css" media="screen, tv, projection" />
  <link rel="stylesheet" type="text/css" href="uploads/bar/css/layout.css" media="screen, tv, projection" />
  <link rel="stylesheet" type="text/css" href="uploads/bar/css/handheld.css" media="screen, tv, projection" />
  <!--[if IE]><link rel="stylesheet" type="text/css" href="uploads/bar/css/ie.css" media="screen, projection, tv " /><![endif]-->
  <!--[if IE 6]><link rel="stylesheet" type="text/css" href="uploads/bar/css/ie6.css" media="screen, projection, tv " /><![endif]-->
and etc , there is no problem and page view is normal like below :
Image

But when I use CMSMS {stylesheet} tag instead of above HTML tags , page doesn`t load
perfectly like below :
Image

Of course I have defined every above css files in admin area>Layout>Stylesheets as separate
stylesheet and I`ve attached them to my template with "bar" name . Also I`ve edited my defined
stylesheets context related to images path like :

Code: Select all

  background: #E2ECF6 url(uploads/acer/img/bg/body.gif) repeat-y top center;
It seems all things are correct but I couldn`t find my problem reason :(
I hope somebody help me .
Regards

Re: Bad problem with stylesheets attachment

Posted: Thu Feb 14, 2008 1:32 am
by amin30b
If you mean problem is related to IE-related stylesheets , I have removed any IE related stylesheet from template , but there is no difference with before  :-\

Re: Bad problem with stylesheets attachment

Posted: Thu Feb 14, 2008 8:00 am
by alby
amin30b wrote: But when I use CMSMS {stylesheet} tag instead of above HTML tags , page doesn`t load
perfectly like below :

Code: Select all

  background: #E2ECF6 url(uploads/acer/img/bg/body.gif) repeat-y top center;
Try with absolute path (/cms_folder/uploads/...) stylesheet path are related to script and if you have FF try to install web developer and check stylesheet

Alby