Solved

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

Posted on 1998-10-17
10
173 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
ID: 1855779
Edited text of question
0
 

Author Comment

by:JenniferM
ID: 1855780
Adjusted points to 150
0
 

Expert Comment

by:john_19
ID: 1855781
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
ID: 1855782
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
ID: 1855783
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
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:JenniferM
ID: 1855784
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
ID: 1855785
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
ID: 1855786
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
ID: 1855787
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
ID: 1855788
P.S. Check out the bottom of pg1 of the site, I gave credit where credit was due....=)
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Accessibility and Usability are two concepts that seem to be closely related.  But, too many people seem to have a distorted perception of them. During last five years, those two words have come to the day-to-day work of almost every web develope…
Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
Any person in technology especially those working for big companies should at least know about the basics of web accessibility. Believe it or not there are even laws in place that require businesses to provide such means for the disabled and aging p…

910 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

18 Experts available now in Live!

Get 1:1 Help Now