Log In · Register

 
Web Hosting, .html files?, please help !
nikx618
post Jul 30 2008, 12:01 AM
Post #1


asdfghjkl;
******

Group: Official Designer
Posts: 1,121
Joined: Jul 2008
Member No: 665,416



okay, so i made a file on notepad, and saved it as a .html file.
right?
inside the .html file, is it just content? or is it the whole website template too?
like, do i copy the template EVERY time, i make a .html file, with different content?

&after i loaded the .html file to cPanel on 000webhost.com
i tried to make a link like this
<p><a class="menu" href="root/layoutspage.html" target="_self">layouts</a><br />
&it does not work, it shows

***Error 404 - The Webpage cannot be found

Most likely causes:

* You clicked a link that can be outdated
* You are trying to access file that does not exists on server
* Domain you are trying to access is not configured on this server (website was removed or is not setup or DNS has not propagated yet).***


i mean, wtf is with that. i loaded the .html file to the root directory, and it says it cannot be found.

anyone please help?
i'm going crazy. xP

this is the site
http://subliminalgreen.net76.net/



thanks in advance[:
 
 
Start new topic
Replies
Smarmosaur
post Jul 30 2008, 01:05 PM
Post #2


AKA RockIt Studios
******

Group: Official Member
Posts: 2,286
Joined: Jun 2006
Member No: 421,809



yes, with HTML, you have to put the template in each page. to save some time srolling, you can make a seperate file named style.CSS, put your CSS in there (without style tags), and link it in each page, using this:
CODE
<link href="style.css" rel="stylesheet" type="text/css" />


note, you could also use some sort of frames (iframe would be your best bet, they're easier). frames are exactly as they sound, a frame. it lets you load a new "page" (which would be just a file with the content) in the selected area. it also cuts down on load time for your page.
you can find an iframe on the internet, or click here to go to the one here on CB.
 

Posts in this topic


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: