View Full Version : question about making simple welcome page
dplevy
12-18-2007, 09:27 PM
im looking to add a simple welcome page to my site. just something basic where theres just a full page image, that when you click on it it takes you to the forums. i already have the image, and i know what to do with the redirects and everything. what i need to know is, what would be the code i need to make the php file?
--------------- Added 1198021321 at 1198021321 ---------------
hope i worderd that well.
5th-Level
12-19-2007, 10:30 AM
It can be a simple HTML file.
All you do is align the image as "Absolute Middle" and then redirect it to your forums. If you still need help PM me and I can write the code up for you.
dplevy
12-19-2007, 12:47 PM
pm sent. yeah. just looking for the code so that the image is centered, and it will take you to www.mysite.com/index.php when clicked.
dplevy
12-20-2007, 08:57 PM
somebody, anybody? lol.
SEOvB
12-20-2007, 09:23 PM
<head>
<title>Enter Page Title</title>
<meta name="keywords" content="enter your keywords" />
<meta name="description" content="enter your description" />
</head>
<body>
<div align="center">
<a href="http://link.com/to/your/forum" rel="nofollow" target="_blank"><img src="/path/to/image/" border="0"></a>
</div>
</body>
dplevy
12-29-2007, 03:56 AM
okay, just one thing, what are "keywords" and "description" for? is that where i put the link to the image i want displayed?
5th-Level
12-30-2007, 12:41 AM
What search engines look for.
dplevy
01-08-2008, 11:43 PM
okay, i got it working.. now how do i add a page title to that?
--------------- Added 1199843486 at 1199843486 ---------------
and also, how do i make it so the background of the page is a color?
--------------- Added 1199917631 at 1199917631 ---------------
i have like a wallpaper that i used for the skin on the site. need the line of code that will let me put it behind the image.
5th-Level
01-09-2008, 09:30 PM
Change <body> to <body bgcolor="COLOR">
To add a title:
under the <head> tag enter <title>WEBSITE TTLE</title>
To add wallpaper:
Find <body> and change to <body background="URL">
dplevy
02-06-2008, 06:04 PM
one more question, i got this working and its up and everything is cool. how can i change it so it opens the page in the same window though? it opens a new one when you click on the image?
Brian30fl
02-06-2008, 09:18 PM
replace this <div align="center">
<a href="http://link.com/to/your/forum" rel="nofollow" target="_blank"><img src="/path/to/image/" border="0"></a>
</div>
With
<div align="center">
<a href="http://link.com/to/your/forum"><img src="/path/to/image/" border="0"></a>
</div>
dplevy
02-06-2008, 11:27 PM
replace this <div align="center">
<a href="http://link.com/to/your/forum" rel="nofollow" target="_blank"><img src="/path/to/image/" border="0"></a>
</div>
With
<div align="center">
<a href="http://link.com/to/your/forum"><img src="/path/to/image/" border="0"></a>
</div>
just tried that.. same thing. still opens in new window.
Brian30fl
02-07-2008, 10:42 AM
just tried that.. same thing. still opens in new window.
hmm it shouldnt have... the part of the code that makes it open new window is
rel="nofollow" target="_blank
oh and if you are useing firefox make sure you clear your cache before testing again....
dplevy
02-13-2008, 11:38 PM
yeah, its fixed. just had to clear the cache.
one more question though if you guys dont mind. lol.
the image is centered to the top of the page. is it possible to have it centered in both directions so its actualy in the dead center of the page? know what i mean?
SEOvB
02-14-2008, 04:03 PM
Not really, vertical aligning the image will be pretty hard. You could add a couple <br /> after the <body> tag to move it down some, but getting it aligned vertically will be a pain.
Or you can read and try to understand this article: http://www.jakpsatweb.cz/css/css-vertical-center-solution.html
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.