Problem CSS display banner

2 replies
  • WEB DESIGN
  • |
Hello

I have a small problem in the tutorial of the CSS (see below).


Code:
 
body
{
   width: 760px;
   margin: Self; / * To center our page * /
   margin-top: 20px; / * To avoid sticking with the top of the browser window. Try to show off! * /
   margin-bottom: 20px;    / * Ditto for the bottom of the browser * /
   background-image: url ("images / fond.png); / * A little background image to avoid having an old white background: p * /
}
<code type="Css">
#banner #css #display #problem
  • Profile picture of the author powerspike
    You didn't say what your problem is, or show the complete code (would be best to post the html as well where the css applied)

    BUT i'm going to take a guess that
    Code:
    background-image: url ("images / fond.png);
    should be
    Code:
    background-image: url ("http://www.warriorforum.com/images/fond.png");
    (remove the http://www.warrioforum.com - it keeps adding it automaticlly)
    {{ DiscussionBoard.errors[2906545].message }}
  • Profile picture of the author mahesh2010
    Originally Posted by mushget View Post

    Hello

    I have a small problem in the tutorial of the CSS (see below).


    Code:
     
    body
    {
       width: 760px;
       margin: Self; / * To center our page * /
       margin-top: 20px; / * To avoid sticking with the top of the browser window. Try to show off! * /
       margin-bottom: 20px;    / * Ditto for the bottom of the browser * /
       background-image: url ("images / fond.png); / * A little background image to avoid having an old white background: p * /
    }
    <code type="Css">
    Show full code and also mention what is the problem in your code this would help us to fix it don't leave any post incomplete
    {{ DiscussionBoard.errors[2906606].message }}

Trending Topics