Thursday, November 3, 2016

Solved: CSS width 100% not working.

Problem:

Element A inside another element B, won't take the full width of its parent element (B).

For example, in Bootstrap layout:




If textarea element won't fill the whole parent column, you can simply try to replace CSS's width property with min-width property. Min-width property is likely to extend the textarea to the full width of its parent element. 

So, the new code would look like this:

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...