simonp Posted August 21, 2015 Share Posted August 21, 2015 I'm trying to recreate the CSS for the form textfields and also the submit button used on this page: https://outdoorlads.com/user/register (ie the rounded corner text boxes and the red rounded corner submit button) I've tried trying to find these using page source in Safari with little success. Any help appreciated whilst I'm still getting to grips with CSS Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/297877-how-can-i-find-the-css-used-in-a-form-from-a-web-page/ Share on other sites More sharing options...
cyberRobot Posted August 21, 2015 Share Posted August 21, 2015 Which browser (Chrome, Firefox, etc.) do you use? In Chrome, for example, you can right click things like the submit button and click "Inspect Element". This opens the Developer Tools panel, highlights the HTML code for the element you right clicked, and shows the associated CSS in the Styles tab. More information about the Chrome Developer Tools panel can be found here: https://developer.chrome.com/devtools Quote Link to comment https://forums.phpfreaks.com/topic/297877-how-can-i-find-the-css-used-in-a-form-from-a-web-page/#findComment-1519377 Share on other sites More sharing options...
maxxd Posted August 21, 2015 Share Posted August 21, 2015 Same thing in Firefox. Just right click the element, choose 'Inspect Element', and check it out. You can also (in both Chrome and FF) turn attributes off, change their values, and add new attributes, so you can play around with things to see what it's going to look like before you commit the change to the CSS. Quote Link to comment https://forums.phpfreaks.com/topic/297877-how-can-i-find-the-css-used-in-a-form-from-a-web-page/#findComment-1519380 Share on other sites More sharing options...
simonp Posted August 21, 2015 Author Share Posted August 21, 2015 That's brilliant - thanks guys! Quote Link to comment https://forums.phpfreaks.com/topic/297877-how-can-i-find-the-css-used-in-a-form-from-a-web-page/#findComment-1519402 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.