[solved]Bad problem with stylesheets attachment

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
User avatar
amin30b
Forum Members
Forum Members
Posts: 146
Joined: Sat Mar 31, 2007 8:02 am

[solved]Bad problem with stylesheets attachment

Post 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
Last edited by amin30b on Sat Feb 16, 2008 1:42 pm, edited 1 time in total.
User avatar
amin30b
Forum Members
Forum Members
Posts: 146
Joined: Sat Mar 31, 2007 8:02 am

Re: Bad problem with stylesheets attachment

Post 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  :-\
alby

Re: Bad problem with stylesheets attachment

Post 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
Post Reply

Return to “Layout and Design (CSS & HTML)”