Kreative Flow Designs
Thanks for visiting Kreative Flow. You'll recieve the best tutorials, resources and graphic information here.

Do register if you are a guest for exclusive content only for members!


Body bg img?

View previous topic View next topic Go down

Body bg img?

Post by erione on Fri 12 Jun 2009, 8:50 am

Anyhere here who knows the tag for background images in plain html? Thanks, I can't quite figure it out.
avatar
erione
Global Moderator
Global Moderator

Number of posts : 1285
Flow Points : 2110
Reputation : 21
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: Body bg img?

Post by Adil on Fri 12 Jun 2009, 10:06 am

This one is for the whole page through the body tag Smile

Code:
body {
  background-image: url("http://yoursite.com/images/image_name.gif");
  background-position: 50% 50%;
  background-repeat: no-repeat;
}


The CSS version is

Code:
body {
  background: url("http://yoursite.com/images/image_name.gif") 50% 50% no-repeat;
}

_________________
Three R's. Read all forum rules. Respect all members, Report all problems!



avatar
Adil
Founder
Founder

Number of posts : 2488
Flow Points : 3875
Reputation : 43
Warnings :
0 / 1000 / 100

Mood :

View user profile http://www.kreativeflow.net

Back to top Go down

Re: Body bg img?

Post by erione on Fri 12 Jun 2009, 10:14 pm

Thanks Smile Any ideas how to make it only a part of the page and not the whole page?
avatar
erione
Global Moderator
Global Moderator

Number of posts : 1285
Flow Points : 2110
Reputation : 21
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: Body bg img?

Post by Adil on Sat 13 Jun 2009, 5:42 am

Ill take a look and let you know ..

_________________
Three R's. Read all forum rules. Respect all members, Report all problems!



avatar
Adil
Founder
Founder

Number of posts : 2488
Flow Points : 3875
Reputation : 43
Warnings :
0 / 1000 / 100

Mood :

View user profile http://www.kreativeflow.net

Back to top Go down

Re: Body bg img?

Post by erione on Mon 15 Jun 2009, 8:12 am

lol, adil.

I stumbled upon a site and saw this tag for bg img:

Code:
<body background="images/plainbgrnd.jpg">

And it worked, lol :p

_________________
| Universal.Rules |
A motto never lives up to it's principle when your not guided enough in life.
Yet, a simple smile is destructive enough to change ones view.



avatar
erione
Global Moderator
Global Moderator

Number of posts : 1285
Flow Points : 2110
Reputation : 21
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: Body bg img?

Post by Adil on Mon 15 Jun 2009, 8:15 am

really? lol that simple ... :s

_________________
Three R's. Read all forum rules. Respect all members, Report all problems!



avatar
Adil
Founder
Founder

Number of posts : 2488
Flow Points : 3875
Reputation : 43
Warnings :
0 / 1000 / 100

Mood :

View user profile http://www.kreativeflow.net

Back to top Go down

Re: Body bg img?

Post by erione on Mon 15 Jun 2009, 8:22 am

Yeah but it keeps repeating, lol.

_________________
| Universal.Rules |
A motto never lives up to it's principle when your not guided enough in life.
Yet, a simple smile is destructive enough to change ones view.



avatar
erione
Global Moderator
Global Moderator

Number of posts : 1285
Flow Points : 2110
Reputation : 21
Warnings :
0 / 1000 / 100

Mood :

View user profile

Back to top Go down

Re: Body bg img?

Post by Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum