Loading ...
Sorry, an error occurred while loading the content.

RE: [NH] Vertical Align Equation Number in CSS

Expand Messages
  • Christine
    I guess I misunderstood. I use a separate .css file, where all is declared in one place. It s easier for me when I do updates. My text looks like this:
    Message 1 of 5 , Apr 16, 2004
    • 0 Attachment
      I guess I misunderstood.
      I use a separate .css file, where all is declared in one place. It's easier
      for me when I do updates.

      My text looks like this:
      .CenMid {text-align: Center;
      vertical-align: Middle;}

      with .CenMid used in the page like this: <P class="CenMild">, for example.

      My fonts are declared without the '' or "" you've used around yours,
      separately (since it's inherited) like this:

      font-size: 12pt;
      font-family: Verdana, Garamond, SuzBudR, SuzBudC, Papyrus, Ariel, Serif;
      font-color: #OE4148;

      When I declare them for a special item, it's still declared in my main .css
      file like this:

      .Note {text-align: Center;
      vertical-align: Middle;
      font-size: 9;
      font-family: Verdana, Papyrus, Ariel, Serif;}

      Hopefully this will help?
      Christine

      -----Original Message-----
      From: R Shapp [mailto:ras45@...]
      Sent: Friday, April 16, 2004 11.10 AM
      To: ntb-html@yahoogroups.com
      Subject: Re: [NH] Vertical Align Equation Number in CSS


      Hi Christine,

      Thanks for the reply.

      I wasn't sure about where to insert "vertical-align:middle", therefore I
      tried
      it in the paragraph definition, in the paragraph itself, and in both places,
      but the equation number refuses to budge. My first question is where should
      "vertical-align:middle" be inserted. My second question is to ask whether
      some other specification could be overriding the vertical alignment
      directive.

      I wonder about some factor overriding the alignment spec because I changing
      the font size value has no effect either. For example, I changed
      "style='font-size:14.0pt'" to "style='font-size:72.0pt'" but the size of the
      text remained unchanged.

      I'm using MSIEv6 and Navigator v7.1.

      Thanks for your help.

      Ray Shapp

      *******paragraph definition********

      p.MsoNormal, li.MsoNormal, div.MsoNormal
      {margin:0in;
      margin-bottom:.0001pt;
      font-size:12.0pt;
      vertical-align:middle;
      font-family:"arial";}

      ******specific paragraph**********

      <p class=MsoNormal align=center style='text-align:center'><b><span
      style='font-size:14.0pt'></span></b><span style='font-size:14.0pt'
      style='vertical-align:middle'><sub><img
      width=222 height=86 src="gifs/rshft02.gif"></sub>
      <b>(1)</b></span></p>
    • R Shapp
      Hi Christine, The only reason I got into CSS at all is that the documents originate in Word, and are converted to HTML using Save As with the Web Page,
      Message 2 of 5 , Apr 16, 2004
      • 0 Attachment
        Hi Christine,

        The only reason I got into CSS at all is that the documents originate in Word,
        and are converted to HTML using Save As with the Web Page, Filtered option.

        Although I would be willing to tweak the embedded CSS for six equations in a
        four page document, I'm not willing to create separate CSS files.

        My work-around is to put each equation and its associated number into
        two-column tables. Now I'm in familiar territory, and can get the desired
        effect.

        Thanks for your help.

        Ray Shapp
      Your message has been successfully submitted and would be delivered to recipients shortly.