Powered by Invision Power Board

 
    Reply to this topicStart new topicStart Poll

> I'm making a web page, for the trillionth time
South Africa
Tri
Posted: Jan 24 2006, 03:19 PM
Quote Post


Courtesy of DJ Elly. (lol jsr)
[M][*][*][*][*]
[*][*][*]

Group Icon
Group: Moderators
Posts: 11832
Member No.: 836
Joined: 17-February 05

Status: (0d) [--]


And I need a bit of help. How do you set an image as a background?


--------------------
PMEmail PosterAOLMSN
Top
United States
Slash
Posted: Jan 24 2006, 03:37 PM
Quote Post


Hmph...what a fool...
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 2363
Member No.: 1561
Joined: 26-October 05

Status: (0d) [--]


Do you want the HTML code for it, or what codes do you use?


--------------------
A New Adventure Coming Soon!!!
user posted image
PMEmail Poster
Top
South Africa
Tri
Posted: Jan 24 2006, 03:43 PM
Quote Post


Courtesy of DJ Elly. (lol jsr)
[M][*][*][*][*]
[*][*][*]

Group Icon
Group: Moderators
Posts: 11832
Member No.: 836
Joined: 17-February 05

Status: (0d) [--]


QUOTE (Slash @ Jan 24 2006, 03:37 PM)
Do you want the HTML code for it, or what codes do you use?

HTML, although a mentor wouldn't hurt. I'm still pretty n00bish.


--------------------
PMEmail PosterAOLMSN
Top
United Kingdom
Sin Flametale
Posted: Jan 24 2006, 03:51 PM
Quote Post


HA HA HA
[*][*][*]

Group Icon
Group: Members
Posts: 4771
Member No.: 1723
Joined: 12-December 05

Status: (0d) [--]


Find an online HTML guide


--------------------
user posted image user posted image
user posted imageuser posted imageuser posted image

Note: I had to remove TY+V and MFGGK2 Banners, please note i do still support them both :E
PMEmail PosterAOLMSN
Top
United States
Slash
Posted: Jan 24 2006, 03:55 PM
Quote Post


Hmph...what a fool...
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 2363
Member No.: 1561
Joined: 26-October 05

Status: (0d) [--]


QUOTE (Tri @ Jan 24 2006, 11:43 PM)
HTML, although a mentor wouldn't hurt. I'm still pretty n00bish.

CODE
<BODY BACKGROUND="URL of the imge you want">

but that in the headers.


--------------------
A New Adventure Coming Soon!!!
user posted image
PMEmail Poster
Top
Unspecified
Draco Icebane
Posted: Jan 24 2006, 04:44 PM
Quote Post


Standard Member
[*][*][*][*][*]


Group Icon
Group: Banned
Posts: 52997
Member No.: 10
Joined: 13-October 03

Status: (71582612m) [XX]


EDIT: Some browsers do not support CSS and this will not function in them

<html>
<head>
<title>
Tri's Pimp Page
</title>
<link rel="stylesheet" type="text/css" href="TPP.css">
</head>


now put TPP.css next to it, open it up with a text editor and type

body
{
background: #hexadecimal url('X') no-repeat fixed center;
}

hexadecimal is a hexadecimal number from 000000 (black) to FFFFFF (white). This is the color behind any transparent parts of the image. The first two numbers are red, the next two green and the last two blue

Remove no-repeat if you want it to wrap, remove fixed if you do not want a watermark, and if it tiles center shouldn't do anything

X is the filename of your image. If your image is in a folder "img" and that folder is right next to the web page you want this image on, you would put url('img/ImageName.ext');

Now just put that <link> tag in your header after the title, for every page that has that as the body's background image, and you can change the lot of them by changing that one CSS file

This post has been edited by Draco Icebane on Jan 24 2006, 04:46 PM
PM
Top
South Africa
Tri
Posted: Jan 24 2006, 05:16 PM
Quote Post


Courtesy of DJ Elly. (lol jsr)
[M][*][*][*][*]
[*][*][*]

Group Icon
Group: Moderators
Posts: 11832
Member No.: 836
Joined: 17-February 05

Status: (0d) [--]


QUOTE (Draco Icebane @ Jan 24 2006, 04:44 PM)
EDIT: Some browsers do not support CSS and this will not function in them

<html>
<head>
<title>
Tri's Pimp Page
</title>
<link rel="stylesheet" type="text/css" href="TPP.css">
</head>


now put TPP.css next to it, open it up with a text editor and type

body
{
background: #hexadecimal url('X') no-repeat fixed center;
}

hexadecimal is a hexadecimal number from 000000 (black) to FFFFFF (white). This is the color behind any transparent parts of the image. The first two numbers are red, the next two green and the last two blue

Remove no-repeat if you want it to wrap, remove fixed if you do not want a watermark, and if it tiles center shouldn't do anything

X is the filename of your image. If your image is in a folder "img" and that folder is right next to the web page you want this image on, you would put url('img/ImageName.ext');

Now just put that <link> tag in your header after the title, for every page that has that as the body's background image, and you can change the lot of them by changing that one CSS file

Be my mentor man.


--------------------
PMEmail PosterAOLMSN
Top
United States
Retriever II
Posted: Jan 24 2006, 05:40 PM
Quote Post


Catalyst
[H][*][*][*][*]
[*][*][*][*][*]


Group Icon
Group: Members
Posts: 18290
Member No.: 52
Joined: 13-October 03

Status: (0d) [--]


QUOTE (Draco Icebane @ Jan 24 2006, 04:44 PM)
EDIT: Some browsers do not support CSS and this will not function in them

There's no good reason to consider that anymore.


--------------------

PMEmail PosterUsers WebsiteICQAOLMSN
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

  Topic Options Topic Options Reply to this topicStart new topicStart Poll

 




[ Script Execution time: 0.0766 ]   [ 14 queries used ]   [ GZIP Enabled ]   [ Server Load: 0.61 ]