Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-19-2004, 12:55 PM
|
#1
|
Member
Registered: Apr 2004
Location: Malaysia
Distribution: Fedora Core
Posts: 93
Rep:
|
web page, font and font size
I like my web page output's font and font size when i open it with mozilla in linux
in windows (mozilla and ie), the web page font will be different
how do i hard code my web page's font and font size to look exactly the same eventhough in windows?
|
|
|
06-19-2004, 01:54 PM
|
#2
|
Member
Registered: Aug 2002
Distribution: Debian
Posts: 540
Rep:
|
It will never look exactly the same on different browsers. However, you can get the same font by doing so:
<FONT FACE="Arial" SIZE="3">Something I have to say</FONT>
You must make sure however that you select a font the is native to both Windows and Linux.
Look up HTML Tags on google, you will find a complete reference and examples.
|
|
|
06-19-2004, 05:09 PM
|
#3
|
Member
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288
Rep:
|
More info (from the people who handle the standard.
I'd recommend looking at CSS for a better way of handling formatting and styling of web elements.
|
|
|
06-19-2004, 05:54 PM
|
#4
|
Senior Member
Registered: Dec 2001
Location: 35.7480° N, 95.3690° W
Distribution: Debian, Gentoo, Red Hat, Solaris
Posts: 2,070
Rep:
|
Because browsers are made different, you can't make the fonts look the same in all. Not even in all browsers on Linux.
I would use stylesheet. Set the font-family and the size there.
|
|
|
06-19-2004, 11:03 PM
|
#5
|
Member
Registered: Apr 2004
Location: Malaysia
Distribution: Fedora Core
Posts: 93
Original Poster
Rep:
|
thanks for all the info
|
|
|
All times are GMT -5. The time now is 04:22 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|