Fijate que no tengas en layout.html esta linea o algo por el estilo alguna vez la vi.<script>jQuery(document).ready(function(){jQuery('textarea').css('width','600px').css('height','400px')});</script>
Use the !important[0]<style type="text/css">
textarea {
width: 100px !important;
}
</style>
In fact, I have yet to find a method of appending a custom css file to the hierarchy without changing the layout template explicitly to change the default loading order. Am I missing something?
Lol, yeah I had problems too and ended up hard-coding my css link into the layout right before the head closed. But something else is going on with those inputs to prevent styling them...
Don't know if this applies in your situation, but one problem I've encountered is I always assumed that simply adding a response.files. append (page.css) to the top of a view before extending the default layout.html template would put the page.css file last in the hierarchy. If you look at the code, it doesn't. It puts it first.
In fact, I have yet to find a method of appending a custom css file to the hierarchy without changing the layout template explicitly to change the default loading order. Am I missing something?
--
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/ut7UKRyjepw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
<input id="sqrcell" class="1" type="text" value="dfdfdfdf">/* because web2py handles this via js */textarea { width:90%}textarea {resize:none;}Actually, it is also set in the web2py_bootstrap.css line 105, which is interesting, but not nearly as interesting as the comment ;)
/* because web2py handles this via js */textarea { width:90%}
soooooo, who knows the javascript well enough to say what is happening here, and how we can regain overrideablility (lol that word is getting worse by the post)
On Saturday, August 3, 2013 9:57:34 AM UTC-4, Anthony wrote:
Actually, it is also set in the web2py_bootstrap.css line 105, which is interesting, but not nearly as interesting as the comment ;)
/* because web2py handles this via js */textarea { width:90%}
soooooo, who knows the javascript well enough to say what is happening here, and how we can regain overrideablility (lol that word is getting worse by the post)
On Saturday, August 3, 2013 9:57:34 AM UTC-4, Anthony wrote: