Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   Internet Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=25)
-   -   Help (https://www.cableforum.uk/board/showthread.php?t=3588)

MadGamer 21-10-2003 17:43

Help
 
Hi, i have made a Welcome page for my website and i have uploaded it but i can't seem to get it as the main page when i go to my website to try it out. what am i doing wrong? can anyone help?

thanks

WNA

Mark W 21-10-2003 17:45

Re: Help
 
have you called it index.htm or index.html?

spacedhopper 21-10-2003 17:46

Re: Help
 
have you named the inital page "index.html"?

Chris 21-10-2003 17:46

Re: Help
 
Quote:

Originally Posted by WNA
Hi, i have made a Welcome page for my website and i have uploaded it but i can't seem to get it as the main page when i go to my website to try it out. what am i doing wrong? can anyone help?

thanks

WNA

Now I'm not an expert at all, but ... afaik, the page has to be called 'index.htm' in order to be recognised by default as the first page to be loaded when someone goes to your site. Check that first, if you've got that sorted, I haven't a scooby.

MadGamer 21-10-2003 17:49

Re: Help
 
If you go to my website you'll see what i mean

spacedhopper 21-10-2003 17:51

Re: Help
 
wots the link?

EDIT: der found it!!

spacedhopper 21-10-2003 17:54

Re: Help
 
Wot page should it be? Do you mean you have a splash page? I don't get it?

Mark W 21-10-2003 17:55

Re: Help
 
Quote:

Originally Posted by WNA
If you go to my website you'll see what i mean

is that your welcome page you wanted?

MadGamer 21-10-2003 17:58

Re: Help
 
1 Attachment(s)
This is the page i want but i can't work out how to get it as the main page. Also i want the links in the centre of the page.

spacedhopper 21-10-2003 18:02

Re: Help
 
you need to name that page (the one you attached) index.html then rename the file that is being initally loaded at the moment something else, like "home.html". Then access that page from the "click here to enter" link.

MadGamer 21-10-2003 18:03

Re: Help
 
Quote:

Originally Posted by Mark W
have you called it index.htm or index.html?

index.html

spacedhopper 21-10-2003 18:10

Re: Help
 
it looks like you have renamed your file "index.html.html"

take off the final ".html" and it will work!!

Mark W 21-10-2003 18:11

Re: Help
 
Quote:

Originally Posted by WNA
index.html

hmmmm........ well, the page that is up there at the mo, is that also called index.html ? if so, change it to something else

*edit* as for the center thing - make sure you have the tag <center> at the start of the things you want centered (ending with </center>)

MadGamer 21-10-2003 18:12

Re: Help
 
1 Attachment(s)
i now get this

spacedhopper 21-10-2003 18:14

Re: Help
 
see above post!!

Mark W 21-10-2003 18:15

Re: Help
 
Quote:

Originally Posted by WNA
i now get this

as spacedhopper has said, you got it called index.html.html - lose the last .html and it should be sorted

MadGamer 21-10-2003 18:20

Re: Help
 
Off of the index.html?

Mark W 21-10-2003 18:22

Re: Help
 
Quote:

Originally Posted by WNA
Off of the index.html?

yep
so rather than index.html.html you only have index.html

MadGamer 21-10-2003 18:29

Re: Help
 
1 Attachment(s)
Now i get

Mark W 21-10-2003 18:32

Re: Help
 
Quote:

Originally Posted by WNA
Now i get

change the file welcome.html to index.html

ive just looked at that welcome page in notepad, you got this

<body>
<h1><font face="arial" font color= "0000FF">WELCOME TO MY WEBSITE</h1></font>
<a href="http://www.nicka.demon.co.uk/index.html">CLICK HERE TO ENTER </a> <p>

<body bgcolor= "66FFCCAA">

once you have changed the name of it to index.html try changing to the bits in bold......

<body>
<h1><font face="arial" font color= "0000FF"> <center>WELCOME TO MY WEBSITE</h1></font>
<a href="http://www.nicka.demon.co.uk/main.html">CLICK HERE TO ENTER </a></center> <p>

<body bgcolor= "66FFCCAA">

thatll take you from the welcome page to your original page.....

MadGamer 21-10-2003 18:40

Re: Help
 
Got it working but... i want the links in the centre of the page now how do i do that?

Mark W 21-10-2003 18:41

Re: Help
 
Quote:

Originally Posted by WNA
Got it working but... i want the links in the centre of the page now how do i do that?

look at my post above ;) the center tags.....

MadGamer 21-10-2003 19:02

Re: Help
 
Right, i want an image on the welcome page in the centre below CLICK HERE TO ENTER. Whats the code for it?

spacedhopper 21-10-2003 19:06

Re: Help
 
Perhaps try here: http://hotwired.lycos.com/webmonkey/...ml_cheatsheet/

I found the best way to learn is to read and practice. Also look at other people's websites, if you like what they have done, look in the source code and you'll pick up loads of cool tips. If you can't be assed to do that then i suggest you goto sites like: http://www.dynamicdrive.com/ which have lots of pre-coded bits and bobs you can just copy and paste into your page. Good luck!!

Mark W 21-10-2003 19:10

Re: Help
 
Quote:

Originally Posted by WNA
Right, i want an image on the welcome page in the centre below CLICK HERE TO ENTER. Whats the code for it?

<img src=http://www.nicka.demon.co.uk/path of picture on your webspace/picture.jpg>

Mark W 21-10-2003 19:14

Re: Help
 
Quote:

Originally Posted by spacedhopper
Perhaps try here: http://hotwired.lycos.com/webmonkey/...ml_cheatsheet/

I found the best way to learn is to read and practice. Also look at other people's websites, if you like what they have done, look in the source code and you'll pick up loads of cool tips. If you can't be assed to do that then i suggest you goto sites like: http://www.dynamicdrive.com/ which have lots of pre-coded bits and bobs you can just copy and paste into your page. Good luck!!

i used http://www.mcli.dist.maricopa.edu/tut/ - pretty simple to get your head round :)

MadGamer 21-10-2003 19:17

Re: Help
 
This is the code im using

<img src=http://www.nicka.demon.co.uk/images/Pict0020.JPG"><center> <p>

Mark W 21-10-2003 19:29

Re: Help
 
Quote:

Originally Posted by WNA
This is the code im using

<img src=http://www.nicka.demon.co.uk/images/Pict0020.JPG"><center> <p>

yea, that looks fine to me tho if that is at the bottom of your page that <center> really wants to be </center>

MadGamer 21-10-2003 19:33

Re: Help
 
Still no luck its at the left hand side and i want it in the CENTRE.

Mark W 21-10-2003 19:39

Re: Help
 
Quote:

Originally Posted by WNA
Still no luck its at the left hand side and i want it in the CENTRE.

how are you spelling center? ER not RE

so its

<center> text you want in the middle </center>

Chris 21-10-2003 19:47

Re: Help
 
You spelled center correctly.

The reason it's not working is that you still have a </center> tag in your 'click here to enter' line. Remove it.

The entire chunk you want centred should begin <center> and there should be no </center> tag until after the last bit you want in the centre.

The whole lot should look like this:

Code:

<html>

<head>

<title>Welcome</title>

<body>
<h1><font face="arial" font color= "0000FF"><center> WELCOME TO MY WEBSITE</h1></font>
<a href="http://www.nicka.demon.co.uk/main.html">CLICK HERE TO ENTER </a><p>
<img src="http://www.nicka.demon.co.uk/images/Pict0020.JPG"></centER> <p>
<body bgcolor= "66FFCCAA">

</body>
</html>


MadGamer 21-10-2003 20:19

Re: Help
 
1 Attachment(s)
What about placing images on the righthand side like this

Chris 21-10-2003 20:25

Re: Help
 
Quote:

Originally Posted by WNA
What about placing images on the righthand side like this

Try

Code:

<img src="your image source here" align="right">
but make sure you don't have any open <center> tags covering the same line.

MadGamer 21-10-2003 20:28

Re: Help
 
Still not right i want the image on the same level as the Holly Valance image.

Mark W 21-10-2003 20:45

Re: Help
 
not sure if my memory is failing me, but i would have done

<div align=right> <img src=http://www.nicka.demon.co.uk/images/*the picture you want*.JPG></div>

Chris 21-10-2003 20:48

Re: Help
 
Quote:

Originally Posted by WNA
Still not right i want the image on the same level as the Holly Valance image.

Right ... to do that effectively, you're going to have to set up a table with at least two cells in a row. Place Holly Valance in the first cell with align="left" and the new image in the second cell with align="right".

try this:
Code:

<table border="0" width="100%" cellpadding="0" cellspacing="0" align="center">
  <tr>
    <td><img src="lefthand pic" align="left" /></td>
    <td><img src="righthand pic" align="right" /></td>
  </tr>
</table>


MadGamer 21-10-2003 20:49

Re: Help
 
Still not right

MadGamer 21-10-2003 20:56

Re: Help
 
1 Attachment(s)
This is how i want it positioned

Chris 21-10-2003 21:01

Re: Help
 
Try adding a third table cell:

Code:

<td width="33%"></td>
This should force your second image towards the centre of the screen.

EDIT:

Can you post exactly the code you have used on that page so far, or put it somewhere we can link to it?


All times are GMT +1. The time now is 05:47.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum