Community
    • Login

    Reformat Issue

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 497 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • NationalRex22N
      NationalRex22
      last edited by

      Hello,

      I’m writing to request a bit of assistance related to changing fonts for a couple of words. For example, what I’m trying to accomplish is switching an inline font, Palatino Lynotype, for a web page’s title (located in code between Line 27 to 28) to a new font I declared within the <style> tags (located in code between (Line 16 to 18). I’ve included the code for the entire web page below. I tried deleting the portion between <span> tags that assigns the original font-family for the web page title with the new code id=“googlefont”; but to no avail.

      My objective seems simple, and I’m a novice at programming. I feel like I’m playing that classic game Operation by Milton Bradley, which is fun and frustrating at the same time, because all I’m trying to do is reformat a piece of code.

      If someone could assist me with implementing the new text, I would really appreciate it.

      NationalRex22

      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
      <!-- saved from url=(0060)https://7tzfam8fzzn0rg10suyvzw-on.drv.tw/webpage01/index.htm -->
      <HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" 
      xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:o="urn:schemas-microsoft-com:office:office" 
      xmlns:v="urn:schemas-microsoft-com:vml"><HEAD><META content="IE=5.0000" 
      http-equiv="X-UA-Compatible">
       
      <META http-equiv="Content-Type" content="text/html; charset=utf-8"> 
      <META name="ProgId" content="Word.Document"> 
      <META name="GENERATOR" content="MSHTML 11.00.10570.1001"> 
      <META name="Originator" content="Microsoft Word 15"> <LINK href="index_files/filelist.xml" 
      rel="File-List"> <LINK href="index_files/editdata.mso" rel="Edit-Time-Data">
      <LINK href="index_files/themedata.thmx" rel="themeData"> <LINK href="index_files/colorschememapping.xml" 
      rel="colorSchemeMapping">
      <STYLE>
      #googlefont {
      	font-family: "Vollkorn", serif; 
      }
      * {
          background-color: #FFF8CC;
      }
      </STYLE> 
      </HEAD> 
      <BODY lang="EN-US" style="tab-interval: .5in;" link="#0563c1" vlink="#954f72">
      <DIV class="WordSection1">
      <P align="center" class="MsoNormal" style="text-align: center;"><A 
      name="_top"></A><B style="mso-bidi-font-weight: normal;"><SPAN style='color: rgb(132, 60, 12); line-height: 105%; font-family: "Palatino Linotype",serif; font-size: 24pt; mso-themecolor: accent2; mso-themeshade: 128; mso-style-textfill-fill-color: #843C0C; mso-style-textfill-fill-themecolor: accent2; mso-style-textfill-fill-alpha: 100.0%;'>Gabriel 
      Sterling</SPAN></B><B style="mso-bidi-font-weight: normal;"><SPAN style='color: rgb(153, 51, 0); line-height: 105%; font-family: "Palatino Linotype",serif; font-size: 24pt;'><o:p></o:p></SPAN></B></P>
      <P align="center" class="MsoNormal" style="text-align: center;"><B style="mso-bidi-font-weight: normal;"><SPAN 
      style='color: rgb(153, 51, 0); line-height: 105%; font-family: "Palatino Linotype",serif; font-size: 12pt;'><o:p>&nbsp;</o:p></SPAN></B></P>
      <P align="center" class="MsoNormal" style="text-align: center;"><SPAN style='color: rgb(153, 51, 0); line-height: 105%; font-family: "Palatino Linotype",serif; font-size: 24pt; mso-no-proof: yes;'><IMG 
      width="412" height="537" src="index_files/1_1fiAGwXEzz-byrp8OVM_z98y9GWQcCs.png" 
      v:shapes="Picture_x0020_1"></SPAN><SPAN style='color: rgb(153, 51, 0); line-height: 105%; font-family: "Palatino Linotype",serif; font-size: 24pt;'><o:p></o:p></SPAN></P>
      <P align="center" class="MsoNormal" style="text-align: center;"><SPAN style='color: rgb(153, 51, 0); line-height: 105%; font-family: "Palatino Linotype",serif; font-size: 12pt;'><o:p>&nbsp;</o:p></SPAN></P>
      <P align="center" class="MsoNormal" style="text-align: center;"><SPAN style='color: rgb(132, 60, 12); line-height: 105%; font-family: "Palatino Linotype",serif; font-size: 12pt; mso-themecolor: accent2; mso-themeshade: 128; mso-style-textfill-fill-color: #843C0C; mso-style-textfill-fill-themecolor: accent2; mso-style-textfill-fill-alpha: 100.0%;'>3320 
      Great Northern Avenue<o:p></o:p></SPAN></P>
      <P align="center" class="MsoNormal" style="text-align: center;"><SPAN style='color: rgb(132, 60, 12); line-height: 105%; font-family: "Palatino Linotype",serif; font-size: 12pt; mso-themecolor: accent2; mso-themeshade: 128; mso-style-textfill-fill-color: #843C0C; mso-style-textfill-fill-themecolor: accent2; mso-style-textfill-fill-alpha: 100.0%;'>Missoula, 
      Montana 59808<o:p></o:p></SPAN></P>
      <P align="center" class="MsoNormal" style="text-align: center;"><SPAN style='color: rgb(132, 60, 12); line-height: 105%; font-family: "Palatino Linotype",serif; font-size: 12pt; mso-themecolor: accent2; mso-themeshade: 128; mso-style-textfill-fill-color: #843C0C; mso-style-textfill-fill-themecolor: accent2; mso-style-textfill-fill-alpha: 100.0%;'>(704) 
      555-4402<o:p></o:p></SPAN></P>
      <P align="center" class="MsoNormal" style="text-align: center;"><SPAN style='color: rgb(153, 51, 0); line-height: 105%; font-family: "Palatino Linotype",serif; font-size: 12pt;'><o:p>&nbsp;</o:p></SPAN></P>
      <TABLE width="100%" class="MsoTableGrid" style="background: rgb(244, 176, 131); border: currentColor; border-image: none; width: 100%; border-collapse: collapse; mso-background-themecolor: accent2; mso-background-themetint: 153; mso-yfti-tbllook: 1184; mso-padding-alt: 0in 5.4pt 0in 5.4pt; mso-border-insideh: none; mso-border-insidev: none;" 
      border="0" cellspacing="0" cellpadding="0">
        <TBODY>
        <TR style="height: 29.25pt; mso-yfti-irow: 0; mso-yfti-firstrow: yes; mso-yfti-lastrow: yes;">
          <TD width="20%" style="padding: 0in 5.4pt; width: 20%; height: 29.25pt;">
            <P align="center" class="MsoNormal" style="text-align: center; line-height: normal; margin-bottom: 0pt;"><SPAN 
            style='color: rgb(153, 51, 0); font-family: "Palatino Linotype",serif; font-size: 12pt;'><A 
            href="https://7tzfam8fzzn0rg10suyvzw-on.drv.tw/webbiography/Index.htm">Gabriel 
            Sterling</A><o:p></o:p></SPAN></P></TD>
          <TD width="20%" style="padding: 0in 5.4pt; width: 20%; height: 29.25pt;">
            <P align="center" class="MsoNormal" style="text-align: center; line-height: normal; margin-bottom: 0pt;"><SPAN 
            style='color: rgb(153, 51, 0); font-family: "Palatino Linotype",serif; font-size: 12pt;'><A 
            href="https://7tzfam8fzzn0rg10suyvzw-on.drv.tw/webpage01/family.htm">Family</A><o:p></o:p></SPAN></P></TD>
          <TD width="20%" style="padding: 0in 5.4pt; width: 20%; height: 29.25pt;">
            <P align="center" class="MsoNormal" style="text-align: center; line-height: normal; margin-bottom: 0pt;"><SPAN 
            style='color: rgb(153, 51, 0); font-family: "Palatino Linotype",serif; font-size: 12pt;'><A 
            href="https://7tzfam8fzzn0rg10suyvzw-on.drv.tw/webpage01/education.htm">Education</A><o:p></o:p></SPAN></P></TD>
          <TD width="20%" style="padding: 0in 5.4pt; width: 20%; height: 29.25pt;">
            <P align="center" class="MsoNormal" style="text-align: center; line-height: normal; margin-bottom: 0pt;"><SPAN 
            style='color: rgb(153, 51, 0); font-family: "Palatino Linotype",serif; font-size: 12pt;'><A 
            href="https://7tzfam8fzzn0rg10suyvzw-on.drv.tw/webpage01/interests.htm">Interests</A><o:p></o:p></SPAN></P></TD>
          <TD width="20%" style="padding: 0in 5.4pt; width: 20%; height: 29.25pt;">
            <P align="center" class="MsoNormal" style="text-align: center; line-height: normal; margin-bottom: 0pt;"><SPAN 
            style='color: rgb(153, 51, 0); font-family: "Palatino Linotype",serif; font-size: 12pt;'><A 
            href="https://7tzfam8fzzn0rg10suyvzw-on.drv.tw/webpage01/classes.htm">Classes</A><o:p></o:p></SPAN></P></TD></TR></TBODY></TABLE>
      <P align="center" class="MsoNormal" style="text-align: center;"><SPAN style='color: rgb(153, 51, 0); line-height: 105%; font-family: "Palatino Linotype",serif; font-size: 12pt;'><o:p>&nbsp;</o:p></SPAN></P></DIV>
      <SCRIPT src="index_files/wd.js" async=""></SCRIPT>
       </BODY></HTML>
      
      1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones
        last edited by

        @NationalRex22 said:

        I’m writing to request a bit of assistance related to changing fonts for a couple of words

        Your question appears to be what we now term a “cookie baking question”. Please see this FAQ to find out what I mean by a “cookie baking question”.

        After reading that FAQ, if you still believe that this question is appropriate for a Notepad++ specific forum, rather than for a general-purpose HTML/CSS forum, you should reply in this topic with how your problem is specific to Notepad++, rather than to HTML/CSS programming in general. (Hint: if the answer you desire does not depend at all on what text editor you are using to edit your HTML/CSS, then it’s not Notepad++ specific.)

        1 Reply Last reply Reply Quote 3
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors