www.webdeveloper.com
Results 1 to 3 of 3

Thread: [RESOLVED] Two simple CSS probs (wordpress)

  1. #1
    Join Date
    Feb 2009
    Posts
    24

    resolved [RESOLVED] Two simple CSS probs (wordpress)

    I think they should be simple. I'm sure I'm missing something obvious.

    1. I can't seem to fix the line-height on these comments. The text seems kinda squished...

    http://baybridgebaseball.com/2009/02...1/#comment-306

    This is the line from the stylesheet that controls the size of the text in the comments, but I can't do anything with the line height. I've obviously tried line-height: xx; but it's not doing anything. I've used pts, px, percent and a straight number (double). I've tried putting the line before the text size and after. Don't know what's going on.

    Code:
    .comments-template { margin: 0 0; padding: 0 0; font-size: 10pt;}
    2. On a page like this, where the content is short in the middle, footer bar cuts across my sidebars...

    http://baybridgebaseball.com/2009/02...n-ramon-ortiz/

    Here's my footer CSS:

    Code:
    #footer { clear: both; float: left; width: 1000px; margin-top: 15px; padding: 0; background: black;  }
    #footer p { font-size: .9em; width: 900px; float: right; line-height: 18px; padding: 10px 10px 0 10px; text-align: right; color: white; }
    #footer a { color: white; }
    Thanks in advance!

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    1) .commentlist p {line-height:1.5}

    2) Move the footer
    Code:
    </ul>
    
    </div>
    
    </div>
    <div id="footer">
    
    <p>Copyright &#194;&#169; 2009 <a href="http://baybridgebaseball.com/" title="Bay Bridge Baseball">Bay Bridge Baseball</a> is Proudly Powered by <a href="http://wordpress.org/">Wordpress</a>. Theme by <a href="http://www.the-cloisters.net/">The Cloisters</a> 
    &nbsp;</p>
    
    <div class="subscribe"><a href="http://baybridgebaseball.com/feed/">&nbsp;RSS</a></div>
    </div>
    </div>
    <script type="text/javascript">
    Last edited by Fang; 02-11-2009 at 04:35 AM.
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    Feb 2009
    Posts
    24
    Thanks!

    Those were both simple.

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