Forums

[resolved] Multiple table classes? Can it be done? (3 posts)

  1. Teratoma
    Member
    Posted 2 years ago #

    Hi everyone. Pardon my noobiness, I'm still a bit of a novice in certain areas of php and css. I think I'm probably just leaving something out.

    What I'm trying to do is add a particular table style to style.css for use in widgets and posts and pages. Here's what I added:

    .profile-tables  { border-left: 8px none #CCCCCC;
    	border-right: 8px none #333333;
    	border-top: 8px none #CCCCCC;
    	border-bottom: 8px none #333333; }

    Now, in my understanding, if I create a table starting with this line:

    <table class="profile-tables" width=100%>

    ...Shouldn't I see the borders I specified? I don't.

    It's possible that I edited something somewhere a while back that's over-riding this, but I can't find anything.

    I'm using Comicpress for a theme, and the site is kevinbyrd . co.cc ...The sidebar widget with the little icons should display that border.

    Thanks!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    You won't see any borders because you've set the border-style to 'none'. Try:

    .profile-tables  {
    	border-width:8px;
    	border-style:solid;
    	border-color:#ccc #333 #333 #ccc;
    }
  3. Teratoma
    Member
    Posted 2 years ago #

    Esmi,

    I knew I must've been doing something dumb. Thank you so much! This has been extremely helpful!

Topic Closed

This topic has been closed to new replies.

About this Topic