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

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

unity3d - Fatal error- Monodevelop-Unity failed to start -