Go Back   Webmaster Forum > Development > Web Development > HTML and CSS
REMOVE the ads below !
Reply
 
LinkBack Thread Tools
  # 1 (permalink)
Old
Senior Geek
Posts: 559
Join Date: Nov 2007
iTrader: (0)
Location: Romania
HTML Code for repeated background ? - 11-27-2007

What's the code.. , when I will write on my template , and background beeing repeated .. :|
Reply With Quote
  # 2 (permalink)
Old
Junior Geek
Posts: 55
Join Date: Feb 2007
iTrader: (0)
Re: Code - 11-28-2007

if using css

Code:
body 
{
background-image: url(image.png);
background-repeat: repeat;
}


:giggle: i cant put my signature here please fix character limit
Reply With Quote
  # 3 (permalink)
Old
Senior Geek
Posts: 559
Join Date: Nov 2007
iTrader: (0)
Location: Romania
Re: Code - 11-28-2007

Thank's kirby , for loong timp i was searching this code !!
Thankss
Reply With Quote
  # 4 (permalink)
Old
The Computer Addict !
Posts: 1,996
Join Date: Feb 2007
iTrader: (0)
Location: Bhopal (MP, India)
Re: Code - 11-28-2007

Thanks kirby.

Btw, some developers use this too :
(to cut down on the code length)

Code:
body
{
   background: url(image.png) repeat;
}
Thanx,
Shadab.
Reply With Quote
  # 5 (permalink)
Old
Senior Geek
Posts: 559
Join Date: Nov 2007
iTrader: (0)
Location: Romania
Re: Code - 11-28-2007

I will try the both codes !
Thank's for help me :P
Reply With Quote
  # 6 (permalink)
Old
Senior Geek
Posts: 559
Join Date: Nov 2007
iTrader: (0)
Location: Romania
Re: Code - 12-06-2007

Where to put this code?
Reply With Quote
  # 7 (permalink)
Old
Regular Geek
Posts: 308
Join Date: Nov 2007
iTrader: (0)
Re: Code - 12-07-2007

In your css file.
Reply With Quote
  # 8 (permalink)
Old
Senior Geek
Posts: 559
Join Date: Nov 2007
iTrader: (0)
Location: Romania
Re: Code - 12-08-2007

But I didn't create a CSS File .
I want to put this in the website source
Reply With Quote
  # 9 (permalink)
Old
The Computer Addict !
Posts: 1,996
Join Date: Feb 2007
iTrader: (0)
Location: Bhopal (MP, India)
Re: Code - 12-08-2007

then use this piece of code :

HTML Code:
<style><!--

body
{
  background: url(your/image/url.gif) repeat;
}

--></style>
inside the <head> ... </head> tags of your document.

-Shadab.
Reply With Quote
  # 10 (permalink)
Old
Senior Geek
Posts: 559
Join Date: Nov 2007
iTrader: (0)
Location: Romania
Re: HTML Code for repeated background ? - 12-09-2007

Guys you dont understand What I want to do ...
So look

img1.JPG

Not the BACKGROUND !
This I want to be repeated ( the blue )

img2.JPG

Last edited by Shadab : 12-10-2007 at 10:21 AM.
Reply With Quote
Reply


Thread Tools



Advertise Here for just $6 per month

vBulletin®, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd. | SEO by vBSEO | Skin developed by vBStyles.com