Rajesh Joshi
asked on
CSS for Responsive site
I am trying to make https://www.peadler.com/ site responsive specially for mobile. I do not want to change the original site which opens in PC.
For testing I have uploaded it http://just2test.in/peadler/peadler.html
Now for textboxes on top I have used following style in the same page like this
I need help for registration and video section too to make it responsive.
Thanks and advance.
For testing I have uploaded it http://just2test.in/peadler/peadler.html
Now for textboxes on top I have used following style in the same page like this
@media(max-width:767px) {
.usernameField {
width: 100px;
margin-top: 8px;
}
.passwordField {
width: 100px;
margin-left: 20px;
margin-top: 8px;
}
}
but it does not work.I need help for registration and video section too to make it responsive.
Thanks and advance.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
one reasen may be: by the CSS code I suggested, we are targeting the EXACT element... like we are telling the browser to target a textbox which is inside .container >> .loginFormWrapper >> .loginTable >> .passwordField (this one to target)
thanks,
Prasadh
thanks,
Prasadh
ASKER
Will you please explain why my code was not working.
Thank you again.