Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] TARGET P TAG WITHIN SPECIFIC DIV Reply To: TARGET P TAG WITHIN SPECIFIC DIV

#152011
Paulie_D
Moderator

If the div has an ID of bigContact it’s

#bigContact p {
your styles;
}

If the div has an class of bigContact it’s

.bigContact p {
your styles;
}

Note you would normally have some basic styles that apply to all p tags somewhere in your stylesheet. You should only use the above to change or add specific styles, not repeat those that already apply.