/    Sign up×
Community /Pin to ProfileBookmark

remove padding margin or set to 0 on bootstrap container

I have used the bootstrap container in within the header and footer using its default padding and margin i.e on a device of width 320px margins and padding being as below:

[code]
padding-right: 15px;
padding-left: 15px;
margin-right: auto;
margin-left: auto;
[/code]

but starting from the div (priya-cateringservices) this being the parent from the code below I want to create the following style and have them applied to all the child element within

[code]
<div class=”priya-cateringservices”>
<div class=”cateringservices caterers”>
<div class=”container caterservices”>

</div>
</div>
</div>
[/code]

style to be applied is as below:

[code]
html, body, div, span, applet, object, iframe, table, caption, tbody, tfoot, thead, tr, th, td, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, dl, dt, dd, ol, ul, li, fieldset, form, label, legend {
vertical-align: baseline;
font-family: inherit;
font-weight: inherit;
font-style: inherit;
outline: 0;
padding: 0;
margin: 0;
border: 0;
}
[/code]

would or could this be possible if so how?

to post a comment
CSS

0Be the first to comment 😎

×

Success!

Help @nsath spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.11,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...