• Resolved Teratoma

    (@teratoma)


    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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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;
    }
    Thread Starter Teratoma

    (@teratoma)

    Esmi,

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Multiple table classes? Can it be done?’ is closed to new replies.