MikeK12 Posted December 16, 2019 Share Posted December 16, 2019 I have a background color that I want to stop at a certain width. Here is my code I am using: $("#tab_t51").css("backgroundColor", "lightgray"); $("#tab_t51").css("border-radius", "15px"); $("#tab_t51").css("padding", "8px 40px"); $("#tab_t51").css("width:50px"); How can I get the below images' background to stop around the blue lines? Or even to have breaks in the background lets say right above "Building Details" Link to comment Share on other sites More sharing options...
dsonesuk Posted December 16, 2019 Share Posted December 16, 2019 Create individual container elements to width you require then set background of those individual container elements. 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