Forums

What the heck is my P Tag? (5 posts)

  1. grizzle
    Member
    Posted 4 years ago #

    I asked a question previously about how my text was crossing right outside of its column and through the sidebar. Someone told me this:

    "grizzle, It looks like your p tag has no style.
    You need to make one using this class
    .entrytext p
    then add your padding and or margins to it.

    Good luck with the blog"

    I am not sure what the p tag is or how to edit it. I know how to go into the css editor and add whatever, I just need to know which .php and where to add it.

  2. moshu
    Member
    Posted 4 years ago #

    I know how to go into the css editor

    Then do it. That reply was CLEARLY referring to a stylesheet. Stylesheet = style.css (for starters).

  3. grizzle
    Member
    Posted 4 years ago #

    I was CLEARLY looking for more help than that. Would you like to tell me what to add into my style sheet? Or do I just add ".entrytext p" anywhere?

  4. moshu
    Member
    Posted 4 years ago #

    According to what your friend said: you have a div class="entrytext" and inside that div your text is arranged in p (a.k.a. paragraph) tags.
    Which means you have to define the properties for your paragraph tags in the entrytext div...

    .entrytext p {
    color: red;
    }

    That's how the CSS syntax works.
    You add more different

    properties: values;
    properties: values;
    properties: values;
  5. grizzle
    Member
    Posted 4 years ago #

    Thanks, that contextualizes it for me. The link you provided should help too.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags