WordPress.org

Forums

Question about <blockquote> (8 posts)

  1. Dobie
    Member
    Posted 9 years ago #

    I've been trying to play around with blockquote tags. I've seen alot of blogs that this tag gives different effects to. When I use them, all it does is indent whatever is in between the tags. I'm trying to get an effect like this blog has:http://davidhoefler.com/blog/index.php?title=google_talk&more=1&c=1&tb=1&pb=1
    Can anyone help me out on this? Thanks in advance.
    Shawn

  2. mumkin
    Member
    Posted 9 years ago #

    If you look at the css (http://davidhoefler.com/blog/rsc/basic.css) you'll see how the blockquote is being styled.

  3. Dobie
    Member
    Posted 9 years ago #

    I'm the newest newbie on here most likely. How can I make that work for me?

  4. Marc
    Member
    Posted 9 years ago #

    Just add this code to your CSS file of your theme.

    blockquote {
    border: 2px dotted #ccc;
    background-color: #eee;
    margin: 1em 2em;
    padding: 0 1ex;
    }

  5. Marc
    Member
    Posted 9 years ago #

    Just add this code to your CSS file of your theme.


    blockquote {
    border: 2px dotted #ccc;
    background-color: #eee;
    margin: 1em 2em;
    padding: 0 1ex;
    }

  6. Pizdin Dim
    Member
    Posted 9 years ago #

    That should be padding: 0 1em, shouldn't it?

  7. Marc
    Member
    Posted 9 years ago #

    Yes it should. That was copied straight from the reference blogs style sheet its a wonder the code renders correctly.

  8. Pizdin Dim
    Member
    Posted 9 years ago #

    That should be renders incorrectly, shouldn't it?

    ;-)

Topic Closed

This topic has been closed to new replies.

About this Topic