Current location: Hot Scripts Forums » General Web Coding » HTML/XHTML/XML » table border question


table border question

Reply
  #1 (permalink)  
Old 05-20-05, 12:27 PM
timmy long timmy long is offline
Newbie Coder
 
Join Date: Mar 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
table border question

hello, everyone. i have a question regarding table borders. i'm looking for a script that makes the border a bunch of dashes like such: ----------

have any ideas?

thanks
Reply With Quote
  #2 (permalink)  
Old 05-20-05, 01:02 PM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
Code:
<table>
   <tr>
      <td style="border-style: dashed; border-width:1px;">in side dashes!</td>
   </tr>
</table>
http://www.w3schools.com/css/pr_border-style.asp
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote
  #3 (permalink)  
Old 05-22-05, 08:34 PM
snaip's Avatar
snaip snaip is offline
iNET Interactive
 
Join Date: Nov 2003
Posts: 997
Thanks: 2
Thanked 7 Times in 6 Posts
Or you can see CSS

Code:
<style> 
table 
{border-top: 1px; 
border-bottom: 1px; 
Border-left: 1px; 
border-right: 1px; 
border-style:solid;} 
</style>
__________________
Regards,
Ahmad Permessur
Team HotScripts
Reply With Quote
  #4 (permalink)  
Old 05-23-05, 02:38 AM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
of course you'd have to replace "solid" with "dashed"
__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote
  #5 (permalink)  
Old 05-23-05, 04:15 AM
leniz leniz is offline
New Member
 
Join Date: May 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
ThankU.
But I think it's better to define a class.
Reply With Quote
  #6 (permalink)  
Old 05-23-05, 09:36 AM
kjmatthews kjmatthews is offline
Wannabe Coder
 
Join Date: Jun 2004
Location: Boston, MA
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
Code:
table 
{border-top: 1px; 
border-bottom: 1px; 
Border-left: 1px; 
border-right: 1px; 
border-style:solid;}
This style declaration is a little unneccessarily verbose. You can just write it as:

Code:
table {border: 1px solid;}
Remember: shorthand is your friend!
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
Table Question... INeedAGig1210 HTML/XHTML/XML 2 04-14-05 10:45 AM
table question timmy long HTML/XHTML/XML 2 03-19-05 10:26 PM
Problem with a sort table js function tdubyou JavaScript 0 05-03-04 09:19 AM
auto table resize derick_2k JavaScript 4 04-26-04 02:32 PM
Newbie MySQL fccolon PHP 2 03-16-04 10:54 AM


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