css issue

This is a discussion on "css issue" within the Web Page Design section. This forum, and the thread "css issue are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old May 21st, 2007, 22:01
Reputable Member
Join Date: Mar 2007
Location: UK
Posts: 305
Thanks: 0
Thanked 0 Times in 0 Posts
css issue

I am trying to edit a css background and when I view it live I get shown this

Live view

Code: Select all
string(356) "Smarty error: [in template:21 line 15]: syntax error: unrecognized tag: callname= "gl"+thisitem; divname="subglobal"+thisitem; this.numberofmenuitems = allitems; this.caller = document.getElementById(callname); this.thediv = document.getElementById(divname); this.thediv.style.visibility = startstate; (Smarty_Compiler.class.php, line 439)" string(111) "Smarty error: [in template:21 line 15]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 583)" string(114) "Smarty error: [in template:21 line 23]: syntax error: unrecognized tag 'for' (Smarty_Compiler.class.php, line 583)" string(122) "Smarty error: [in template:21 line 29]: syntax error: unidentified token '.clientY' (Smarty_Compiler.class.php, line 1396)" string(122) "Smarty error: [in template:21 line 29]: syntax error: unidentified token '.clientY' (Smarty_Compiler.class.php, line 1396)" string(115) "Smarty error: [in template:21 line 29]: syntax error: unidentified token '{' (Smarty_Compiler.class.php, line 1396)" string(115) "Smarty error: [in template:21 line 29]: syntax error: unidentified token '=' (Smarty_Compiler.class.php, line 1396)" string(115) "Smarty error: [in template:21 line 29]: syntax error: unidentified token ';' (Smarty_Compiler.class.php, line 1396)" string(115) "Smarty error: [in template:21 line 29]: syntax error: unidentified token ';' (Smarty_Compiler.class.php, line 1396)" string(115) "Smarty error: [in template:21 line 29]: syntax error: unidentified token '{' (Smarty_Compiler.class.php, line 1396)" string(115) "Smarty error: [in template:21 line 29]: syntax error: unidentified token '=' (Smarty_Compiler.class.php, line 1396)" string(115) "Smarty error: [in template:21 line 29]: syntax error: unidentified token ';' (Smarty_Compiler.class.php, line 1396)" string(141) "Smarty error: [in template:21 line 29]: syntax error: unidentified token '.style.visibility='hidden';' (Smarty_Compiler.class.php, line 1396)" string(124) "Smarty error: [in template:21 line 39]: syntax error: unrecognized tag: color: #A1A1A1 (Smarty_Compiler.class.php, line 439)" string(111) "Smarty error: [in template:21 line 39]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 583)" string(124) "Smarty error: [in template:21 line 40]: syntax error: unrecognized tag: color: #626262 (Smarty_Compiler.class.php, line 439)" string(111) "Smarty error: [in template:21 line 40]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 583)" string(146) "Smarty error: [in template:21 line 41]: syntax error: unrecognized tag: color: #4D4D4D; font-weight: bold; (Smarty_Compiler.class.php, line 439)" string(111) "Smarty error: [in template:21 line 41]: syntax error: unrecognized tag '' (Smarty_Compiler.class.php, line 583)" string(127) "Smarty error: [in template:21 line 42]: syntax error: unclosed tag {if} (opened line 29). (Smarty_Compiler.class.php, line 320)"
my css looks like this
Code: Select all
/***********************************************/
/* emx_nav_left.css                            */
/* Use with template Halo_leftNav.html         */
/***********************************************/

/***********************************************/
/* HTML tag styles                             */
/***********************************************/
body{
    font-family: Arial,sans-serif;
    color: #333333;
    line-height: 1.166;    
    margin: 0px;
    padding: 0px;
    background: #cccccc url(bg_grad.jpg) fixed;
}

/******* hyperlink and anchor tag styles *******/

a:link, a:visited{
    color: #005FA9;
    text-decoration: none;
}

a:hover{
    text-decoration: underline;
}

/************** header tag styles **************/

h1{
 font: bold 120% Arial,sans-serif;
 color: #334d55;
 margin: 0px;
 padding: 0px;
}

h2{
 font: bold 114% Arial,sans-serif;
 color: #006699;
 margin: 0px;
 padding: 0px;
}

h3{
 font: bold 100% Arial,sans-serif;
 color: #334d55;
 margin: 0px;
 padding: 0px;
}

h4{
 font: 100% Arial,sans-serif;
 color: #333333;
 margin: 0px;
 padding: 0px;
}

h5{
 font: 100% Arial,sans-serif;
 color: #334d55;
 margin: 0px;
 padding: 0px;
}


/*************** list tag styles ***************/

ul{
 list-style-type: square;
}

ul ul{
 list-style-type: disc;
}

ul ul ul{
 list-style-type: none;
}

/********* form and related tag styles *********/

form {
    margin: 0;
    padding: 0;
}

label{
 font: bold 1em Arial,sans-serif;
 color: #334d55;
}
                
input{
font-family: Arial,sans-serif;
}

/***********************************************/
/* Layout Divs                                 */
/***********************************************/
#pagecell1{
    position:absolute;
    top: 112px;
    left: 2%;
    right: 2%;
    width:95.6%;
    background-color: #ffffff;
}

#tl {
    position:absolute;
    top: -1px;
    left: -1px;
    margin: 0px;
    padding: 0px;
    z-index: 100;
}

#tr {
    position:absolute;
    top: -1px;
    right: -1px;
    margin: 0px;
    padding: 0px;
    z-index: 100;
}

#masthead{
    position: absolute;
    top: 0px;
    left: 2%;
    right: 2%;
    width:95.6%;
    
}

#pageNav{
    float: left;
    padding: 0px;
    background-color: #F5f7f7;
    border-right: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
    font: small Verdana,sans-serif;
}

#content{
    border-left: 1px solid #ccd2d2;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 178px;
    padding-top: 0px;
    padding-right: 10px;
    padding-bottom: 0px;
    padding-left: 0px;
}


/***********************************************/
/* Component Divs                              */
/***********************************************/
#siteName{
    margin: 0px;
    padding: 16px 0px 8px 0px;
    color: #ffffff;
    font-weight: normal;
}

/************** pageName styles ****************/

#pageName{
    padding: 0px 0px 14px 10px;
    margin: 0px;
    border-bottom:1px solid #ccd2d2;
}

#pageName h2{
    font: bold 175% Arial,sans-serif;
    color: #000000;
    margin:0px;
    padding: 0px;
}

#pageName img{
    position: absolute;
    top: 0px;
    right: 6px;
    padding: 0px;
    margin: 0px;
}

/************* globalNav styles ****************/

#globalNav{
position: relative;
width: 100%;
min-width: 640px;
height: 32px;
color: #cccccc;
padding: 0px;
margin: 0px;
background-image: url(glbnav_background.gif);
}

#globalNav img{
    margin-bottom: -4px;
 
}

#gnl {
    position: absolute;
    top: 0px;
    left:0px;
}

#gnr {
    position: absolute;
    top: 0px;
    right:0px;
}

#globalLink{
    position: absolute;
    top: 6px;
    height: 22px;
    min-width: 640px;
    padding: 0px;
    margin: 0px;
    left: 10px;
    z-index: 100;
}


a.glink, a.glink:visited{
      font-size: small;
      color: #000000;
    font-weight: bold;
    margin: 0px;
    padding: 2px 5px 4px 5px;
    border-right: 1px solid #8FB8BC;
}

a.glink:hover{
      background-image: url(glblnav_selected.gif);
    text-decoration: none;
}

.skipLinks {display: none;}

/*************** search styles *****************/

#search{
    position: absolute;
    top: 5px;
    right: 10px;
    z-index: 101;
}

#search input{
  font-size: 70%;
  margin: 0px  0px 0px 10px;
 }
 
#search a:link, #search a:visited {
    font-size: 80%;
    font-weight: bold;
    
}

#search a:hover{
    margin: 0px;
}


/************** feature styles *****************/

.feature{
    padding: 0px 0px 10px 10px;
    font-size: 80%;
    min-height: 200px;
    height: 200px;
}
html>body .feature {height: auto;}

