|
The thing is that I don't want to make a new div tag surrounding the text but do it all in one go. Would that be possible. What I want to do is set padding to the text but not the section tag. Thanks! |
|
You can basically setup the padding you prefer in CSS under a class or id. Once you have the settings, you apply that class or id to the "section" or paragraph or whatever you want. Example: .padding {settings} creates a class that allows me to now apply those settings to any HTML tag I prefer. #padding {settings} creates an id that allows me to now apply those settings to any HTML tag I prefer. It is preferable to use id with major tags and class with minor tags. Give it try. |
