Jump to content
xisto Community
Sign in to follow this  
Kyle Perkins

Question About Html Need help

Recommended Posts

Hello, I was wondering if there is a way to simply create a site using pure html code. I use Macromedia Dreamweaver MX, and have a site made already, but I can't figure out how to get the html code onto the web using cpanel. Also, would I have to upload the pictures for the site?-Kyle

Share this post


Link to post
Share on other sites

Hello, I was wondering if there is a way to simply create a site using pure html code.  I use Macromedia Dreamweaver MX, and have a site made already, but I can't figure out how to get the html code onto the web using cpanel.  Also, would I have to upload the pictures for the site?

 

-Kyle

<{POST_SNAPBACK}>


I would suggest that you arrange all of your html, jpg, gif, etc. files on your hard drive to mimmick how you want them arranged on the server.

 

Then you will need only to upload the single directory to public_html.

 

This will save you a lot of work and prevent error.

 

When you design your site, use relative links for everything that will be on the server, that way, when to upload, you won't have fix all of the links.

 

vujsa

Share this post


Link to post
Share on other sites

I just remebered.Dreamweaver should have a publish option which will let you enter your ftp information and will automaticlly.I can't say for sure because I've never used Dreamweaver but most of the programs I've used have that option.This will allow you to upload the graphics at the same time as the html file. Additionally, it will fix all of your links to work correctlly inside your website.Happy coding, :) vujsa

Share this post


Link to post
Share on other sites

If you're afraid of screwing up all your links to your images and files, it's better if you publish to your Xisto account with the built-in ftp or publish function in your Dreamweaver or Frontpage. Moreover, Frontpage's built-in upload function can keep track of all the files between your remote server and local computer and delete the files on your remote server if you deleted the files on your local computer. It really saves u time and space.

Share this post


Link to post
Share on other sites

Thanks for the suggestions.I uploaded them all by hand into the Public_HTML folder, putting images in Public_HTML/Images. Is there anything else I have to do? Sorry for all these questions, but I'm coming from free web hosting sites like Freewebs and Angelfire...so I'm a little overwhelmed.-Kyle

Share this post


Link to post
Share on other sites

Well, if it works, then you've got it else let us know.

 

The only problem that you could have is broken links to your images. If that is the case, you'll need to manually edit the html to point to your images correct location.

 

Basically, point here:

http://forums.xisto.com/no_longer_exists/404.png

or:

/image.gif

 

 

Not here:

file:///C:/My%20Documents/image.gif

 

Good luck

vujsa

Share this post


Link to post
Share on other sites

Yeah, I thought I might have to change the code that points to where the image is. But, nothing worked at all. I tried the site, and still shows the page that says "If you are seeing this message then it means that your site is up and your account is functioning properly."Any thoughts?-Kyle

Share this post


Link to post
Share on other sites

Yeah, I thought I might have to change the code that points to where the image is.  But, nothing worked at all.  I tried the site, and still shows the page that says "If you are seeing this message then it means that your site is up and your account is functioning properly."

 

Any thoughts?

 

-Kyle

<{POST_SNAPBACK}>

Hey, no problem here. you'll need to change the name of you main page to index.htm or index.html. This will be the page that automatically opens when you type http://forums.xisto.com/no_longer_exists/

 

Additionally, you can always point directly to the file:

http://forums.xisto.com/no_longer_exists/index.html

 

hope this helps, :)

vujsa

Share this post


Link to post
Share on other sites

Alright, I've got the site up, but I still can't get the images to work. I've tried editing the code to say the images are at http://forums.xisto.com/no_longer_exists/, Ive tried http://forums.xisto.com/no_longer_exists/, and I've tried just /public_html/images/imagename.html. None of the above have worked. Any ideas?

Thanks,
-Kyle

Share this post


Link to post
Share on other sites

Dreamweaver is very easy to use , vujsa u are right Dreamweaver should have a publish option but I always using cuteftp .Kyle Perkins , I think you are the beginner of web . The image ... it is no need to change the code (chmod) it is auto detect by the publish programme . If u really upload the xxx.html onto ./public_html/ , I think it is no problem , I want to ask have u change the chmod of "imagename.html" ? and what programme you upload the web ?give you a advise , cpanel file manager is easy to use , you can try it .

Share this post


Link to post
Share on other sites

Alright, I've got the site up, but I still can't get the images to work. I've tried editing the code to say the images are at http://forums.xisto.com/no_longer_exists/, Ive tried http://forums.xisto.com/no_longer_exists/, and I've tried just /public_html/images/imagename.html. None of the above have worked. Any ideas?

 

Thanks,

-Kyle

<{POST_SNAPBACK}>

The graphics issue

Well, what your site shows is already in the folder /public_html/ so when you give the source of the image as

<img src="/public_html/images/mainbanner.jpg">

It will make the computer think the image is in public_html/public_html/images/ See the difference, the actual graphic is in public_html/images/

 

You're best off using

<img src="images/mainbanner.jpg">

 

The forthslash BEFORE images should not be there, because that tells the computer to go look in the folder ABOVE the one you're currently in (ok I am not explaining this very clearly - sorry - I am trying LOL)

 

Basically, what your site displays is the content of the folder "public_html" (without quotes), so when you want to link things (be that pages or images) you don't have to include that folder or the entire sitename. It's called relative linking, it makes it easier to relocate files. What you need to remember is of ALL the folders you find on your space on Xisto.com, only "public_html" contents (the files WITHOUT a . before them) will be shown when someone surfs to your site. So when you go to http://forums.xisto.com/no_longer_exists/ you are already in "public_html" which then makes the need to specify that folder when linking unnecessary.

 

The non working links

Kyle, I also noticed your links. For example "Information" links to "http://forums.xisto.com/no_longer_exists/; This file doesn't exist, well, I am sure it does exist, the link is wrong. The link should be (in code of course)

<a href="information.html">Information</a>

Assuming that you didn't place that file in the sub directory of "public_html" of course.

 

I hope this explained it at least somewhat :D It's the explaining part that is hard LOL If you have any other questions, feel free to post them... And of course, someone will probably do a better job in answering you than I can...

 

Editted, because I learned that there is a code to highlight HTML in UBBC ;) (thank you spacewaste :D)

Edited by moonwitch (see edit history)

Share this post


Link to post
Share on other sites

Thank you!Don't be so modest, that was the best explanation I've heard yet. Why, it almost sounds like you're a moderator or something... :DAnyway, my images work now, and I am grateful to you. Also, the links that don't work don't work because I haven't created those sites yet. Only the "Home" and "Forums" links should work. I just used "information_database.html" or something like it as a marker so I wouldn't get confused. Eventually, I'll get those sites made, and those links will work.Once again, thank you, and if I ever need help again I know who to ask! :D -Kyle

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.