CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 8th, 2003, 06:11 PM
byepolar byepolar is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 15 byepolar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
CSS - table border troubleshooting

I use this style for my tables:
table { border: 0px solid #CC0000; padding:10; background-color: #FFFFFF; margin-left:auto; margin-right:auto }

Every time I create a table it has a visible border, and it shows this in the HTML:
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%">
<tr>
<td width="100%"> </td>
</tr>
</table>

And even when I do this:
table { border: none; padding:10; background-color: #FFFFFF; margin-left:auto; margin-right:auto }

It still creates a table with a visible border.

In both cases, I check the table properties and it shows "0px" as the border. If I change it "0" in the table properties, there is still a visible border.

I can change the border size from 1+, but I can't get it to show an invisible border.

Reply With Quote
  #2  
Old February 8th, 2003, 06:37 PM
adios adios is offline
Senior Citizen
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: Jan 2001
Location: leftcoast
Posts: 2,019 adios User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 15
Don't believe 'none' is a supported value for border. This is confusing:
Quote:
I can't get it to show an invisible border.
Try: border-width: 0px;

Reply With Quote
  #3  
Old February 8th, 2003, 09:53 PM
byepolar byepolar is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 15 byepolar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Not working

I just tried:

table { border-width: 0px; border-style: solid; border-color: #CC0000; padding:10; background-color: #FFFFFF; margin-left:auto; margin-right:auto }


It still doesn't work. I create tables and they still have visible borders. Although, when I look in table properties, it says the border size is 0px. When I look in HTML it says table border="1".

I use frontpage, and in frontpage you can create tables and set the border to 0, so that the designer can create a layout without making the viewer see the borders.

Reply With Quote
  #4  
Old February 8th, 2003, 10:14 PM
byepolar byepolar is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 15 byepolar User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It seems that it only doesn't work with newly created tables that the CSS is applied to. All former tables, already at table border 0 (before the CSS is applied) will change from 0px-5px.

What's funny is that when I look at the HTML of the tables, whether they are on 0px or 5px, it always says table border 0.

Reply With Quote
  #5  
Old February 9th, 2003, 02:57 AM
Qube Qube is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 8 Qube User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
border-style: none;

hope that helps...

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > CSS - table border troubleshooting

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap