How to change the size of the submenu font only?

I am trying to edit the css file of my menu bar widget. I have changed a lot of the elements like color, size, etc. I want to make the font size of the submenues a little bit smaller than the main menu bar. Is that possible? how do i do that?
thanks

Hi,
To make it easier to understand make the following mod:
<ul id="MenuBar1" class="MenuBarHorizontal">
      <li><a href="../index.htm" title="home page">Home</a>      </li>
      <li><a href="../about.htm" title="Learn all about the WRC" class="MenuBarItemSubmenu">About Us</a>
        <ul>
          <li style="font-size: 9px;"><a href="#" title="get to know the staff">Staff</a></li>
          <li><a href="#" title="meet the board">Executive Board</a></li>
          <li><a href="#" title="learn who represents your town or interest">Full Commission</a></li>
        </ul>
This will change the font size for the Staff submenu only.
So that you do not have to change each and every <li>-tag, simply assign a class to the <ul> part as follows:
<ul id="MenuBar1" class="MenuBarHorizontal">
       <li><a href="../index.htm" title="home page">Home</a>      </li>
       <li><a href="../about.htm" title="Learn all about the WRC" class="MenuBarItemSubmenu">About Us</a>
         <ul class = "mysubmenu">
           <li><a href="#" title="get to know the staff">Staff</a></li>
           <li><a href="#" title="meet the board">Executive Board</a></li>
           <li><a href="#" title="learn who represents your town or interest">Full Commission</a></li>
         </ul>
Then you can either create a style in your document or add the class to your style sheet. If you choose the former, add the follwoing to the <head>-section of your page:
<style type="text/css">
<!--
.mysubmenu li {
    font-size: 9px;
-->
</style>
I hope this helps.
Ben

Similar Messages

  • How to Change the Default Font in Firefox 4 ?

    How to Change the Default Font in Firefox 4 , for this >>
    http://store2.up-00.com/Mar11/AJG18655.png << ?

    Go to properties first: and set before typing anything in as shown here:
    http://screencast.com/t/ZTgzOTM3Y
    Then right click bring up this menu while inside active field and click on item with arrrow:
    http://screencast.com/t/ZTRjMWRkMzk
    Now what ever you typed should reflect the new Font setting.
    we may be as you say. But then again other people act like whats on the other side.
    We do our best. And if we fall short, well we gave it our best shot.
    Okay. In the interests of being completely clear:
    I have already tried this. Several times. This procedure will change the default for any of the fields that I place by hand. It does not change the default for any of the fields placed by the Wizard. I was unable to find a solution to the problem in any of the manuals, books, or on-line forums, which is why I posted here as a last resort. This leads to two conclusions:
    A. Your advice is incorrect
    B. There is a problem with my installation of Acrobat
    I will assume that A is not the correct conclusion. I will therefore try a re-install of my software to see if this clears up the problem. There have been other issues with other Adobe software on my machine that a re-installed has fixed nicely. Luckily, I don't have to do this at all often.

  • How to change the default font (Noteworthy) in Preview Annotation Note ?

    How to change the default font (Noteworthy) in Preview > Annotation > Note ?
    Thanks for any help guys. Noteworthy is horrible, in my view. But this does not matter. I simply do not want to use it, and woudl be fine with having helvetica back as the annotation typeface.
    Neither is Preview responding to changes I attempt in the type menu, nor did I find an entry when using “defaults read com.apple.Preview” in the Terminal.
    Any idea? Cheers.

    Sorry if this doesn't apply in Mountain Lion (no way to look at ML right now), but I see this in Preview under Mavericks:
    I click the annotation button (circled in red) and draw a box. I can then change the text to any active font using the drop down menu (circled in green).

  • Anyone know how to change the default font for the new pages? Apparently it does not even come up when I search the 'Help' section of Pages. The level of incompetence in this new version seems breathtaking

    I cannot find how to change the default font in the new Pages. It does not appear in the Help area when I search for it. I am never sing Helvetica for my standard documents and cannot seem to change it. What am I missing? And why does Pages help not have an easy answer?
    dan

    You open a blank template and change the font to you liking. Remember to also get all the styles changed with new font. Then Save As Template. Now you have a template with the font you like.

  • How to change the default font size in X11?

    I was a PC/linux user and have switched to use Mac lately (MBP Snow leopard 10.6.8).
    Everything's been running perfectly on Mac so far and I really like it, until I have to run some programs on XQuartz/X11 (XQuart 2.7.0).  
    The default font size in the Xterm is too small. And I hate it that I have to change it everytime i open a new terminal (via vt fonts menu, ctrl+right-mouse click).
    Is there a way to change the default font size "permanently" in XQuartz/X11 ??
    This may be a stupid question to ask in the developer forum but i cant really solve it.
    There's only config. file ~/.Xdefaults they have mentioned so far on Google but i really cant find it regarding to the directorty.
    Thank you very much in advance.

    You would be surprised to find out that is not like this, to get your account blocked you really need to do a lot of damage and posts are not removed unless they are illegal, and *always* it needs more than a person to delete something. That's a site managed by the community, not by some people put in place by a company.
    It is always acceptable to link to external resources as long these resources do provide additional usefull information. Clearly the thread on that side contained much more information than the one here. I observed people linking from there to this forum, but it's not so common, and that's not due to the policy, just because here is more chat and less usefull information.... you will not see endless threads of replies on with "yes, I have the same problem" there.
    Shortly, this is "discussions" and is quite different in approach than the SE model, where everythign is aimed towards getting the be answers UP and removing all the nonsense.
    I wish that Apple would invest more in discussion, and going towards making this more practical.

  • How to change the default font size in XQuartz?

    I was a PC/linux user and have switched to use Mac lately (MBP Snow leopard 10.6.8).
    Everything's been running perfectly on Mac so far and I really like it, until I have to run some programs on XQuartz/X11 (XQuart 2.7.0).   
    The default font size in the terminal is too small. And I hate it that I have to change it everytime i open a new terminal (via vt fonts menu, ctrl+right-mouse click).
    Is there a way to change the default font size "permanently" in XQuartz/X11 ??
    This may be a stupid question to ask in the developer forum but i cant really solve it.
    There's only config. file ~/.Xdefault they have mentioned so far on Google but i really cant find it regarding to the directorty.
    Thank you very much in advance.

    You would be surprised to find out that is not like this, to get your account blocked you really need to do a lot of damage and posts are not removed unless they are illegal, and *always* it needs more than a person to delete something. That's a site managed by the community, not by some people put in place by a company.
    It is always acceptable to link to external resources as long these resources do provide additional usefull information. Clearly the thread on that side contained much more information than the one here. I observed people linking from there to this forum, but it's not so common, and that's not due to the policy, just because here is more chat and less usefull information.... you will not see endless threads of replies on with "yes, I have the same problem" there.
    Shortly, this is "discussions" and is quite different in approach than the SE model, where everythign is aimed towards getting the be answers UP and removing all the nonsense.
    I wish that Apple would invest more in discussion, and going towards making this more practical.

  • How to change the background color only for one HTML-Portlet?

    Hi all,
    I have created a HTML-Portlet in my root-page. The root page have a style: Main-Style.
    I want to change the background-color only for this one HTML-Portlet:
    <html>
    <header><title>Test</title></header>
    <body bgcolor="#999999">
    Test
    </body>
    </html>
    But this does not work...
    When I use the CSS, then it will change the background-color for the root-page too.
    Thans
    Leonid Pavlov

    could you try this
    <table bgcolor="#999999">
    <tr>
    <td>
    test
    </td>
    </tr>
    </table>
    I don't think you need <html><header><title>Test</title></header>
    <body></body></html> for your HTML-Portlet.

  • How to Change the (Missing) Font in Endnotes

    Hello and thanks (again) in advance,
    My preflight report showed that I have 170 errors: they are all missing fonts in the numbers of the endnotes.
    Some of the Endnotes are in the Times New Roman Font, but for some reason, 170 endnotes are not. This is a font problem with the "number" part of the endnotes -- the text in the endnotes is all Times New Roman.
    What I would like to do is to change the font from the missing one (Cambria Regular) to Times New Roman.
    The endnotes were imported when I placed this MS-Word document into InDesign.
    Here's what I tried, that failed:
    1. Fix the font problem when I opened the file, and InDesign showed missing fonts. (This fixed the fonts -- changed them from Cambria to Times New Roman) for all the text, but did not touch the numbers in the endnotes.
    2. Search and Replace for the number of the Endnote -- the numbers were ignored by the search.
    3. Search and Replace for the number of the Endnote, with the "Include Footnotes" button highlighted
    4. Search and Replace for Cambia Regular text (although I might not have done that correctly.) ... I left the "Find What" box blank, and in the "Find Format" box I selected Cambria Regular. ... Nothing was found.
    5. I deleted one of the numbers -- endnote 202 -- "by hand", and then retyped the number. This did change the font, but it had the bad effect of ruining the endnote numbering system: it made the next endnote (number 203) below it into number "1" and the endnote after that "2"
    Also, I wondered if it "broke" the entire endnote system -- If there is some connection between the number that I deleted, and the corresponding superscript number in the text itself.
    Here (below) is a screen shot of my pre-flight report.
    You can see that some of the numbers in the endnotes,  (for example: 200 and 202) are in the correct font; but endnote numbers 201, 203, 204 are not in Times New Roman.
    I am stuck ... Suggestions are welcome and appreciated !
    ZtG

    Since ID doesn't really support endnotes, I suspect they were imported as a numbered list, particulary considering the uselectablility and find/change sympotoms you describe. Bullets and numbers in lists aren't "real" characters that can selected.
    Find font should probably have done the trick if the numbers were assigned a style in the list definition AND you checked the update styles when changing all box in Find Font, so I'm also going to guess that you either didn't check the box or there is no style assigned to the numbers (and I suppose it's possible they aren't really a list).
    The best solution would be, I think, to first verify that they the endnotes are a list, and to assign a character style to the numbers.

  • How can I change the proportional font in Firefox?

    I prefer helvetica font, so I have changed the fonts for webpages in Firefox settings to it (changed all fonts to helvetica, unchecked "Allow pages to choose their own fonts, instead of my selections above"). However, some webpages still display in what I presume is the seriff font under proportional font. It would be nice to get all webpages to display in helvetica font but it seems that firefox only allows seriff or sans seriff for the proportional font.
    How can I make all the webpages display with the same font: helvetica?
    Please do not tell me how to change the other fonts; once again, I have done that.
    I only want to know if and how the PROPORTIONAL FONT can be changed or disabled, so that all webpages display in helvetica.

    I found it. In fact, the proportional ask you if you prefer serif or sans-serif. Then, under this, you can choose what serif is, and what sans-serif is.
    By example, I wanted my proportional font to be the Mona font. So I put sans-serif for proportional, and then I changed sans-serif for Mona.

  • Changing the default font in Keynote '09

    Can anyone please tell me how to change the default font in Keynote '09 masterslides to the one of my choice? I can't seem to do it by following the suggestions in Help.

    In a given theme, the default fonts are defined in a file whose complete pathname resemble to this one:
    Macintosh HD:Applications:iWork '09:Keynote.app:Contents:Resources:
    Themes:Black_8x6.kth:Contents:Resources:French.lproj:fontsAndText.strings
    Here is the path for the theme named "Black_8x6.kth" in its French version.
    The file contents is:
    "STYLESeries2" = "Series_2";
    "STYLE_None" = "Aucun";
    "STYLESeries5" = "Series_5";
    "STYLESeries3" = "Series_3";
    "FONT_LucidaGrande" = "LucidaGrande";
    "FONT_Helvetica" = "Helvetica";
    "STYLE_Free Form" = "Format libre";
    "STYLESeries1" = "Series_1";
    "FONT_GillSans" = "GillSans";
    "STYLE_Normal" = "Normal";
    "STYLESeries0" = "Series_0";
    "FONT_MarkerFelt-Thin" = "MarkerFelt-Thin";
    "STYLESeries4" = "Series_4";
    If you edit the underlined font names you will change the default fonts accordingly.
    Yvan KOENIG (from FRANCE mardi 5 mai 2009 22:07:28)

  • How to change the default window size display font size on Lync 2013 main window?

    Hi champs,
    Just a simple non-technical question: How to change the default window size display font size on Lync 2013 main window on Windows 7 desktop?
    Thanks,

    Hi,
    Did you mean change the Lync: Change the Default Font and Color of Instant Messages just as Edwin said above?
    If not, as I know, there is no natural way to change it.
    If yes, on the latest version of Lync 2013 client, there is a new option “IM” on Lync client “Options” list. And you need to change the default Font and Color of IM in the interface of “IM”.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • I cannot figure out how to change the photo size on my iPhone 5s.  I was given the choice of small, medium or large the first time I took a picture.  Now I have no idea how to change it to medium.  Can anyone help?

    I cannot figure out how to change the photo size on my iPhone 5s.  The first time I took a pic it asked if I wanted smalll,  medium or large and listed the pixels.  I chose small but am now finding that is too small.  Can anyone help me set it to medium now?  I can't find any setting for that.  I'm a newby to iPhones and have no idea what I'm doing.  Thanks for any help you can offer.

    By "sending" do you mean sending email?
    If so, what app are you using to take the photos on your iPhone 5? Or are the photos from a different source (saved to your Camera Roll from somewhere else, like a web page or Messages)?
    My guess is that Mail gives you the option to send different file sizes when it detects you are trying to Mail a really large photo file. The size of photos on the iPhone 5 is really big and some email providers may stop your mail from being delivered if attachments are too large. Thus, Mail tries to help you by offering to resize the photo.
    I suspect that if you are sending smaller files, Mail does not bother giving you options to save a smaller version. In fact, I have seen this behavior. So, if the photo is already "small enough", it gets sent as-is.
    To my  knowledge, there is no global iOS setting for this. Some apps may have different rules, of course.

  • How to change the font size and style on run time

    dear all
    i try to change the font style and font size on runtime. I did the following:
    1- i created an item(:font_size) in which i will write the size of the font for the the other item ('customer_name')
    2 on the post_change trigger for 'font_size' i write this code
    SET_ITEM_PROPERTY('customer_name',FONT_size,(:font_size);
    i write 12 then then font size changed , then i write 18 , the size does not change. and when i write any value , no change happens. I do not know why
    the second problem is how to change the font style
    i made three checkbooks (bold,italic,underline)
    on the trugger when_checkbox_checked i write
         IF :BOLD = 'B' THEN
         SET_ITEM_PROPERTY('N_SAMPLE',FONT_STYLE,'BOLD');
         ELSE
    SET_ITEM_PROPERTY('N_SAMPLE',FONT_STYLE,'REGULAR');
         END IF;     
    no change happend at all.
    please help

    Hi friend,
    it's a really really strange tip... May be it's a Forms bug? I've tried with set_item_property..and.. you're right, it doesn't work..
    So.. you can try making this:
    - create a visual attribute with an specific font size....
    - use the
    SET_ITEM_INSTANCE_PROPERTY('block.item',CURRENT_RECORD,VISUAL_ATTRIBUTE,'you_visual_attribute');
    and call it from psot-change....
    It works
    Hope it helps,
    Jose.

  • For the life of me, I can't find out what size a photo is in terms of inches or how to change the size of the photo[s] so I can print them. I think I read somewhere to click edit, then click adjust. Nothing there about sizing.

    For the life of me, I can't find out what size a photo is in terms of inches or how to change the size of the photo[s] so I can print them. I think I read somewhere to click edit, then click adjust. I don't see anything about re-sizing when I click the adjust tab: only saturation and tint levels. Thank you.

    With respect to digital images, there really is no size in inches. The size is given as number of pixels horizontally and vertically. In iPhoto '09 you click the little "i" inthe lower right side of the window and it will display information related to the selected photo, including the pixel dimensions. I do not have iPhoto '11 installed so I don't know if it is the same there.
    In some applications, such as preview, it has something additional called Dots per Inch (DPI) which you would think would allow you to convert the pixel dimensions to inches. It is not a real thing, though. The DPI is determined by how large or small you have chosen to print your photo and the capabilities of your printer. 
    There is also something called Aspect Ratio, which is usually expressed in inches x inches such as 6x9 but that doesn't mean the size on the screen or when printed is 6x9.  It is the ratio of the pixel dimensions.  When cropping your photos, you will have several standard aspect ratios to choose from plus any custom ones you create.
    In iPhoto '09, after you choose Print, in the Print Setting window are the settings for the size you want the photo printed. You want to shoose a setting with the same aspect ratio of your photo. Otherwise, iPhoto will resize and/or crop your photo to fit the size you have chosen. 

  • How to change the Size of the font of the JDeveloper IDE

    First of all, this question does not concern the code editor.
    How to change the font for the editor is clear, well documented in the documentation as well as in many of this forums threads.
    My question is how the font of all the IDE components can be increased.
    Is some threads I found to change the font size in the ide.properties file.
    I tried that solution but it does not bring any solution.
    I'm a person with low vision, using a MB Pro with OS X lion just for overall better visibility.
    Talking to a lot of people, who have good vision capabilities, it seems that even a lot of people suffer from the fonts which are to small.
    So ... is it possible to document clearly where to do what and in what versions of JDeveloper.
    I've not yet discovered if any kind of skin settings can be applied ... but this would be great, surely if some kind of predefined bigger fonts would be available.
    Currently I'm using version 11.1.2 and 11.1.1.5.
    Help would be dearly appreciated.
    Greetings,
    Jan.

    Did you close JDeveloper and re-open again after making the changes in ide.properties?
    If changing the ide.properties does not work.
    Try this:
    Go to 'Tools' Menu and select 'Preferences' Sub menu:
    Select ''Code Editor" and select "Fonts"
    Set the options for font-size as in screenshot:
    http://adfsampleapplications.googlecode.com/svn/trunk/images/FontChange.png
    Thanks,
    Navaneeth

Maybe you are looking for

  • Elements 13 - When I try to burn a movie to DVD I get a Code error

    The code error is: Plugin Code Error: No Plugin DLLs. How do I resolve?

  • AS2 Drag and Drop Interaction help

    I am trying to create a reusable template for a drag and drop interaction. There are 7 drag objects, 7 targets. Based on a scenario we develop (which of the 7 services [drag objects] are the best solution, for example), I would like to create interac

  • Citrix quits unexpectedly

    When I start my remote log in I currently alway get the message 'Citrix has quite unexpectedly' and the error message (posted below after this explanation). If I then leave it it seems to reconnect and stay connected, but sometimes not. Once a sessio

  • Reg Syncronization error

    Hi All,     I am implementing MI in my organization,I am getting some problems while setting     Configurations in MI.I got the Syncronization Error • Synchronization started  • Connection set up (without proxy) to: http://mytecsap05:50100/sap/bc/MJC

  • Weblogic error while starting the application

    Hi, my JDev : 11.1.2.3.0. I am  getting weblogic error debugging log console , but application is running successfully... <Oct 9, 2013 8:36:45 AM AST> <Error> <JMX> <BEA-149500> <An exception occurred while registering the MBean null. java.lang.Illeg