c# - override width from _Layout.cshtml -


in shared layout have width specified on body-container div.

is there way override width in 1 of views? want keep using remaining parts of shared layout.

thanks.

there 3 solutions:

1) put body-containers in every view.

2) inside view <style> .body-container {width: 1000px!important} </style>

3) use javascript override css.


Comments

Popular posts from this blog

iis - ASP.Net Core CreatedAtAction in HttpPost action returns 201 but entire request ends with 500 -

gcc - Neither ld wrap nor LD_PRELOAD working to intercept system call -

ssh - Vagrant Windows - ssh_exchange_identification: read: Connection reset by peer -