WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] background img not repeating (9 posts)

  1. bonnerl17
    Member
    Posted 7 years ago #

    I've got a layout basically like the default layout. But the background img for the posts is not repeating and I can't figure out why. I've tried asking on some html forums but gotten no results. Here's the background img and here's the css for the div that has the img.

    #page

    {

    width: 800px;

    margin: 30px auto;

    background: url(images/lucas-postback-img.jpg) repeat-y scroll center top;

    }

    Here the link to my webpage so that you can see the html.

  2. Samuel B
    moderator
    Posted 7 years ago #

  3. bonnerl17
    Member
    Posted 7 years ago #

    Oh yea I forgot about that problem. But I don't think that it's cause I had that the background problem before it started doing that. But I shall fix that anyway.

  4. bonnerl17
    Member
    Posted 7 years ago #

    Ok the xhtml and the css is valid but no improvements with the background.

  5. bonnerl17
    Member
    Posted 7 years ago #

    bump

  6. bonnerl17
    Member
    Posted 7 years ago #

    Looking at the default template I found were the background img for the post area comes from but it doesn't make since as to how it works.

    <style type="text/css" media="screen">

    can someone explain what how it gets the code to add the background?

  7. bonnerl17
    Member
    Posted 7 years ago #

    Does anybody at least have an idea as how

    <style type="text/css" media="screen">

    gives the browser the css information:

    #page { background: url("http://bringeroflight.byethost18.com/wp-content/themes/default/images/kubrickbg.jpg") repeat-y top; border: none; }

    when using the default template?
    ??

  8. bonnerl17
    Member
    Posted 7 years ago #

    oh wait I just found that info. Now maybe I can get some where I hope, and if I do I'll mark this resolved while having fun doing so. :)

  9. bonnerl17
    Member
    Posted 7 years ago #

    Ok it suddenly occured to me that the reason the background isn't repeating and the footer moving down for the post is because the post are in a div that I've told to float left, but now I have to figure out how the fellow who wrote the default theme for the current wordpress counter balanced that. I'm going to mark this as resolved but any leads to help me solve that would be appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic