php - Are Three internal style sheets and no script tag right way for my webpage? -


i having 3 internal style sheets , 1 external style sheet in web page. simplified output looks this:

<!doctype html> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-us"> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <title>some title</title>   <!--this normal external stlesheet-->  <link rel="stylesheet" type="text/css" media="all" href="http://localhost/wp-content/themes/my_theme/css/style.css" />  <!--will display single column instead 2 columns if no js enabled-->   <noscript> <style type="text/css"> .col1{  width:100%; margin:0px; display:block; position:relative;       } </style> </noscript>   <!--this dynamic stylesheet generated php--> <style type="text/css">  #blogwrapper{    width: 530px; margin-left:6px;     } </style>  <!--this dynamic stylesheet generated wordpress php--> <style type="text/css" id="custom-background-css"> body.custom-background { background-color: #1e73be; } </style> </head> </body> </html> 

my page passes html , css validation ,but still having doubts right way implementing css way.

question is: doing right or not (because developing wordpress theme , want make publicly available , don't want theme being rejected wordpress review team ) ?

writing inline style sheets on html/php page unwelcome if works. has following disadvantages:

  1. the page code gets lengthy

  2. the style sheet becomes available specific page.

  3. its tedious change style sheet designer in future purpose.

therefore, if works, please remove inline style sheets , move them separate css files. same javascript file.

thanks.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -