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

Don't want image to repeat

P: 27
I can't get my laptop to widen without having it repeat. Is there anyway around this?

My code below:

thanks

<html>
<head>

<style type="text/css">




</style>

</head>

<body>
<div style="border:1px solid

white;width:100%;height:100%;background:url(http://upload.wikimedia.org/wikipedia/commons/thumb/c/cd/Maulringschluessel.jpg/110px-Maulringschlues

sel.jpg) top left repeat;">





<p style="color:#ff0000;font-size:100;text-align:center">.</p>






<table align="center" cellspacing="20">

<td background="http://www.parslaptop.com/images/lap_satellite%20_A105_2.jpg" width="200" height="200"></td>

<table cellspacing="5" align="center">
<td style="color:#ff0000;font-size:25"></td>


</table>
<p align="center"></p>
<form action="mailto:someone@hotmail.com" method="post" enctype="text/plain">
<p align="center"><textarea rows="10" cols="40">
</textarea></p>

<p align="center"><input type="submit" value="SUBMIT"></p>

</form>





</body>

</html>
Feb 9 '07 #1
Share this Question
Share on Google+
2 Replies


Expert 100+
P: 1,892
Please clarify your question. Also, to use a background image with CSS use this:
Expand|Select|Wrap|Line Numbers
  1. background-image: url('images/test.jpg');
  2.  

HTH,
Aric
Feb 10 '07 #2

100+
P: 254
Expand|Select|Wrap|Line Numbers
  1. background-repeat: no-repeat;
  2.  
If you dont want a background image to be repeat, then above style is suit for you.
Feb 10 '07 #3

Post your reply

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