my coding includes the following statement
<?php if ($openpage=="Navigation"){.subbar ul {height:102px; list-style-type:none; padding:0px;}?>
Parse error: syntax error, unexpected '.'
am still learning php, have I made a basic error that I am not seeing or is there another way to include the class statement. It is part of an expandable navbar that only expands the submenu on "hover". I am trying to get the submenu to stay expanded when on the parent page or one of the submenu pages
eg if on main page 1 - page 2 submenu = collapsed, if hovering over main page 2 - page 2 submenu = expanded, if on main page 2, main page 2 sub1 ... - page 2 submenu = collapsed - should be expanded.
Hope I've explained adequately what I am trying to do, have been unable to find any solutions on the web