I think you must add double inverted comma to close % value.
Please try this:
<div>
<div style="width : 25%" ; float : left">Sidebar</div>
<div style="width : 75%">Main</div>
</div>
If you face error, please refresh your page and then try with your code.