Current location: Hot Scripts Forums » General Web Coding » CSS » CSS help


CSS help

Reply
  #1 (permalink)  
Old 07-22-05, 08:15 PM
bhxtyrant bhxtyrant is offline
Newbie Coder
 
Join Date: Jul 2005
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
CSS help

Hey guys,need abit of help with my CSS stylesheet i just began on.

I began a website maily html with a tiny bit of php so far,i have decided an external style sheet would be beter for this project as the site will have many many pages.I sucessfully began the new css but i am having a problem related to a tabel border.Basically i want to know if there is a way i can make only a sinlge table have a certain border color.take a look at the iage below to see what i mean.

http://img336.imageshack.us/my.php?image=test6va.jpg

Now i know from using various forums such as IPB and VB that i can set a "class" for this table but i have never done this before so any help would be appreciated

Note,ive included the code for the table in question

Code:
<link rel="stylesheet" href="http://www.neowu.com/neowu/mainsite.css" type="text/css"/>
<table width="622" border="1" cellpadding="1" cellspacing="0" bordercolor="#332C28">
  <tr> 
    <td width="608" valign="top" bordercolor="#000000" background="mainfiles/content3.jpg"style="background-repeat:repeat-y;"><table width="100%" border="0" cellspacing="1" cellpadding="0">
        <tr> 
          <td><font face="Verdana, Arial, Helvetica, sans-serif"><a href='{url}/showthread.php?t={threadid}'><font color="#990000">{threadname}</font></a></font></td>
        </tr>
        <tr> 
          <td><font face="Verdana, Arial, Helvetica, sans-serif">Posted By: <a href='%7Burl%7D/member.php?u=%7Bpostuserid%7D'>{postusername}</a></font></td>
        </tr>
        <tr> 
          <td><font face="Courier New, Courier, mono">-----------------------------------------------------------</font></td>
        </tr>
        <tr> 
          <td><font face="Verdana, Arial, Helvetica, sans-serif"><font color="#FFFFFF">{post}</font></font> 
          </td>
        </tr>
        <tr> 
          <td><font color="#796D66" face="Verdana, Arial, Helvetica, sans-serif"><br>
            {comments} Comments | <a href="{url}/showthread.php?t={threadid}">View 
            Comments</a></font> </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
__________________
www.Neo-WU.com

Last edited by bhxtyrant; 07-22-05 at 08:19 PM.
Reply With Quote
  #2 (permalink)  
Old 07-23-05, 08:24 AM
koncept
Guest
 
Posts: n/a
<table .... class="class name from css sheet">

no spaces
www.w3schools.com/css/
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross-browser CSS Help Arctic CSS 10 12-26-06 11:21 AM
css validator pagetta CSS 3 07-19-05 06:08 PM
Use of CSS within PHP CutAndPaste PHP 5 07-11-05 07:27 AM
Adapting CSS for different platforms pagetta CSS 1 01-12-05 07:13 AM
css generator frank1002 Script Requests 0 05-07-04 03:29 PM


All times are GMT -5. The time now is 01:41 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.