Solved

Bonus points for this 2-for1 (Told you I'd be back...)

Posted on 1998-10-17
10
172 Views
Last Modified: 2013-12-25
I have created a backround in PaintPro, and want to use it for the backround for my web page. I have reset the colors to 256 (after creating) and saved to disk. The problem is the HTML to import. This cannot be saved as .gif in paint. So, here I am with a really cool backround, and cannot export.....I know that HTML <Backround> will only support .gif...so, do I convert, or is there a secret to making this work? (This is a really cool backround, so I am hoping SOMEONE can answer this....)
The second is a duh question, so I included it with the harder problem. How do I create multiple pages? For instance, I want to link my primary page to a second that has pictures, utilizing a "next" key of some sort.....for you web publishers-extrodinaire, this should be a no-brainer...
ALL POINTS GO TO THE ONE THAT CAN ***CLEARLY*** EXPLAIN BOTH!! GOOD LUCK!!!
0
Comment
Question by:JenniferM
  • 7
  • 2
10 Comments
 

Author Comment

by:JenniferM
Comment Utility
Edited text of question
0
 

Author Comment

by:JenniferM
Comment Utility
Adjusted points to 150
0
 

Expert Comment

by:john_19
Comment Utility
1)You could save it as a jpeg file & can have a samller gif version  link to it.

2) Put a hypertext link in your primary page to the second page which has pictures

 
0
 

Author Comment

by:JenniferM
Comment Utility
I understand how to link pages, just not how to, I guess, create some sort of  a subfolder for subsequent pages. Is there a tag that I use on my notepad, under the info for the first page. Do I start a new <body> tag? I just do not understand how to create multiple pages.
For the first part of the question, I need clarification on how to convert it from a .bmp to a .jpeg or .gif
0
 
LVL 1

Accepted Solution

by:
2718 earned 150 total points
Comment Utility
john_19's answers seem basically correct to me.

Regarding question #2:
you reply "I understand how to link pages, just not how to, I guess, create some sort of  a subfolder for subsequent pages.
Is there a tag that I use on my notepad, under the info for the first page. Do I start a new <body> tag? I just do not understand how to create multiple pages."

I would like to help you, Jennifer, but I HAVE NO IDEA what it is you are talking about. I don't understand your difficulty. ".... some sort of a subfolder for subsequent ... start a new <body> tag ... " ?  I am sincere and I don't mean to be rude, but I'm completely befuddled.

To create what you call "multiple pages" (in the simplest way - i.e. no frames) each web "page" is described IN ITS OWN HTML FILE - like for example page1.html, page2.html, page3.html, etc.
Does this address your "do I start a new <body> tag" question ?
At some point in page1.html you would place link (or links) to the web pages that are descibed by page2.html, page3.html, etc.

If you had been thinking you could write several web pages and have them all exist (be written/have all their HTML code) exist in one big html file - NO, YOU CANNOT DO THAT (easily) (to my knowledge.)

Each web page exists as an actual distinct, separate html file.

I will stop here because I might not even be answering your question, given my disclaimer that I'm not sure I even understood it.

Regarding question #1:
The HTML standard does not restrict the <body background="path/image_file"> to any particular format.
The problem is the BROWSERS will only accept those image formats that they are able to display (gif and jpg dominating.)
You fail to mention what picture format you currently have your wonderful, magestic background in at the moment.
The quickest solution to your problem is to, as john_19 said, convert your background to jpg.
There are various programs around (both little and big, both freeware and also for profit - $$$) that allow you to read in an image and then save it in a new standard. You need to get one of these programs and use it to convert your background to a jpg.
I suggest http://freewarehome.com/
Go there and look around, you should find something applicable.
Another option - do a web search for LViewPro - this is a common shareware program that can convert to jpg (among other formats.)

