TechSpott - Computer and technology forums

Go Back   TechSpott - Computer and technology forums > Webmasters > Design & Developmet > HTML & CSS
HTML & CSS Place to talk about website design and get help with HTML, CSS, DHTML, etc.

Reply
 
Thread Tools Display Modes
Old April 4th, 2010, 02:50 AM   #1 (permalink)
louisleo007
Guest
 
Posts: n/a
Default Why is my CSS not styling my html table?

Okay, here is my...

HTML:
<table id="standings"><tr>
<td>Standings</tr></td>
</table>

CSS:
#standings table{
border-top:1px solid black;
border-left:1px solid black;
}
#standings table td{
border-bottom:1px solid black;
border-right:1px solid black;
}

That is the only part of my CSS that is not working. All the other CSS is corresponding with my HTML document, only that table is not styling.

Btw, I am trying to make a 1px table border which has worked for me many times before which is why I am very curious why it is not working now....

Thanks so much for your help!
  Reply With Quote Share with Facebook
Old April 4th, 2010, 02:50 AM   #2 (permalink)
Alan L
TechSpott Newbie
 
Join Date: Apr 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Alan L is an unknown quantity at this point
Default

table.standings{
border-top:1px solid black;
border-left:1px solid black;
}

<table id="standings" class="standings"><tr>
<td>Standings</tr></td>
</table>
Alan L is offline   Reply With Quote Share with Facebook
Reply

Bookmarks

Tags
css, html, styling, table


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I get data from an html table using php? Wanpo PHP 1 April 4th, 2010 03:28 AM
dim the lights for html or css? max HTML & CSS 3 April 4th, 2010 02:52 AM
How to insert a list from a text file into mysql table ? London MySQL 0 April 2nd, 2010 01:51 AM
MySQL, How do I deny all users certain privileges to a table? pyro1230 MySQL 0 March 31st, 2010 03:40 PM
Fetching data from table Jessica MySQL 1 February 20th, 2010 11:09 PM

 
Forum Stats
Members: 14,364
Threads: 20,372
Posts: 27,833
Total Online: 40

Newest Member: xqmujavurf

Latest Threads

Advertisements

Support our advertisers!

Amazon
Sears
Macys
1800flowers.com
Drugstore.com


Carbonite Online-Backups
Tiger Direct
Tech Depot
Buy.com
Office Depot
Fatcow
HostGator


TripsNow.us
Marriott
Expedia
CheapTickets.com
OneTravel
Hotwire

Are you a Fan?

Share this on Facebook

Tag Cloud

Partner Links


Contact Us - Home - Archive - Privacy Statement - Top - Copyright © 2009-2010, TechSpott - All times are GMT -4. Time is 05:20 PM

Powered by vBulletin® Copyright © Jelsoft Enterprises Ltd. :: SEO by vBSEO