468,556 Members | 2,380 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,556 developers. It's quick & easy.

Image Repeat CSS

1,071 Expert 1GB
im using externl css, and i have a menu, and i want to add some css, thta will make an image repeat at the top of my page.
i dont know how to sup into my html file, div or what ever.

heres wat i have:
Expand|Select|Wrap|Line Numbers
  1. .buttonscontainer {width: 200px;}
  3. .buttons a {color: #FFFFFF;
  4. background-color: #202020;
  5. padding: 6px;
  6. padding-left: 3px;
  7. display: block;
  8. font: 13px Arial, sans-serif;
  9. font-weight: bold;
  10. text-decoration: none;
  11. text-align: left;}
  13. .buttons a:hover {background-color: #989898;
  14. color: #000000;
  15. text-decoration: none;
  17. }
  19. p {
  20.     background-image: url(imagebg.jpg);
  21.     background-repeat: repeat-x; 
  22. }

<link rel="stylesheet" type="text/css"
href="external.css" />


<div class="buttonscontainer">
<div class="buttons">
<a href="index.html">Home</a>
<a href="service.html">Services</a>
<a href="location.html">Location</a>
<a href="about.html">About Us</a>
<a href="contact.html">Contact Info</a>

i just need to know how to make that background image repeat in my html file,
Aug 2 '06 #1
1 8083
1,071 Expert 1GB
Never mind, i figured i out...
thanks anyways
Aug 2 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by =?Utf-8?B?YzY3NjIyOA==?= | last post: by
10 posts views Thread by cjparis | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by UniDue | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.