• 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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Excellent! Makes you feel good, huh! ??

    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 https://www.digitalencore.co.uk

    Thanks for any help in advance

    Thread Starter Glenn Ansley

    (@blepoxp)

    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.

    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

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘My WordPress site on CSSMania.com’ is closed to new replies.