WordPress.org

Ready to get started?Download WordPress

Forums

Thickness of Lines in Table (4 posts)

  1. Molly
    Member
    Posted 2 years ago #

    I have made a table to display various information but the lines demarcating the cells are too light. I want a darker and thicker line to have more contrast.

    http://mollybellydance.com/EN/workshops/silk-road-melody/schedule-prices/

    How to edit table's line color (black)?
    How to increase table's line thickness?

    Molly

  2. cmegown
    Member
    Posted 2 years ago #

    Do you know how to edit CSS?

    If so, go into your stylesheet and enter something like this:

    #content table tr td {
            border-bottom: 1px solid #000000;
        }

    This will set the bottom border of all your table cells to a 1 pixel width with black coloring.

    I'm sure there will have to be more code than this, but that's a good start.

  3. Molly
    Member
    Posted 2 years ago #

    not familiar with CSS. Can I add something in the HTML code for the page? I tried changing the border="0" to larger number but didn't really notice much difference...

    <table width="581" border="0" cellspacing="0" cellpadding="0">
    <tbody>
    <tr>
    <td colspan="2" nowrap="nowrap" width="127">
    <p align="center"><strong>Date</strong></p>
    </td>
    <td nowrap="nowrap" width="109">
    <p align="center"><strong>Time</strong></p>
    </td>
    <td nowrap="nowrap" width="143">
    ...
    ...
  4. esmi
    Forum Moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags