Jump to content
Sign in to follow this  
newcoder1010

How to overwrite element.style

Recommended Posts

Hello, 

Inspected my site in chrome. 

Selected this link:

<form class="form-view theme7" id="agile-form" action="" style="max-width:450px;" method="GET">

I see this css:

element.style {max-width:450px;}

.form-view {
    font-family: Tahoma,Geneva,sans-serif;
    width: 100%;
    background: #fff;
    font-size: 14px;
    padding: 10px;
}

Now form shows 450px width. I would like the form to be 100% width. How to make the form  100% width?

 

 

Share this post


Link to post
Share on other sites

You have to remove the element's style attribute.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×