LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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

Reply
 
Search this Thread
Old 06-12-2007, 08:05 AM   #1
runnerpaul
Member
 
Registered: Mar 2006
Location: Ireland
Distribution: Fedora 5
Posts: 63

Rep: Reputation: 15
Smaller Font Size In HTML


I want to make the font size in a HTML document smaller. As far as I am aware the smallest size is 1. Is there any wat I can get it smaller? Below is what I got:

<strong><font size='1'>This price includes a discount if you complete the purchase online<br>(online discount does not apply if you complete via the call centre)</font></strong>
 
Old 06-12-2007, 08:26 AM   #2
wjevans_7d1@yahoo.co
Member
 
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 30
You really don't want people to read the fine print, right?

First, lose the <strong>.

Second, why not just make it white on white? Or light gray, if you insist.

<font size='1' color='lightgrey'>This price includes a discount if you complete the purchase online<br>(online discount does not apply if you complete via the call centre)</font>

Remember also that different people use different browsers. If you try to tune too finely how it looks for your own browser, you will have Unintended Consequences(tm).

Take a gander at this:

Code:
http://www.anybrowser.org
(not .com)

Hope this helps.

Last edited by wjevans_7d1@yahoo.co; 06-12-2007 at 08:35 AM.
 
Old 06-13-2007, 04:41 AM   #3
runnerpaul
Member
 
Registered: Mar 2006
Location: Ireland
Distribution: Fedora 5
Posts: 63

Original Poster
Rep: Reputation: 15
I want to put the text into the blue box. What I would like is for "This price includes a discount if you complete the purchase online" to appear on one line and "(online discount does not apply if you complete via the call centre) to appear below it. I do not have control over the size of the box and at the minute my text is wrapping. If I could I would just like to make it smaller.
 
Old 06-13-2007, 07:20 AM   #4
jlinkels
Senior Member
 
Registered: Oct 2003
Location: Bonaire
Distribution: Debian Wheezy/Jessie/Sid, Linux Mint DE
Posts: 4,188

Rep: Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523Reputation: 523
My browser (Opera) contains a setting "minimum font size" No matter what the font size is on the web page, fonts are not rendered smaller than this setting. I haven't tested it with such a 1pt setting as you propose here, but usuaally it does what the setting suggesst.

Not sure if other browsers have this feature as well.

If you target the mass consumer market you might get away making it to work only in IE.

jlinkels
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Smaller font during startup? Timmy66 Debian 6 12-13-2006 04:53 PM
smaller font with aterm lothario Linux - Software 2 11-06-2006 06:58 PM
how could i make my font size smaller in terminal Paxmaster Linux - Software 3 02-05-2005 09:43 PM
Why is my screen size smaller? pablowablo Red Hat 5 05-25-2004 10:20 AM
how to get smaller font on TTY browny_amiga Linux - General 2 06-10-2003 06:34 AM


All times are GMT -5. The time now is 08:47 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration