Go Back   PCMech Forums > Help & Discussion > Internet, Web Applications, & The Cloud

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 12-19-2002, 09:13 PM   #1
Member (5 bit)
 
FireStick's Avatar
 
Join Date: Dec 2002
Location: Richmond, Virginia
Posts: 18
Building my first web page

I am fairly new to web page building. I am building a simple page in Word, and I want to insert some jpegs. They are visible when I am editing in Word, but aren't when I publish it to the web. How do I embed the images into the page? Thanks
FireStick is offline   Reply With Quote
Old 12-19-2002, 09:27 PM   #2
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Rule Number 1. Don't use Word for building Web Pages. It is probably the worst out there besides Publisher. Use Notepad, head over to HTML Goodies and learn some HTML.

The main thing to remember when working with images is that you don't embed them in a page. You link to the image via it's path. So on your local machine, the path to the image may be C:\My Document\picture.jpg . On the web, this won't work since the picture won't be in the proper path. Usually create a sub-directory in your web folder called images and link to it like so: <img src="/images/picture.jpg" width="" height="" alt="">. that way the path is the same for everyone.
mairving is offline   Reply With Quote
Old 12-19-2002, 09:58 PM   #3
Member (5 bit)
 
FireStick's Avatar
 
Join Date: Dec 2002
Location: Richmond, Virginia
Posts: 18
So you don't actually upload the image on the page, you upload the images individually and link them to the page? If that makes sense. Thanks for the help.
FireStick is offline   Reply With Quote
Old 12-20-2002, 08:41 AM   #4
glc
Forum Administrator
Staff
Premium Member
 
glc's Avatar
 
Join Date: May 2000
Location: Joplin MO
Posts: 37,771
If you don't want to learn HTML and need to get a simple page up, you can use Netscape or Mozilla Composer to build a page "wysiwyg" (what you see is what you get). It's probably the best freebie wysiwyg editor out there. Believe it or not, Word 97 isn't too bad converting a document to HTML, but Word 2000 is horrible - it does everything XML and bloats the code horribly. The best "converter" I've found is Arachnophilia - it converts RTF (rich text format) files to nice tight HTML code, and is a decent code editor too. I haven't tried the new Java crossplatform version 5 yet - I still use version 4 for Windows.

You now have the correct concept - HTML is just text, images have to be uploaded separately and "linked" in the HTML code.
glc is offline   Reply With Quote
Old 12-20-2002, 08:59 AM   #5
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
A couple of other notes.

  • HTML is fairly easy to learn but things like image and text placement are somewhat more difficult since they involve tables. Tables are the key to HTML. Eventually they will be replaced by CSS but for now learn a bit about tables.
  • The above example listed this code: img src="/images... . I tend to put the / in front of the directory so that it will work even if you are in a sub-directory. Using the / on a local machine where a server does not parse the code will give different results. On the local machine use: img src="images...
mairving is offline   Reply With Quote
Old 12-22-2002, 07:35 PM   #6
Member (5 bit)
 
Join Date: Aug 2002
Location: KTM, NP
Posts: 25
Send a message via Yahoo to SudyZenziGrg
hi mairving,
just curious know why will the table be replaced by CSS. Every webpages are designed in tables. so is it going to affect anything?
SudyZenziGrg is offline   Reply With Quote
Old 12-22-2002, 08:21 PM   #7
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally posted by SudyZenziGrg
hi mairving,
just curious know why will the table be replaced by CSS. Every webpages are designed in tables. so is it going to affect anything?
Well, HTML really wasn't designed for the complexites that it is used for now. Tables were never really meant to be used for page layout. HTML was never really meant for presentation either. CSS is much better and page layout but the support in older browsers in not quite there. I am not suggesting redoing sites done in tables right now but in the future it will offer you some presentation advantages. Right now you are somewhat limited in the use of CSS if you want to maintain compatibility with older browsers. Here are a couple of sites done without tables:
http://www.macedition.com/cb/samples/div_mac2W.html
http://www.alistapart.com/index.html
mairving is offline   Reply With Quote
Old 12-22-2002, 08:38 PM   #8
Member (5 bit)
 
Join Date: Aug 2002
Location: KTM, NP
Posts: 25
Send a message via Yahoo to SudyZenziGrg
hi there,
the site looks nice without the use of the tables. thanks for posting the URLs and for your help. Cheers!!!
SudyZenziGrg is offline   Reply With Quote
Old 12-22-2002, 09:20 PM   #9
Member (9 bit)
 
Join Date: Aug 2001
Posts: 394
Send a message via ICQ to Eric H. Send a message via AIM to Eric H.
well, since you're using word, you probably have a version of frontpage, which despite what people say, isn't a bad editor.
Eric H. is offline   Reply With Quote
Old 12-23-2002, 09:32 AM   #10
Staff
Premium Member
 
mairving's Avatar
 
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
Quote:
Originally posted by Eric H.
well, since you're using word, you probably have a version of frontpage, which despite what people say, isn't a bad editor.
FP doesn't come with Office Standard. Most people probably wouldn't have it installed. FP express is generally installed by default on 9x systems. FP is better than Word no doubt, but there are much better choices (Notepad, Homesite, Dreamweaver, Editpad) out there. As far as writing the worst code, the bottom 3 would be Publisher, Word and Adobe GoLive. FP code is okay for the most part. The chief problem with it is that most sites done with FP look like it and it doesn't know anything about stylesheets which means it bulks up on font, center tags.
mairving is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 04:10 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2