SyntaxFix
Write A Post
Hire A Developer
Questions
i use jquery code for this. (Alternative solution)
$(document).ready(function() { var margin = $(".topmenu-design").width()-$("#topmenu").width(); $("#topmenu").css('margin-left',margin/2); });