So I have this code.
{embed="/site/html_header" more_lines="{css_home_page}" js="{js_mini_calendar}" manual_title="Home"
css='
#hp_news div, #hp_vid {font-size: 12px; padding-left:14px; padding-right:10px; padding-top:10px;}
#hp_news p{font-size: 12px;}
#hp_event_list_img_wrap {float:left; width: 60px; padding-left:10px;}
#hp_event_list_text {float:right; width: 210px; margin-right:5px; line-height: 18px;}
#event_hr {color: #4b5c4a; background: #4b5c4a; border: 0; height: 1px; margin-top: 8px; margin-bottom: 8px; width: 95%; clear:both; }
#featured_in { background:url(/~sierrabc/themes/third_party/sierra/featured_in_bg.png) repeat x; }
#featured_in div{ background:url(/~sierrabc/themes/third_party/sierra/featured_in.jpg); height 117px; }
.featured_video { background:url(/~sierrabc/images/icons/play.png) 50% 50% no-repeat;}
'}These line are what is tripping up the EE parser.
#featured_in { background:url(/~sierrabc/themes/third_party/sierra/featured_in_bg.png) repeat x; }
#featured_in div{ background:url(/~sierrabc/themes/third_party/sierra/featured_in.jpg); height 117px; }
.featured_video { background:url(/~sierrabc/images/icons/play.png) 50% 50% no-repeat;It gets all confused and shows one line or maybe 2.
I really like passing inline CSS to my header because it lets be develop very fast and then move it into a style sheet latter. Is there a way I can pass code to a embed without tripping up EE’s parser?
EE 2.5.0