dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: Help with showing quoted text

  1. #1
    Join Date
    Jan 2003
    Location
    PA
    Posts
    1,898

    Help with showing quoted text

    I am trying to show some quotes on my site, and I want the quote marks to be styles using CSS. I almost have this working, but I can't get the text to be inside the quotes. Could someone possible help me with this? here is a link to what I have so far (the quotes are in the left navigation): http://www.zluth.org/preschool/index.php

    Thanks!

  2. #2
    Join Date
    May 2011
    Location
    North Wales, UK
    Posts
    17
    Hello,
    try adding


    display:block;
    to
    .moduletable_quotes .cont div#srq_quote::before

    and

    display:block;
    text-align:right;

    to
    .moduletable_quotes .cont div#srq_quote::after

    Kind regards,
    -Will.

  3. #3
    Join Date
    Jan 2003
    Location
    PA
    Posts
    1,898
    Almost worked, but there is a huge gap between the first quote and the actual text.

    Thanks for the help

  4. #4
    Join Date
    May 2011
    Location
    North Wales, UK
    Posts
    17
    Hello,
    You need to set the line height of the opening speech mark.

    add
    line-height: 20px;
    to
    .moduletable_quotes .cont div#srq_quote::before

    Regards,
    Will.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles