s_avinash_s Posted October 4, 2018 Share Posted October 4, 2018 Hi I want to use p as inline only for one function or in one script.and in other parts it should be normal. How to proceed with this.I tried like below but it changes everywhere p { display:inline; } Link to comment Share on other sites More sharing options...
Ingolme Posted October 4, 2018 Share Posted October 4, 2018 Give it a class name and use the class selector. This is in the first page of the CSS tutorial: https://www.w3schools.com/css/css_syntax.asp Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now