By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,606 Members | 2,016 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,606 IT Pros & Developers. It's quick & easy.

Image Repeat CSS

kestrel
Expert 100+
P: 1,071
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.
thanks

heres wat i have:
CSS:
Expand|Select|Wrap|Line Numbers
  1. .buttonscontainer {width: 200px;}
  2.  
  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;}
  12.  
  13. .buttons a:hover {background-color: #989898;
  14. color: #000000;
  15. text-decoration: none;
  16.  
  17. }
  18.  
  19. p {
  20.     background-image: url(imagebg.jpg);
  21.     background-repeat: repeat-x; 
  22. }
[HTML]
<html>
<head>

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

</head><body>

<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>
</div>
</div>
</body>
</html>[/HTML]

i just need to know how to make that background image repeat in my html file,
thanks.
Aug 2 '06 #1
Share this Question
Share on Google+
1 Reply


kestrel
Expert 100+
P: 1,071
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.