Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

General basic questions I

I'm new to all this HTML authoring stuff so here are a few questions I have;

1. I notice that when I've uploaded my pages to the server, when using Netscape or IE to view them, they look different.  Is there a way to make them look the same and why does it look different?

2. Is it possible to have the server identify which browser the user is having, and load pages from a IE folder on the server or a Netscape folder to customise it?

3. Can anyone recommend some good shareware that will decrease the size of a *.jpg file.  I need one that will enable me to compress the file down, but also allow me to view them quickly, a before and after thing, to compare.  I have Paint shop pro eval version, but I am find it more tricky.

4. In Netscape Composer, can you not have 2 or 3 tables next to each other vertically? Also why can you not drag and drop a table or move it in Composer, its so frustrating!

Thx.
0
oddbod
Asked:
oddbod
  • 4
  • 3
1 Solution
 
flivaudaCommented:
1) The tend to format tables differently and netscapes will dither certain colros that microsoft will not you should use netscape safe colors (you need them to be multiples of 51 in the rgb values ie, 515151 is a netscape safe grey)

2) If you dont mind using perl then yes.  If you check your environment the variable HTTP_USER_AGENT it will return a string like this:
Mozilla/4.06 [en] (WinNT; I)
Which means I am running netscape 4.05 under windows nt.

and if I use explore 3 it says:
HTTP_USER_AGENT is Mozilla/2.0 (compatible; MSIE 3.02; Update a; AK; Windows NT)

so have your index.html page look like this:
<!--#exec cgi="/cgi-bin/thisismypathtomycgi-bin/figureitout.pl"-->

now in your figureitout.pl it would look like this:
#!/usr/local/bin/perl
$browser = $ENV{'HTTP_USER_AGENT '};
if ($browser =~ /MSIE/)
{
  print "Location: http://www.mywegpage.com/iexplorerpage.html\n\n";
}
elsif ($browser =~ /Mozilla/)
{
  print "Location: http://www.mywegpage.com/netscapepage.html\n\n";
}

3) try http://www.ulead.com it isnt shareware but it has a free trial so you can check it out and it is worth whatever it costs best one of the tools that I have used.

4) I dont use compose but you should be able to have 3 tables next to each other if you want.  Let me know if you need html code for it.  Or do you just need a 3 column table?  what are you doing that you need three complete table next to each other?
The reson you cant drag a drop in composer is because it sucks =)

Let me know if you have any other questions.
0
 
oddbodAuthor Commented:
Hi

Sorry for the delay.
Don't mean to be funny, but I didn't understand anything in your reply to q.1.  I know nothing about source code, only wysiwyg HTML composers like Netscape.  For me this is a god send cos I just dont have the time or inclination to write code.  I guess I was just looking for a simple response, and whether it was a case of clicking a certain button somwhere so that the same format can be read by both browsers.

Again, any simple solution or do I have to get lumbered with learning 250 pages of "How to write HTML the old fashioned way"? :)

Thx.
0
 
flivaudaCommented:
For question 1 you need to pick different colors and then they will both appear the same.  You need to find the correct color combos.  As for the rest you are out of luck if you dont want to write any code. -(
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
oddbodAuthor Commented:
So maybe its time someone wrote a wysiwyg composer for dummies then? :)
0
 
flivaudaCommented:
haha yeah i guess so man.  To do anything complicated you will need to actually do some code..sorry
0
 
oddbodAuthor Commented:
Bugger that I'd rather sit in the hot sun! Not much of it over here though (UK) :(
0
 
oddbodAuthor Commented:
Apologies for the delay.

To be honest I didn't understand much of the above, but since you spent a while replying, I'm awarding you the points anyway :)

WHen I have more time to check these out I'll come back to you.
Please leave the check email box crossed so that you get a reply when I come back here again.


0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now