blueman378 Posted February 11, 2009 Share Posted February 11, 2009 hi guys, well i have a site which has the index page, the url is site.com/index.php?section=blablabla using htaccess it looks like site.com/blablablabla now the index page is simply a header, a footer, and a space in the middle which loads in a php file which specifies some stuff and then loads that pages template, now the thing thats happening is the css doesnt seem to be affecting the loaded content, so the header and footer are styled but the content in the middle isnt getting affected by the stylesheet. so my question is where does smarty attempt to load second level templates styles from? ps heres the source code of a generated page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Kid Blog • Homepage</title> <link href="themes/default/style.css" rel="stylesheet" type="text/css" /> <link href="themes/default/images/favicon.ico" rel='shortcut icon'/> <link href="themes/default/images/favicon.ico" rel='icon'/> </head> <body> <div id="Container"> <div id="sub_container"> <div id="header_container"> <div id="header_top"> <div id="header_left"> <div id="logo"><img src="themes/default/images/logo.png" width="254" height="55" alt="Kids Blog Logo" /></div> <div id="quote">Blogs For kids, From kids, About kids.</div> </div> <div id="header_right"> <div id="header_login"> <a href="#"> <img id="header_login_words" src="themes/default/images/login_word.png" width="49" height="15" alt="login link" /> </a> or <a href="#"> <img src="themes/default/images/register_word.png" width="76" height="15" alt="register link" /> </a> </div> <div id="header_search"><form action="" method="get" name="search"> <input id="header_searchbox" name="Search" type="text" value="Lost? Try searching here." size="30" maxlength="50" /> <input name="Submit" type="submit" value="Search" /> </form></div> </div> </div> <div id="header_menu"> <div id="rss"><a href="#"><img src="themes/default/images/rss.png" width="125" height="69" alt="rss feed" /></a></div> </div> </div> <div id="content_container"> <div id="sub_container"> <div id="content_container"> <div id="centerer"> <div id="full_header"><img src="themes/default/images/disclaimer_word.png" alt="latest kid blog entries" width="115" height="23" id="full_header_words" /></div> <div id="full_content">LOL</div> </div> </div> </div> </div> <div id="footer"> <div id="footer_copyright">© Kids Blog </div> <div id="footer_extra">© Kids Blog </div> <div id="clear"></div> <div id="footer_disclaimers"><a href="#">Privacy Policy</a> || <a href="#">Disclaimers</a></div> </div> </div> </div> </body> </html> so it should be styling the middle to right? it all reads off the same style sheet Link to comment https://forums.phpfreaks.com/topic/144741-solved-smarty-where-does-it-load-stuff/ Share on other sites More sharing options...
blueman378 Posted February 11, 2009 Author Share Posted February 11, 2009 opps nenver mind, jsut loaded it up in firefox and it worked, and then i realized, i hadnt deleted my cache since modifying the style sheet Link to comment https://forums.phpfreaks.com/topic/144741-solved-smarty-where-does-it-load-stuff/#findComment-759499 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.