Re: [newbie] stylesheet and pages

2001-07-23 Thread Sridhar Dhanapalan

On Mon, 23 Jul 2001 16:03, John Rigby wrote:
 On Mon, 23 Jul 2001 13:39, you manipulated electrons to produce:
  You probably just need to change the font settings (font selection
   size) in Netscape and Konqueror. All the browsers should
  implement the HTML properly (except maybe IE), but some browsers
  will render the page on a smaller scale than others.
 
  On Mon, 23 Jul 2001 11:08, L.V.Gandhi wrote:

 ** Yes, but using fancy fonts you are assuming that the
 Client machine has the same fonts available, aren't you?
 My trick was always to create a gif if it simply HAD to that
 different, to g'tee a display.

I would not recommend using fancy fonts for any web page, for the reason 
you have mentioned above. What I meant was that one should change the fonts 
and/or font sizes that are in use in the browser to something else that is 
also widely available (or a close substitute exists). For example, one could 
change from 72dpi Helvetica to 100dpi Helvetica or TTF Arial (which is 
96dpi). Similarly, one could switch from Times to Times New Roman, or from 
Courier to Courier New. Also, font sizes (in points) can be adjusted to be as 
large as in other browsers. Despite all this, however, a page should still 
look the same in Konqueror and Netscape as it does in Mozilla, assuming the 
HTML coding is done well. The only difference will be that Konqueror and 
Netscape use smaller fonts; the contents and the content layout should be the 
same.

If formatting is a priority, and if one has reason to worry that their 
information won't be rendered well in all browsers, PDF could be the answer. 
Adobe's Portable Document Format, being PostScript-based, is designed to look 
exactly the same wherever it is viewed, no matter what the platform is. In 
Windos, the only way (AFAIK) to create a PDF document is to pay Adobe 
hundreds of dollars for Adobe Acrobat (the creator, not just the reader). 
GNU/Linux has some useful open-source command-line tools (part of the 
ghostscript package) to quickly and easily create PDF files. Of these, my 
favourite would be ps2pdf. Since just about all GNU/Linux software that can 
print to a printer will also allow you to print to a PostScript (.ps) file 
(since printing in GNU/Linux is usually done in PostScript), all you need to 
do is print to a .ps file and then use ps2pdf to convert it to a PDF. More 
information can be found at the command-line by typing man ps2pdf.

-- 
Sridhar Dhanapalan.
There are two major products that come from Berkeley:
LSD and UNIX. We don't believe this to be a coincidence.
-- Jeremy S. Anderson





Re: [newbie] stylesheet and pages

2001-07-23 Thread Alan Shoemaker

civileme wrote:
[snip]
 software, I decided I would use .png and .mng in place of
 .gif.  There is even a little program called gif2png you
 can search for on the web.  I really don't want to support
 what amounts to a legalized protection racket, run by
 attorneys.

 Civileme

Çivilemegif2png-2.4.0-1mdk.i586.rpm is in cooker. :)
-- 
Alan




[newbie] stylesheet and pages

2001-07-22 Thread L.V.Gandhi

I had a cell in a table as given below which gave bigger fonts in winme ns 
and IE and also in mozilla and galeon. But in ns and konq in linux gave small 
fonts.
td bgcolor=#ff00fffont size=7 color=#FF face=Arial
Black, Photina Casual Black, TahomabcenterXYZ/center/b/font/td
Now I wanted to shift the font to stylesheet. I have done as below.
.pt {
 color: white;
 font-weight: bold;
 font-size: 7;
 font-family: arial, helvetica, Tahoma, sans-serif;
}
While testing I used the variants of class as td.pt and also font.pt
I have the following lines in page.
link rel=stylesheet type=text/css href=mystyle.css /

...
in body in a table,
td bgcolor=#ff00ffclass=ptXYZ/td
for td.pt 
td bgcolor=#ff00ff class=ptXYZ/td
for font.pt
td bgcolor=#ff00fffont class=ptXYZ/font/td
Nothing works as the original lines in any of the browsers. Any clues?
-- 
L.V.Gandhi
203, Soundaryalahari Apartments, Lawsons Bay colony, Visakhapatnam, 530017
MECON, 5th Floor, RTC Complex, Visakhapatnam AP 530020 INDIA
[EMAIL PROTECTED],  [EMAIL PROTECTED] linux user No.205042




Re: [newbie] stylesheet and pages

2001-07-22 Thread Sridhar Dhanapalan

You probably just need to change the font settings (font selection  size) in 
Netscape and Konqueror. All the browsers should implement the HTML properly 
(except maybe IE), but some browsers will render the page on a smaller scale 
than others.

On Mon, 23 Jul 2001 11:08, L.V.Gandhi wrote:
 I had a cell in a table as given below which gave bigger fonts in winme ns
 and IE and also in mozilla and galeon. But in ns and konq in linux gave
 small fonts.
 td bgcolor=#ff00fffont size=7 color=#FF face=Arial
 Black, Photina Casual Black,
 TahomabcenterXYZ/center/b/font/td Now I wanted to shift the
 font to stylesheet. I have done as below. .pt {
  color: white;
  font-weight: bold;
  font-size: 7;
  font-family: arial, helvetica, Tahoma, sans-serif;
 }
 While testing I used the variants of class as td.pt and also font.pt
 I have the following lines in page.
 link rel=stylesheet type=text/css href=mystyle.css /

 ...
 in body in a table,
 td bgcolor=#ff00ffclass=ptXYZ/td
 for td.pt
 td bgcolor=#ff00ff class=ptXYZ/td
 for font.pt
 td bgcolor=#ff00fffont class=ptXYZ/font/td
 Nothing works as the original lines in any of the browsers. Any clues?

-- 
Sridhar Dhanapalan.
There are two major products that come from Berkeley:
LSD and UNIX. We don't believe this to be a coincidence.
-- Jeremy S. Anderson




Re: [newbie] stylesheet and pages

2001-07-22 Thread John Rigby

On Mon, 23 Jul 2001 13:39, you manipulated electrons to produce:
 You probably just need to change the font settings (font selection
  size) in Netscape and Konqueror. All the browsers should
 implement the HTML properly (except maybe IE), but some browsers
 will render the page on a smaller scale than others.

 On Mon, 23 Jul 2001 11:08, L.V.Gandhi wrote:

** Yes, but using fancy fonts you are assuming that the 
Client machine has the same fonts available, aren't you? 
My trick was always to create a gif if it simply HAD to that 
different, to g'tee a display.
  
-- 
Cheers,

John

Fablor now Webhosting?? What on earth for??  
Info here: [EMAIL PROTECTED] 
(it's only an Autoresponder)  :-)