Horizon Campus - Malabe

GET REGISTERED? CALL: +94 11 4 - 365555
  • REGIONAL CENTERS
  • CONTACT US
  • SOURCING
    • Procurement
  • HOME
    • Our Faculties
    • Our Latest News
    • Ath Pavura – Edu. Sponsor
    • What Students Have to Say
    • Partners & Achievements
  • ABOUT US
    • Vision & Mission
    • Recognition
    • History
    • Chairman
    • CEO
    • Vice Chancellor
    • Deputy Vice Chancellor
    • Governing Council
    • Executive Committee (EXCO)
    • Academic Senate
    • Quality Assurance
      • Introduction
      • Members
      • Functions
      • Memberships & Awards
      • Publications
      • News & Events
  • FACULTIES
    • Faculty of Management
      • BSc in Business Management (HRM)
      • Bachelor of Management (Hons) in Marketing
    • Faculty of Information Technology
      • BSc (Hons) in Information Technology
      • BIT (Hons) in Networking & Mobile Computing
      • BIT (University of Moratuwa)
    • Faculty of Science
      • BSc (Hons) Biotechnology (Nilai University Malaysia)
      • BSc in Biotechnology – (Astate)
    • Faculty of Education
      • Bachelor of Education
      • Bachelor of Education in Biological Science (Hons)
      • Bachelor of Education in Physical Science (Hons)
      • Bachelor of Education (Early Childhood Education) (Hons) Asia e University (Malaysia) AeU
      • Master of Education (MEd)
    • Faculty of Law
      • Certificate of Higher Education in Common Law (University of London)
      • Bachelor of Law (LLB) University of London
      • Master of Law – International Human Rights (BCU)
    • Faculty of Technology
      • BSc(Hons) Quantity Surveying (Top-Up)
    • ELTU
  • STUDENT
    • Career Guidance
    • Career Opportunities
    • Student Council
    • NATBEHO
    • Horizon LMS
    • Downloads
    • Request Forms
  • EVENTS
    • Horizon National Events
    • Horizon International Events
    • Editorials
  • JOURNAL
    • About Horizon Journal
    • Guidelines
    • Submission Process
    • Check list
    • Responsibility
  • LOAN SCHEME
  • Home
  • Style – Tables
February 27, 2021

Style – Tables

Style – Tables

Default styles

For basic styling—light padding and only horizontal dividers—add the base class .table to any <table>.

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
[table “” not found /]

Optional classes

Add any of the following classes to the .table base class.

.table-striped

Adds zebra-striping to any table row within the <tbody> via the :nth-child CSS selector (not available in IE7-IE8).

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
[table “” not found /]

.table-bordered

Add borders and rounded corners to the table.

# First Name Last Name Username
1 Mark Otto @mdo
Mark Otto @TwBootstrap
2 Jacob Thornton @fat
3 Larry the Bird @twitter
[table “” not found /]

.table-hover

Enable a hover state on table rows within a <tbody>.

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
[table “” not found /]

.table-condensed

Makes tables more compact by cutting cell padding in half.

# First Name Last Name Username
1 Mark Otto @mdo
2 Jacob Thornton @fat
3 Larry the Bird @twitter
[table “” not found /]

Optional row classes

Use contextual classes to color table rows.

Class Description
.success Indicates a successful or positive action.
.error Indicates a dangerous or potentially negative action.
.warning Indicates a warning that might need attention.
.info Used as an alternative to the default styles.
# Product Payment Taken Status
1 TB – Monthly 01/04/2012 Approved
2 TB – Monthly 02/04/2012 Declined
3 TB – Monthly 03/04/2012 Pending
4 TB – Monthly 04/04/2012 Call in to confirm
...
  <tr class="success">
    <td>1</td>
    <td>TB - Monthly</td>
    <td>01/04/2012</td>
    <td>Approved</td>
  </tr>
...

Supported table markup

List of supported table HTML elements and how they should be used.

Tag Description
<table> Wrapping element for displaying data in a tabular format
<thead> Container element for table header rows (<tr>) to label table columns
<tbody> Container element for table rows (<tr>) in the body of the table
<tr> Container element for a set of table cells (<td> or <th>) that appears on a single row
<td> Default table cell
<th> Special table cell for column (or row, depending on scope and placement) labelsMust be used within a <thead>
<caption> Description or summary of what the table holds, especially useful for screen readers
<table>
  <caption>...</caption>
  <thead>
    <tr>
      <th>...</th>
      <th>...</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td>...</td>
      <td>...</td>
    </tr>
  </tbody>
</table>

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • HORIZON CAMPUS & OREL CORPORATION SIGN MoU TO PROVIDE TRAINING / EMPLOYMENT FOR IT & MANAGMENT STUDENTS

    Horizon Campus entered into a Memorandum of Und...
  • HORIZON CAMPUS HOLDS INAUGURAL STUDENT MEETING ON HCL SKILLING PROGRAMME

    Horizon Campus held the first of a series of me...
  • HORIZON CAMPUS & HCL TECHNOLOGIES SIGN GROUND BREAKING MoU TO PROVIDE TRAINING/EMPLOYMENT FOR IT STUDENTS

    It is with great pleasure that the management o...
  • Horizon Campus alumni achieves highest average in Preliminary Law College Examinations 2020

    Horizon Campus Faculty of Law graduate Charuni ...
  • WHY READ FOR A “GOLD STANDARD” BACHELOR OF LAWS FROM THE UNIVERSITY OF LONDON AT HORIZON CAMPUS?

    Q: What is the University of London LLB and how...

Archives

  • January 2021
  • December 2020
  • November 2020
  • September 2020
  • August 2020
  • July 2020
  • February 2020
  • January 2020
  • December 2019
  • October 2019
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • January 2018
  • August 2015

GET A FREE QUOTE

Please fill this for and we'll get back to you as soon as possible!

FOOTER MENU

  • Latest News
  • Horizon Repository
  • Horizon LMS
  • CFPS Law School
  • LIIN
  • Foresight Engineering (Pvt) Ltd
  • Regional Centres
  • Our Faculties
  • Chairman
  • CEO
  • Our Gallery
  • Contact Us

NEWSLETTER SIGNUP

By subscribing to our mailing list you will always be update with the latest news from us.

We never spam!

GET IN TOUCH

Tel: (+94) 11 4 365555
Email: info@horizoncampus.edu.lk

Horizon Campus
No : 482/B, Suhada Mw,
Millennium Drive,
Chandrika Kumaranathunga Mw,
Malabe,
Sri Lanka.

Open in Google Maps

CONNECT WITH OUR FACEBOOK

SHARE OUR FACEBOOK PAGE

Share

Subscribe to Our YouTube Channel

  • GET SOCIAL
Horizon Campus - Malabe

Copyright © 2020, Horizon Campus Ltd. All rights reserved. Solution by STAANDPOINT.

TOP