• Resolved JessWritesBooks

    (@jesswritesbooks)


    I’m using a testimonials plugin on my site that uses cite tags. I’d like to do some styling to push the cite sections over, and I’m running into a couple of snags. I tried to use a text-indent attribute, but that did absolutely nothing, so I set a wide margin on the left to push the cite text over, like so:

    ‘cite {
    margin: 0px 0px 0px 30px;
    }’

    There are two lines enclosed inside the cite tags like this:

    ‘<cite>Jess R. Awesome

    Whatchadoin Ranch</cite>’

    Here’s the problem: the css styling is only applying to the top line. I don’t understand why the css styling doesn’t cause everything inside <cite>...</cite> to have that wider left margin. Maybe I’m completely wrong, but the <br/> tag shouldn’t affect the styling, right?

    Can anybody tell me why the styling isn’t adding the margin to the entire <cite>...</cite> section?

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘CSS styling for tags not working’ is closed to new replies.