WordPress.org

Ready to get started?Download WordPress

Forums

My WordPress site on CSSMania.com (6 posts)

  1. Glenn Ansley
    Member
    Posted 7 years ago #

    I just wanted to thank everybody who has helped me with validation/etc for the last couple of weeks as I transferred my site from postnuke to wordpress. My site got picked up on CSSMania this morning. Thanks! If anybody needs help with validation, feel free to contact me. I learned a lot.

  2. Joni
    Member
    Posted 7 years ago #

    Excellent! Makes you feel good, huh! :-)

  3. digitalencore
    Member
    Posted 7 years ago #

    Hi there,

    Love the site - nice and clean. Just have to ask as you mentioned it in your message. I see that you have headers images for weblog, comments etc. How did you code it so you didnt have any validation issues? I have done a similar but alas I have issues with my span divs. Could you give me any ideas/help? Any would be appreciated?

    The site is http://www.digitalencore.co.uk

    Thanks for any help in advance

  4. Glenn Ansley
    Member
    Posted 7 years ago #

    Hi digitalencore, thanks for your comments. Both the text and the background are images. The text (weblog) is in my php file, wrapped in an h2. The background image (the black bar) is defined in my stylesheet for h2. See below:

    PHP Code
    <h2><img src="<?php bloginfo('stylesheet_directory')?>/images/weblog.gif" width="45" height="10" alt="Weblog" /></h2>

    CSS Code

    h2 {
    color:#fff;
    font-family:Arial, san-serif;
    font-size:14px;
    line-height:100%;
    margin:0;
    }
    
    #left h2 {
    background:url("/wp-content/themes/dd/images/header450.gif");
    height:24px;
    margin:0 0 14px;
    width:450px;
    }

    You may be able to include all the h2 in one definition, but I have two different sizes for the background at work and had to define those per the div they're in. Hope that helps.

  5. digitalencore
    Member
    Posted 7 years ago #

    Hi - cheers for the info - I can see how I could implement it - just needs a bit of tweaking with my stylesheet. Will give it a go later tonight. Again cheers for the help

  6. markwu
    Member
    Posted 7 years ago #

    My WP jewelry blog is Online jewelry store.
    Welcome to visit it!

Topic Closed

This topic has been closed to new replies.

About this Topic