0
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:JenniferM
Comment Utility
Let me clarify, for I sometimes tend to overthink and not explain clearly. Say this format is my Notepad (where I create my HTML, I don't use FrontPage):
<HTML><TITLE>Sample page 1</TITLE><HEADING>Blah, Blah, Blah</HEADING>***<HREF="PAGE TWO">(????)***<BODY> More text, content of page</BODY>
</HTML>
 I need the language for the <HREF> on both sides. That is the basis of my question. And if "Sample Page one" is in index.htm,how do I create index.htm2 for the second page?
I am using WS_FTP for this....so if you are familiar with it, please enlighten me...
(P.S.I am sure that the <HREF> tag is NOT correct....)
 
Hopefully you now do not think that I have lost my mind and understand the simplicity of my request, ignoring however badly I asked the question. Please think "HTML 101" when you respond.
Thanks,
Jennifer
 
0
 
LVL 1

Expert Comment

by:2718
Comment Utility
Jennifer,
  I salute you for not using Frontpage.  *smile**

Here's the html code you used for your example:
<HTML><TITLE>Sample page 1</TITLE><HEADING>Blah, Blah,
      Blah</HEADING>***<HREF="PAGE TWO">(????)***<BODY> More text, content of page</BODY>
      </HTML>

First off, you need to put your links INSIDE the body of your web page.

You state that ".... I need the language for the <HREF> on both sides. That is the basis of my question...."

Example follows.

And if "Sample Page one" is in index.htm,how do I create index.htm2 for the second page?

OK, I see a couple of different issues being mixed up here.
First off, your web server software (which I don't know what it is - but that doesn't matter) will take a certain html file with a special name (index.html is fairly common - obviously that is the case for you) and will display / load / send that page to any users who visit your site (it's like the default page shown to any web visitors.)

So I assume you currently have one html file named index.html (or index.htm - whether they end in .html or .htm usually makes no difference - I prefer .html)

DO NOT make a new file named index.htm2 - that will NOT work.
To "make" a new file just type away in notepad and then choose
SAVE AS under the FILE menu and give it its new name - you should name them anything you like with a .html extension.

Here's my example for you.

You have a file named  index.html
This is the contents of index.html, created with notepad.
(I'm just making all this up, hopefully you can see the
overall picture and apply to your situation.)

<html>
<body>
Welcome to Jennifer's web page !
Would you like to visit Fluffy's page ?
<a href=fluffy.html>Click here</a> to go to Fluffy's page.
Would you like to visit Fifi's page ?
<a href=fifi.html>Click here</a> to go to Fifi's page.
</body>
</html>

Now in the same directory that contains index.html you will have two more files created with notepad, one named fluffy.html and the other named fifi.html.

Contents of fifi.html

<html>
<body>
Hi, I'm Fifi. Welcome to my page.
Want to visit Jennifer ?
<a href=index.html>Click here</a> to visit Jennifer.
</body>
</html>

The basic html syntax for a link is
<a href=url> ... </a>

Where you replace url with the path to the html file you want to link to (if the file is in the same directory as the web page containing the link the url can be as simple as the name of the file being linked.)

And replace ... with whatever words you want to actually represent the link. Most browsers will display them in a different color.

I suggest you play around on your computer at home making the different files and linking one to another. You can open them up with the browser on your home computer and test the links - you don't need a web server to look at html files and test simple links. Assuming you create a file named fifi.html on and save it to c:/
you then open your browser and in the location window type
c:/ and hit return. All the files on c:/ should display on your browser. Click on fifi.html and then "test away".

0
 

Author Comment

by:JenniferM
Comment Utility
I did it!!! Check out the site at:
 
http://home1.gte.net/clancy5/index.htm

The way you explained it made sense. Before I got the comment, I was killing myself trying to figure why my "index2.htm" had no content. The folder was in the directory, and I just needed to add it the the file path.

Thanks a million!!
Jennifer =)
0
 

Author Comment

by:JenniferM
Comment Utility
I did it!!! Check out the site at:
 
http://home1.gte.net/clancy5/index.htm

The way you explained it made sense. Before I got the comment, I was killing myself trying to figure why my "index2.htm" had no content. The folder was in the directory, and I just needed to add it the the file path.

Thanks a million!!
Jennifer =)
0
 

Author Comment

by:JenniferM
Comment Utility
P.S. Check out the bottom of pg1 of the site, I gave credit where credit was due....=)
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Uploading files to the web server has become common part of almost any kind of web application. People use different technologies to solve this, but regardless of the technology used, it is always useful to have some kind of progress indicator shown…
Why do we like using grid based layouts in website design? Let's look at the live examples of websites and compare them to grid based WordPress themes.
This video teaches users how to migrate an existing Wordpress website to a new domain.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

6 Experts available now in Live!

Get 1:1 Help Now