Explorer ignores font-weight:bold

Hello,
I can't solve this problem: when I set font-weight: bold on my CSS to ul#nav li#home a, Internet Explorer doesn't show me the bold style, while Firefox does.
Thanks!
Daniela

The fonts you can safely use on your web page (without taking special action) are pretty limited, since you can only be sure that your visitor has a very limited set of fonts. If you use a font that your visitor doesn't have installed, then they will not see your font. Instead they will see a system default font. That's probably not what you intended. Google "web safe fonts" to read more about this.
If you have this in your code -
<li id="home"><a href="whatever.html">Whatever</a></li>
Then the CSS necessary to make that particular link appear bold is this -
li#home a { font-weight:bold }
If you have done this, and you are not seeing a bold font, then either you entered to code incorrectly, or there is some other CSS rule that is taking priority over this one. We can only know if that is the case by looking at your code/page.

Similar Messages

  • Font-weight:bold;  - works in firefox, safari, internet explorer 6 BUT NOT ie7

    font-weight bold; on an external css style sheet is working in every browser (INCLUDING ie6) but NOT ie7?
    I just don't get it. It even works in ie6.
    NOTE:   One thing I should mention is that I have a conditional Internet Explorer statement, for a Internet Explorer-specific style sheet that targets ie6 and ie7.
    But I don't think that's the issue because every other style is working properly EXCEPT font-weight:bold. This is absolutely maddening.
    I tried searching around for solutions and the only lead i found was writing  [  font-weight:bold !important;  ]  using that '!important' statement I thought would somehow force ie7 to acknowledge it. But no dice. It failed.
    Here is the accursed code:
    #date {
    font-family: Arial, Helvetica, sans-serif;
    font-weight:bold !important;   /*   bold not showing up in ie7 !!!  */
    font-size:.85em;   /*  Is font-size affecting bold in ie7 ?? - was 85%  */
    color:#000000;
    text-transform:uppercase;
    margin-bottom:-.75em;
    margin-top:6em;
    Again, it works in every browser, including ie6...BUT NOT in IE7.
    Any help will keep me from pulling my hair out. Thanks.

    So it's still not BOLD in ie7.
    - My css is validated.
    - My HTML still shows 19 errors with 3 warnings, which is down from 31 errors with 3 warnings.
    • Although most of these errors are directly from the 'Active Content' JavaScript that Dreamweaver places within your HTML when you insert Flash SWF files on your page. So I don't think I can even correct that.
    • The next series of errors concern the P element. Which I think are because in 5 Paragraphs in a row, I gave them each the same relationship attribute (rel="lightbox[blog02]"). Why else would these paragraphs come up as errors when every other paragraph is perfectly fine? The errors the validator says are happening, aren't happening. It says that certain P tags aren't closed and it's not true, I can see with my own eyes that they are. I think the 'rel' values are confusing the validator?
    All the major errors I took care of though. I replaced all the repeating ID attributes with CLASS attributes. I really thought that would have done it, but no. However, at least I'm no longer getting ID errors when attempting to validate.
    So now I'm stumped.
    I have no clue what to do next with something I thought would be so simple. I mean give me a break. I'm just trying to BOLD a line of text...smh.
    So currently every browser, including the illicit ie6, shows the BOLD...BUT NOT IE7.
    Sorry for the all caps, it's just so ridiculous to me.
    Although I learned that validating your styles and sites is an important step in publishing your site. I also learned how to properly use ID and CLASS attributes.
    However if anyone out there can point me in the right direction, it would still be very much appreciated. Thanks.

  • Can't apply -fx-font-weight: bold;

    Hi. I'm trying to apply this style to Labels :
    .label {
    -fx-text-fill: gray;
    -fx-font-weight: bold;
    The gray fill is ok , but bold weight doesn't work.
    I'm using MacOS JavaFX 2.1 b17.
    Am i doing something wrong ?
    thanks
    Edited by: mschoenfelder on 2012-03-22 11:27

    I can't reproduce this, the -fx-font-weight:bold style works fine for me when set either in code via setStyle or in the exact same external stylesheet you supplied (WinXPsp3, JavaFX 2.1b17, JDK7u4ea).
    My guess is either:
    1. It is a Mac specific bug.
    2. The default font used by JavaFX on the Mac does not support bold (seems really unlikely).
    3. You are not copying the correct version of your stylesheet to the binary output directory you are running the application from (most likely).
    4. You are not correctly loading the required stylesheet.
    5. You are otherwise overwriting the style somewhere else.

  • Save svg with font-weight:bold rather than a bold font?

    Illustrator is changing the font in my svgs to Arial-BoldMT, which causes it to publish incorrectly (doesn't show up bold).
    When I change the svg code to ArialMT; font-weight:bold, it publishes correctly. Any idea how to have Illustrator save the svgs with the font-weight:bold attribute so I don't have to change it in the code?
    Thanks for your help.

    Out of curiosity may I ask why you are using svg, is this for mobile devices.
    Try uninstalling Arial-BoldMT on your system.
    Also see:
    http://help.adobe.com/en_US/illustrator/cs/using/WS714a382cdf7d304e7e07d0100196cbc5f-6561a .html

  • How do I change the font to bold for a label in a check box item

    I am having no success with this and my internet searches throw me all over the place with no success. Can someone please explain how to change fonts for items in the most simple and basic terms. Thanks

    Use HTML Form Element Attributes and type there something like style="font-weight:bold" or Form Element Option Attributes and class="fielddatabold". See my demo app for that:
    https://apex.oracle.com/pls/apex/f?p=31517:1
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • How can I change breadcrumb font to bold?

    Hi -- I need to change the font on all (current and non) breadcrumb entries to bold. I tried the folliowing in the template
    (for now, just in the current page breadcrumb entry) but it's not doing anything. I added the:
    <style type="text/css">font-weight:bold</style>
    <li class="t15Current"><span>#NAME#</span><style type="text/css">font-weight:bold</style></li>
    It shows up in the page source, no errors are generated. I've also tried it within the <span> tags.
    I know it must be an easy fix!
    Thanks,
    Carol

    Ooop, well, I can see that this didn't post correctly. Not sure what markup to use... here's a kludge:
    li class="t15Current"><span>#NAME#</span><style type="text/css">font-weight:bold</style></li>
    Assume "<" to start with.

  • Different font weight for certain table rows in a tableView

    Dear all,
    I Need to add a summary row in a TableView to calculate the sum of all values above this row. For every row I have an object, called KostenDTO.
    class SummCurrencyTableCellFactory implements Callback, TableCell> {
         private NumberFormat numFormat = null;
         public SummCurrencyTableCellFactory(NumberFormat numFormat) {
              this.numFormat = numFormat;
         @Override public TableCell call(TableColumn param) {
              TableCell cell = new TableCell() {
                   @Override public void updateItem(final Float item, boolean empty) {
                   if (item != null) {
                        setText(numFormat.format(item));
                        setStyle("  -fx-alignment: CENTER-RIGHT;");
                        if (item < 0.0) {
                             this.setTextFill(Color.RED);
                        } else {
                             this.setTextFill(Color.BLACK);
                  } else {
                        setText("");
         return cell;
    how can I Change the font weight of the sum-row to bold?
    Thank you and regards Tim

    You can do
      String fontWeight ;
      if (getIndex() == getTableColumn().getTableView().getItems().size()-1) {
      fontWeight = "-fx-font-weight: bold;";
      } else {
      fontWeight = "-fx-font-weight: normal;";
      setStyle("-fx-alignment: CENTER-RIGHT;\n" + fontWeight);
    in the updateItem(...) method, assuming the sum row is the last row in the table.

  • Font-weight attribute only works for bold?

    Hello, this has been bothering me for a while. When I set a
    font weight attribute on my css stylesheet it only makes a
    difference when I go bold; lighter font weights 100, 200 and medium
    numbers do nothing. I use safari and firefox, not sure if that is
    an issue. I have been using css a while and my code is good -
    font-weight: 100; what gives?

    > Thanks, I think you mean not supported by Safari right?
    Are they supported
    > by IE?
    No, I mean not supported in general.
    > Also, is there any work-arounds or way to lighten up my
    text font? I
    > really need it to stay text.
    font-weight:normal is the lightest you get.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "johnnymnemonic66" <[email protected]> wrote
    in message
    news:fbrr3s$p5p$[email protected]..
    > Thanks, I think you mean not supported by Safari right?
    Are they supported
    > by IE?
    >
    > Also, is there any work-arounds or way to lighten up my
    text font? I
    > really need it to stay text.

  • When composing new email (gmail) tool bar showing fonts, colors, bold, italics, underline, etc. is missing? When using Internet Explorer the bar is there.

    When using Firefox, the tool bar above the "compose mail" window is missing. I cannot change fonts, use bold, italics, underline, change colors, align margins, etc. When using Internet Explorer the bar IS there but I prefer Firefox, as it is much faster. My operating system is Vista.

    Thanks Tony T1, I have tried using the Mail -> Format drop downs...
    ... and using the format toolbar...
    ... and in both cases, Bold and Italic is greyed out... (bit hard to see in the second screenshot, but it is, honest!)
    The mail message is def set as Rich Text, which you can see in the first screenshot, as the option to Make Plain Text is there...

  • Ssrs 2008 r2 writingmode=rotate270 font is bold on report server

    In a ssrs 2008 r2 report, I am using writingmode=rotate270 to change the direction of header columns for detailed data on the SSRS report. The font in visual studio is 'light'. However when the report is deployed to the report server, the font weight is
    bold.
    Thus can you tell me if there is a workaround to make the font not bold when it is executed on the report server? If so, can you tell me how to solve the font problem so the font is not bold when writingmode=rotate270 when executed on the report server?

    Hi Wendy,
    I am able to reproduce the issue in both SQL Server 2008 R2 RTM Reporting Services and the latest version of SQL Server 2008 R2 Reporting Services (SQL Server 2008 R2 SP2 CU10, Build number 10.50.4297). In addition, based on my test, it is fixed in SQL Server
    2012 SP1 Reporting Services.
    To work around this issue, you can place images in the column header cells and make the rotation of the text in the images. Besides, I would suggest you submitting a wish at
    https://connect.microsoft.com/sql.
    Connect site is a connection point between you and Microsoft, and ultimately the larger community. Your feedback enables Microsoft to make software and services the best that they can be, and you can learn about and contribute to exciting projects.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • How-to get Font weight information while reading a PDF document

    Hello everyone
    it seems that the available tools to read PDF documents from Java don't allow to get font weight informations about the tokens read from PDF.
    I need to know if a character is bold in order to recognize if it could be part of a paragraph's title.
    is there a way to keep this information? (now I'm using PDFBox but it seems to allow only to get the PDF content as plain text, without keeping this kind of font weight info...)
    thanks sincerely a lot
    to anyone who would be so kind to help me
    ;)

    shilkie wrote:
    I've already read the wiki and the examples about iText, and also the two free tutorial chapters, but it seems iText doesn't allow to check the font character of a pre-existing PDF document,,it only allows to create document with a specified font but this is not what I needWell, to tell you the truth, I don't do much with PDF, myself, I only believe (from anecdotal evidence) that iText is much better than PDFBox. Have you downloaded it and tried a few things, or just read some of the docu? I am fairly sure that if you designate a font, there is probably a way to retreive this font as well, although not necessarily. Download it and play around a bit.

  • Normal font looks bold. How can I make it look normal?

    Hi.
    Installed the latest build from webkit.org yesterday and finally got the missing text to be visibla again.
    BUT... Normal (text) fonts as set in:
    font-weight: normal;
    does not look normal... they look like a bold font.
    What is the reason for this behaviour?
    Can I fix that by changing some settings or do I have to wait for another release of the Safari 3 Beta for windows?

    So there isn't any difference between OOO and OOO?
    If there's a difference then it's probably Safari's Font smoothing that make it look like its bold. Try to change it to light instead of medium;
    Go to Edit > Preference > Appearance -> Font smoothing
    Hope it helps,
    Emil
    Good luck
    PC   Windows XP Pro  

  • 24bit PNG font weight issue

    Hi all,
    I have a problem which I can't seem to find any record of anyone else having in these forums, yet I can replicate it no matter which machine I go on in our creative agency using CS5.
    It's thus:
    I have a page of content laid out the way I want it. I inserts a 24big PNG with transparency, and suddenly my font weight looks bold (though the font weight still says "regular").
    Exporting to a PDF carries across this issue, the fonts on the pages with the PNGs go "bold", and so the final product looks terrible, as pages without PNGs with transparency look the correct weight.
    It's driving me mad. Can anyone suggest a fix? I have inserted an example screengrab below.
    Thanks!

    Two thing I noticed: The PNG files are placed on a page that has no background image (its just a white sheet of paper)
    Why do you need the PNG to have transparency at all? You could save it in a format that doesn't have tranparency and the page would look fine and the bolding of the text would go away.
    Another issue which is a bit off topic; your text mentions:  . . .  and more recently with desktop publishing software like Aldus Pagemaker including versions of Lorem Ipsum. This looks like it was written almost 20 years ago. Aldus Pagemaker became Adobe Pagemaker in 1994 - 18 years ago. You could at least drop the "more recently" and rewrite the sentence to make the information more up to date.
    Quark and InDesign both have versions of Lorem Ipsum that can be used for placeholder text.

  • Adjusting font weight?

    Hi, I'm not sure if this is the best forum for this question,
    but since I'm using Fireworks, I'll ask it here.
    Is there a way to adjust font weight when entering text that
    will be used to create a graphic (besides the bold command, that
    is)?
    I'd like to adjust a font to be a bit heavier than it is
    bolded - somewhere halfway between standard and bold. I know that
    with CSS you can adjust weight in 10 increments from 100 to 1000,
    with 400 being standard. Is there any way to do something like this
    in Fireworks?
    Thanks.

    and/or use the strong antialias option on either just the
    text or the=20
    copy below
    Alex Mari=F1o wrote:
    > Mark754,
    >=20
    > Try doing a copy and paste of the text and then playing
    with the opacit=
    y=20
    > of the copy.
    >=20
    > alex
    >=20
    > Mark754 wrote:
    >> Hi, I'm not sure if this is the best forum for this
    question, but=20
    >> since I'm using Fireworks, I'll ask it here.
    >>
    >> Is there a way to adjust font weight when entering
    text that will be =
    >> used to create a graphic (besides the bold command,
    that is)?
    >> I'd like to adjust a font to be a bit heavier than
    it is bolded -=20
    >> somewhere halfway between standard and bold. I know
    that with CSS you =
    >> can adjust weight in 10 increments from 100 to 1000,
    with 400 being=20
    >> standard. Is there any way to do something like this
    in Fireworks?
    >>
    >> Thanks.
    >>

  • Font Weight Tool 0.25-100 pt +

    I am a New Member of Adobe. My message for Adobe Illustrator Development Team:
    In Adobe Illustrator CC you have added a new feature as Touch Type Tool, its good. But I want more. We know we can modify stroke weight/thickness (0.25-100pt) as our demand. We also know maximum fonts have Font Style, I mean Regular-Bold-Italic-Black-Medium-Narrow and many others...But I want My font like a stroke weight. And there will have Weight: 0.25-100 pt and also have Dashed line. Cause.. sometime we are unable to collect font style...and the font only has Regular Style. But we need Bold Style...For this bold style we give the font a Stroke and this is not best choice for a Graphics Designer...If you added a Font Weight Tool 0.25-100 pt + its will help us.

    Moved from Cloud forum to Illustrator forum

Maybe you are looking for