I have to embed the styles I want to use in the html eg: The page was coded using an external stylesheet but when I switch it to being part of the page it is no longer centered. The CMS they use means it has to be embeded this way. Does anyone have a work around?
<style type="text/css"> CSS HERE </style> Code (markup): there you go, however I would advise using external stylesheets when possible.
You want a external style sheet. It's much better then having the styles imbedded into the page because external style sheets are cached.
Advantages of external stylesheets: +bandwidth economy (cached by browsers) +faster loading (cached by browsers, multithreading download) +more SE friendly pages (better code/content ratio) +easy to make changes So do not stick with embedded CSS!