.feature h3{
    font: bold 175% Arial,sans-serif;
    color: #000000;
    padding: 30px 0px 5px 0px;
}

.feature img{
    float: left;
    padding: 0px 10px 0px 0px;
}


/*************** story styles ******************/

.story {
    padding: 10px 0px 0px 10px;
    font-size: 80%;
}

.story h3{
    font: bold 125% Arial,sans-serif;
    color: #000000;
}

.story p {
    padding: 0px 0px 10px 0px;
}

.story a.capsule{
    font: bold 1em Arial,sans-serif;
    color: #005FA9;
    display:block;
    padding-bottom: 5px;
}

.story a.capsule:hover{
    text-decoration: underline;
}

td.storyLeft{
    padding-right: 12px;
}


/************** siteInfo styles ****************/

#siteInfo{
    clear: both;
    border-top: 1px solid #cccccc;
    font-size: small;
    color: #cccccc;
    padding: 10px 10px 10px 10px;
    margin-top: 0px;
}

#siteInfo img{
    padding: 4px 4px 4px 0px;
    vertical-align: middle;
}


/************ sectionLinks styles **************/

#sectionLinks{
    margin: 0px;
    padding: 0px;

}

#sectionLinks h3{
    padding: 10px 0px 2px 10px;
    border-bottom: 1px solid #cccccc;
}

#sectionLinks a:link, #sectionLinks a:visited {
    display: block;
    border-top: 1px solid #ffffff;
    border-bottom: 1px solid #cccccc;
    background-image: url(bg_nav.jpg);
    font-weight: bold;
    padding: 3px 0px 3px 10px;
    color: #21536A;
}

#sectionLinks a:hover{
    border-top: 1px solid #cccccc;
    background-color: #DDEEFF;
    background-image: none;
    font-weight: bold;
    text-decoration: none;
}


/************* relatedLinks styles **************/

.relatedLinks{
    margin: 0px;
    padding: 0px 0px 10px 10px;
    border-bottom: 1px solid #cccccc;
}

.relatedLinks h3{
    padding: 10px 0px 2px 0px;
}

.relatedLinks a{
    display: block; 
}


/**************** advert styles *****************/

#advert{
    padding: 10px;
}

#advert img{
    display: block;
}

/********************* end **********************/
Sorry for such a long thread can anyone help please.

Last edited by Ryan Fait; May 21st, 2007 at 22:38. Reason: fixed the code tags for ya! Again!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old May 21st, 2007, 22:39
Ryan Fait's Avatar
Elite Veteran
Join Date: May 2006
Location: Las Vegas
Posts: 3,787
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css issue

Looks like an issue with your CMS, not CSS.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old May 22nd, 2007, 09:32
Junior Member
Join Date: Feb 2006
Location: Florence - Italy
Age: 23
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css issue

"smarty" is a PHP library so, as Ryan said... it's a cms problem.
It seems more than one sintax mistake, anyway i dont use smarty so i dont know what that error is about.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old May 22nd, 2007, 15:51
Elite Veteran
Join Date: Aug 2005
Location: That Place
Posts: 2,044
Blog Entries: 1
Thanks: 0
Thanked 37 Times in 37 Posts
Re: css issue

Textpattern fixes everything. tee hee.
__________________

Last Blog Entry: Apps every Mac based web dev should consider (Jul 10th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old May 24th, 2007, 16:01
Reputable Member
Join Date: Mar 2007
Location: UK
Posts: 305
Thanks: 0
Thanked 0 Times in 0 Posts
Re: css issue

Is there anyone on line that knows Textpattern? I have issues again
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
css issue

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
JS issue acrikey JavaScript Forum 6 Jul 25th, 2007 17:45
Issue in IE6 aholmes Web Page Design 7 Jul 13th, 2007 10:00
CSS issue in IE7 bluetech Web Page Design 6 Jul 3rd, 2007 15:36
Help Odd Issue? drappendix Web Page Design 8 Aug 9th, 2006 17:53
IE issue Pheonix Web Page Design 2 Dec 2nd, 2005 21:58


All times are GMT. The time now is 00:53.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42