/    Sign up×
Community /Pin to ProfileBookmark

font size -2 and arial face

Please advise why I cant get bold to work with font size [b]-2[/b] and face [b]Arial, Helvetica, sans-serif[/b]? If I change my font size to [b]-1[/b] it works. But it doesnt seem to work with [b]-2[/b].

[code]
<font size=”-2″ face=”Arial, Helvetica, sans-serif”><strong>information here</strong></font>
[/code]

to post a comment
HTML

5 Comments(s)

Copy linkTweet thisAlerts:
@screaming_banjoJan 12.2004 — I'm using IE6 and I cut and paste your code into notepad...seemed to work okay for me. I changed it to -1 and it got bigger as expected.
Copy linkTweet thisAlerts:
@spufiJan 12.2004 — You shouldn't be using <font> tags anyway since they have been deprecated for some time. It depends on what you are exactly trying to format, but it looks like you probably could use a header tag(<h1>-<h6>) for what you want and then use CSS to format it. A header tag defaults to bold text anyway. Not that you should use a header tag just because you want something bold mind you.
Copy linkTweet thisAlerts:
@pyroJan 12.2004 — It's probably because your font size is reaching a point where making it bold would result in illedgibility. Either way, you should eschew the <font> tag, and use CSS:

&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: xx-small; font-weight: bold;"&gt;information here&lt;/span&gt;
Which is only marginally different than:

&lt;span style="font-family: Arial, Helvetica, sans-serif; font-size: xx-small;"&gt;information here&lt;/span&gt;
Copy linkTweet thisAlerts:
@floridaauthorJan 13.2004 — Thanks, still not working because I guess I have IE 5.5 and Netscape 4.7
Copy linkTweet thisAlerts:
@spufiJan 13.2004 — Using that CSS should work fine in IE 5.5 and I'm not 100% sure on Netscape 4.7 because CSS usage is shakey at best, but formatting of fonts is just about the best supported part of CSS. I also assume you have a more current non-IE browser than Netscape 4.7. If not, download Mozilla, Firbird, and Opera asap. All three kick IE 5.5's butt.
×

Success!

Help @florida spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...