| | |||||
| ||||||||
| Web Design Discussion Discussion of web design techniques, advice, browser issues, software, design firms. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Member Join Date: Aug 2003 Location: UK
Posts: 59
![]() | table borders - dreamweaver Hello I am using Dreamweaver MX 2004 to make a webdesign, but I am having a problem with table borders. Border size 1 is way to thick, i need less of a border thickness, how do I do this? When you select an image and set it a border of thickness 1, it is much thinner!? Is there anything I can do? Many thanks From phill Walker
__________________ Nitro-Net - http://www.nitro-net.co.uk/ Ultimate-Force - http://www.ultimate-force.co.uk/ |
| |
| | #2 (permalink) |
| NamePros Member Join Date: Nov 2004
Posts: 43
![]() | Not sure what you are trying to do. You can't get smaller then 1 pixel. Remember though that borders in DW always look a bit weird until you preview them using a browser. And even then different browsers render the things differently. Your best bet is to set the <table> and <td> borders using CSS. |
| |
| | THREAD STARTER #3 (permalink) |
| NamePros Member Join Date: Aug 2003 Location: UK
Posts: 59
![]() | i know you cant get less than a pixel, but when you set it to 1 pixel, and view it online or whatever, its about 3! Not sure whats wrong!
__________________ Nitro-Net - http://www.nitro-net.co.uk/ Ultimate-Force - http://www.ultimate-force.co.uk/ |
| |
| | #4 (permalink) |
| NamePros Member Join Date: Nov 2004
Posts: 43
![]() | Can you give us a URL to have a look at the problem page. Remember that you will have a table border as well as cell borders. Might be teaching you to suck eggs but have you made the table border 0 and the cell border 1. Also note that you cannot set the cell spacing in CSS, you have to do it in HTML. This could be your problem, the cellspacing has a default of 1px. |
| |
| | THREAD STARTER #5 (permalink) |
| NamePros Member Join Date: Aug 2003 Location: UK
Posts: 59
![]() | Ill post a URL soon, its not uploaded I need to finish another website first, due to launch today!!!
__________________ Nitro-Net - http://www.nitro-net.co.uk/ Ultimate-Force - http://www.ultimate-force.co.uk/ |
| |
| | #7 (permalink) |
| NamePros Member Join Date: Nov 2004
Posts: 43
![]() | Hi Guys, Table borders can be a real pain. Ther only sure way to get them to do waht you want is to use CSS. Post the URL of the page and I'll have a look at it. Of course if you really want to fix it the get rid of the table altogether and use CSS. You can do it like this: fisicx/games . No tables, no JavaScript just CSS. |
| |
| | #8 (permalink) |
| First Time Poster! Join Date: Jan 2005 Location: Imotski, Croatia
Posts: 1
![]() | Hi phill, copy/paste this code into Notepad: HTML Code: .table {
border-left-width: 1;
border-left-color: Black;
border-left-style: solid;
border-bottom-width: 1;
border-bottom-color: Black;
border-bottom-style: solid;
border-top-width: 1;
border-top-color: Black;
border-top-style: solid;
border-right-width: 1;
border-right-color: Black;
border-right-style: solid;
} And then just save file as style.css in folder where are files of your web page! Then go to dreamweaver and put this code between </head> and <body> tags: HTML Code: <link rel="stylesheet" href="style.css" type="text/css"> HTML Code: <table class="table"> HTML Code: <link rel="stylesheet" href="style.css" type="text/css"> <body> <table class="table" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td> </td> </tr> </table> ????: NamePros.com http://www.namepros.com/web-design-discussion/63538-table-borders-dreamweaver.html Thanks! Best regeards, Igor! |
| |