Title: CSS inline in PHP
Last modified: August 21, 2016

---

# CSS inline in PHP

 *  Resolved [Den999](https://wordpress.org/support/users/den999/)
 * (@den999)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/css-inline-in-php-1/)
 * Hey, author.
 * This is:
 * #flags { text-align:right; width:150px; float:right; clear:right; }
 * inside in PHP is very bad idea! U understand, I think? CSS inside PHP is BAD 
   for change width, for example, to 200px. Next upgrade will remove this and put
   again 150px.
 * [http://wordpress.org/plugins/google-language-translator/](http://wordpress.org/plugins/google-language-translator/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Rob Myrick](https://wordpress.org/support/users/rm2773/)
 * (@rm2773)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/css-inline-in-php-1/#post-4114725)
 * Hi Den999, thanks for your post. Yes, considering that there is currently no 
   option to change the width of the flags container, I can see how you arrive at
   that conclusion (and I will take that suggestion for adding the option in a future
   update). But I don’t believe this is related to the fact that I would use PHP
   and CSS together.
 * You could override the `#flags` width by placing this in your current style sheet:
 *     ```
       #flags {
         width:200px !important;
       }
       ```
   
 * Then it will remain there even after plugin updates and it should override styles
   in the plugin. Hopefully I am understanding this correctly. Let me know if that
   helps.
 *  Thread Starter [Den999](https://wordpress.org/support/users/den999/)
 * (@den999)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/css-inline-in-php-1/#post-4114739)
 * Thanks for answer and for solution!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CSS inline in PHP’ is closed to new replies.

 * ![](https://ps.w.org/google-language-translator/assets/icon-256x256.png?rev=3007649)
 * [Translate WordPress - Google Language Translator](https://wordpress.org/plugins/google-language-translator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-language-translator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-language-translator/)
 * [Active Topics](https://wordpress.org/support/plugin/google-language-translator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-language-translator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-language-translator/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Den999](https://wordpress.org/support/users/den999/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/css-inline-in-php-1/#post-4114739)
 * Status: resolved