Best Website-BuildersBest Website-Builders
    What's Hot

    It’s Never Been Easier to Make an Adventure Game

    March 25, 2023

    Drone footage captures devastation after tornado

    March 25, 2023

    Energy firms call for windfall tax to fall with prices

    March 25, 2023
    Facebook Twitter Instagram
    Facebook Twitter Instagram
    Best Website-BuildersBest Website-Builders
    • Home
    • CSS

      RCMP Phone Tracking Continues Despite Privacy Concerns

      March 25, 2023

      How to optimize Next.js fonts with @next/font

      March 25, 2023

      OpenAI Reveals Redis Bug Behind ChatGPT User Data Breach Incident

      March 25, 2023

      CSS’s Ledenkov and Bostedt, UWS’ Meylan named All-American

      March 24, 2023

      IT and Computer Science Skills Introduce Students to the IT Industry – Muleshoe Journal

      March 24, 2023
    • Joomla

      Save Thousands On Web Hosting With iBrave, Now Only $86

      March 23, 2023

      In Vitro Transcription Services Market Analysis, Research Study with Shanghai Zhishuo Biotechnology Co., Yunzhou Biotechnology Co.

      March 23, 2023

      Current state of UK content management systems

      March 23, 2023

      Reseller Hosting Business: Important Q&A

      March 21, 2023

      Web Hosting: 8 Elements Every Entrepreneur Should Look For

      March 20, 2023
    • PHP

      Mississippi tornado kills at least 24, uproots town

      March 25, 2023

      Ja Morant’s suspension puts him in the spotlight

      March 25, 2023

      Kelly Ripa and Mark Consuelos’ marriage is horny

      March 25, 2023

      Naomi Osaka gives birth These are her pregnancy products she swears by.

      March 25, 2023

      Something to read or watch when you need a snack.

      March 25, 2023
    • UX

      Iberia named world’s most punctual airline in January

      March 25, 2023

      Hungama launches the highly anticipated all-in-one app that seamlessly integrates music and movies for an unparalleled user experience.

      March 25, 2023

      Fort Worth All-Women’s Robotics Team Fights for State Title – NBC 5 Dallas-Fort Worth

      March 25, 2023

      Fort Worth All-Women’s Robotics Team Fights for State Title – NBC 5 Dallas-Fort Worth

      March 24, 2023

      Navigating Algorithms: Tips and Tricks for SEO Success | Recommended

      March 24, 2023
    • Web Builders
      1. Web Design
      2. View All

      What Comes First in Website Development — Design or Copy?

      February 2, 2023

      Modern Campus Honors Best Higher Education Websites of 2022

      February 2, 2023

      Premier SEO Consultant in Las Vegas, Nevada with Unparalleled Customer Service

      February 2, 2023

      Can Religious Freedom Be Saved? This group is racing the clock to teach America’s first freedom

      February 2, 2023

      How i Create New Google Account

      February 7, 2023

      CWT powers tools for meeting and event planners

      January 31, 2023

      Best Website Builder – Website Builders

      January 24, 2023

      Is There A Market For Rap-Themed Slot Games? – Rap Review

      January 19, 2023
    • WordPress

      New Pixel Tablet leak contains images of Pixel Stand accessories

      March 25, 2023

      Sonos Move 2 could arrive in the coming months

      March 25, 2023

      Businesses Worry About the Dark Web, But They Are Not Doing Much

      March 25, 2023

      Quordle today – Tips and Answers for Saturday March 25th (Game #425)

      March 25, 2023

      This $399 AMD-based One-Eyed PC Is One Of The Weirdest Designs I’ve Seen In 25 Years

      March 25, 2023
    • Realtoz
      • Our Other Sites
    • More News
    Best Website-BuildersBest Website-Builders
    Home » Help creating CSS tables with ROWSPAN – HTML & CSS – SitePoint Forums
    CSS

    Help creating CSS tables with ROWSPAN – HTML & CSS – SitePoint Forums

    websitebuildersnowBy websitebuildersnowSeptember 19, 2022No Comments5 Mins Read
    Facebook Twitter LinkedIn Telegram Pinterest Tumblr Reddit WhatsApp Email
    Share
    Facebook Twitter LinkedIn Pinterest Email


    Archibald. I tried to adapt your code to my his 4 font swatches but it didn’t work. Here is my effort:

    <!DOCTYPE html>
    <HTML LANG="en">
    <HEAD>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="preconnect" href="https://fonts.googleapis.com"> 
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    
    <link href="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Crete+Round:ital@0;1&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Henny+Penny&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Metal+Mania&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
    
    <TITLE>97 TABLE FONTS &#7172; including  Archibald</TITLE>
    
    <STYLE>
    
    * {
            margin: 0;
            padding: 0;
            border: 0;
            outline: 0;
    }
    BODY {
            margin-left: 10%;
            margin-right: 10%;
            margin-top: 2.5rem;
            margin-bottom: 2.5rem;
            font-size: 1rem;
            line-height: 1;
            font-weight: 500;
            font-family: 'Roboto Slab', sans-serif;
    }
    
    .COU {
            
            line-height: 1;
            font-weight: 700;
            font-size: 1rem;
            font-family: 'COURIER PRIME', monospace;
    }
    
    .CRE {
            
            font-style: ITALIC;
            line-height: 1.1;
            font-weight: 400;
            font-size: 1rem;
            font-family: 'CRETE ROUND', serif;
    }
    
    .HEN {
            
            line-height: 1.5;
            font-weight: 400;
            font-size: 1rem;
            font-family: 'HENNY PENNY', display;
    }
    
    .MET {
            
            line-height: 1;
            font-weight: 400;
            font-size: 1rem;
            font-family: 'METAL MANIA', display;
    }
    
    
    table { border-collapse: collapse; }
    th { border: 8px GROOVE #00FFFF; }
    td { border: 2px solid black; height: 30px; }
    tr:first-child { background-color: black; color: white; }
    
    .span1 { 
            background-color: #e2ff9e;
            line-height: 1;
            font-weight: 700;
            font-size: 1rem;
            font-family: 'COURIER PRIME', monospace;
    }
    .type1 { 
            background-color: #ffa3d3; 
            font-style: ITALIC;
            line-height: 1.1;
            font-weight: 400;
            font-size: 1rem;
            font-family: 'CRETE ROUND', serif;
    }
    .type2 { 
            background-color: #96e2ff; 
            line-height: 1.5;
            font-weight: 400;
            font-size: 1rem;
            font-family: 'HENNY PENNY', display;
    }
    .type3 { 
            background-color: #ffda7e; 
            line-height: 1;
            font-weight: 400;
            font-size: 1rem;
            font-family: 'METAL MANIA', display;
    } 
    
    table {
      border-collapse: collapse;
    }
    
    td, th {
      border: 2px solid black;
      height: 30px;
    }
    
    tr:first-child {
      background-color: black;
      color: white;
    }
    
    .span1 {
      background-color: #e2ff9e;
    }
    
    .type1 {
      background-color: #ffa3d3;
    }
    
    .type2 {
      background-color: #96e2ff;
    }
    
    .type3 {
      background-color: #ffda7e;
    }
    
    </style>
    </head>
    
    <BODY>
    
    <TABLE>
    <TR>
    <TD class="COU" rowspan="3">
    This is a sample of the (bolded) Google Font &ldquo;COURIER PRIME&rdquo; &ndash; a Monospace font developed by Mozilla!</TD>
    </TR>
    
    <TR>
    <TD class="CRE">
    This is a sample of the Google Font <B>&ldquo;CRETE ROUND&rdquo;</B> &ndash; shown here italicized</td>
    </TR>
    
    <TR>
    <td class="HEN">
    This is a sample of the Google Font &ldquo;HENNY PENNY&rdquo; &ndash; <B>a playful display font</B> by font developer &ldquo;brownfox&rdquo;</td>
    </TR>
    
    <TR>
    <td class="MET">
    This is a sample of the Google Font &ldquo;METAL MANIA&rdquo; &ndash; a Gothic font rendered in small caps, particularly suited to <B>SHAKESPEARE EXCERPTS</B> I have found.</td>
    </TR>
    
    </TABLE>
    
    <table>
      <tbody>
        <tr>
          <th>HEADER FOR COLUMN 1</th>
          <th>HEADER FOR COLUMN 2</th>
        </tr>
        <tr>
          <td class="span1" rowspan="3">
          <td class="type1"></td>
        </tr>
        <tr>
          <td class="type2"></td>
        </tr>
        <tr>
          <td class="type3"></td>
        </tr>
      <tbody>
    </table>
    
    </body>
    </html>
    

    To restate the obvious, I tried to put my HTML in Archibald’s outline. I’ll keep tweaking it, but I’d be very grateful if someone did it the right way.

    I have a turquoise border around the header and scraped off a solid black border. The code is below.

    Finally – some progress!

    I’ve gone as far as I can plug in the content so you can get a better idea of ​​the whole thing. I have a problem at the borderThe turquoise header frame is not displayed. Give the table a 5% margin to breathe a little. So here is code, warts and everything!

    <!DOCTYPE html>
    <HTML LANG="en">
    <HEAD>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="preconnect" href="https://fonts.googleapis.com"> 
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    
    <link href="https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Crete+Round:ital@0;1&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Henny+Penny&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Metal+Mania&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;0,900;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,400;0,700;1,400;1,700&display=swap" rel="stylesheet">
    
    <TITLE>93 TABLE FONTS &#7172; including by Archibald</TITLE>
    
    <STYLE>
    
    * {
            margin: 0;
            padding: 0;
            border: 0;
            outline: 0;
    }
    BODY {
            margin-left: 5%;
            margin-right: 5%;
            margin-top: 54px;
            margin-bottom: 54px;
            font-size: 1rem;
            line-height: 1;
            font-weight: 500;
            font-family: 'Roboto Slab', sans-serif;
    }
    
    .COU {
            
            line-height: 1;
            font-weight: 700;
            font-size: 1rem;
            font-family: 'COURIER PRIME', monospace;
    }
    
    .CRE {
            
            font-style: ITALIC;
            line-height: 1.1;
            font-weight: 400;
            font-size: 1rem;
            font-family: 'CRETE ROUND', serif;
    }
    
    .HEN {
            
            line-height: 1.5;
            font-weight: 400;
            font-size: 1rem;
            font-family: 'HENNY PENNY', display;
    }
    
    .MET {
            
            line-height: 1;
            font-weight: 400;
            font-size: 1rem;
            font-family: 'METAL MANIA', display;
    }
    
    
    table { 
            border-collapse: collapse;
            border: 6px SOLID BLACK;
    }
    
    TH {
            vertical-align: bottom;
            border: 4px GROOVE #00FFFF;
            border-collapse: collapse;
            padding: .38rem;
            text-align: CENTER;
            color: WHITE;
            background-color: BLACK;
            line-height: 1;
            font-weight: 600;
            font-size: 1rem;
            font-family: 'Roboto Slab', sans-serif;
    }
    td {border: 2px solid black;}
    tr:first-child { background-color: black; color: white; }
    
    .span1 { 
            background-color: #e2ff9e;
            vertical-align: TOP;
            line-height: 1;
            font-weight: 700;
            font-size: 1rem;
            font-family: 'COURIER PRIME', monospace;
    }
    .type1 { 
            background-color: #ffa3d3; 
            vertical-align: TOP;
            font-style: ITALIC;
            line-height: 1.1;
            font-weight: 400;
            font-size: 1rem;
            font-family: 'CRETE ROUND', serif;
    }
    .type2 { 
            background-color: #96e2ff; 
            vertical-align: TOP;
            line-height: 1.5;
            font-weight: 400;
            font-size: 1rem;
            font-family: 'HENNY PENNY', display;
    }
    .type3 { 
            background-color: #ffda7e; 
            vertical-align: TOP;
            line-height: 1;
            font-weight: 400;
            font-size: 1rem;
            font-family: 'METAL MANIA', display;
    } 
    
    table {
      border-collapse: collapse;
    }
    
    td, th {
      padding: .38rem;
      border: 2px solid black;
      height: 30px;
    }
    
    tr:first-child {
      background-color: black;
      color: white;
    }
    
    .span1 {
      background-color: #e2ff9e;
    }
    
    .type1 {
      background-color: #ffa3d3;
    }
    
    .type2 {
      background-color: #96e2ff;
    }
    
    .type3 {
      background-color: #ffda7e;
    }
    
    </style>
    </head>
    
    <body>
    
    <TABLE border="8px BLACK">
    <TBODY>
    
    <TR>
    <TH>HEADING FOR THE LEFT COLUMN</TH>
    <TH>HEADING FOR THE RIGHT COLUMN</TH>
    </TR>
    
    <TR>
          <td class="span1" rowspan="3">
    This is a sample of the (bolded) Google Font &ldquo;COURIER PRIME&rdquo; &ndash; a Monospace font developed by Mozilla!
    
          <td class="type1">
    This is a sample of the Google Font <B>&ldquo;CRETE ROUND&rdquo;</B> &ndash; shown here italicized</td>
        </tr>
    
    <TR>
          <td class="type2">This is a sample of the Google Font &ldquo;HENNY PENNY&rdquo; &ndash; <B>a playful display font</B> by font developer &ldquo;brownfox&rdquo;
    </td>
        </tr>
    
    <TR>
          <td class="type3">This is a sample of the Google Font &ldquo;METAL MANIA&rdquo; &ndash; a Gothic font rendered in small caps, particularly suited to <B>SHAKESPEARE EXCERPTS</B> I have found.</td>
        </tr>
      <tbody>
    </table>
    
    </body>
    </html>
    



    Source link

    Share this:

    • Tweet
    • Email
    • Pocket
    • Mastodon
    • WhatsApp
    • Telegram
    • Share on Tumblr
    • Print
    Share. Facebook Twitter Pinterest LinkedIn Tumblr Telegram Email
    Previous ArticlePros and cons of using styled components in React
    Next Article Generate random numbers using Math.random() in JavaScript
    websitebuildersnow
    • Website

    Related Posts

    How to optimize Next.js fonts with @next/font

    March 25, 2023

    RCMP Phone Tracking Continues Despite Privacy Concerns

    March 25, 2023

    OpenAI Reveals Redis Bug Behind ChatGPT User Data Breach Incident

    March 25, 2023
    Add A Comment

    Leave a Reply Cancel reply

    Top Posts

    Subscribe to Updates

    Get the latest sports news from SportsSite about soccer, football and tennis.

    Advertisement
    Demo

    This website provides information about CSS and other things. Keep Supporting Us With the Latest News and we Will Provide the Best Of Our To Makes You Updated All Around The World News. Keep Sporting US.

    Facebook Twitter Instagram Pinterest YouTube
    Top Insights

    It’s Never Been Easier to Make an Adventure Game

    March 25, 2023

    Drone footage captures devastation after tornado

    March 25, 2023

    Energy firms call for windfall tax to fall with prices

    March 25, 2023
    Get Informed

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    © 2023 bestwebsite-builders. Designed by bestwebsite-builders.
    • Home
    • About us
    • Contact us
    • DMCA
    • Privacy Policy

    Type above and press Enter to search. Press Esc to cancel.