Jump to content

Set width of background color

Recommended Posts

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");


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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...