HighDots Forums  

quickie formatting question

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss quickie formatting question in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
drozy webforumsuser@macromedia.com
 
Posts: n/a

Default quickie formatting question - 12-02-2003 , 08:03 AM






Hi there! I imported data from excel and I'm trying to figure out how I can have borders for some of the cells, and have no borders for other columns. I tried hitting control to select certain cells, but when I preview it in explorer, it selected everything. HELP! Thanks in advance



Reply With Quote
  #2  
Old   
August Malson
 
Posts: n/a

Default Re: quickie formatting question - 12-02-2003 , 08:04 AM






You should use CSS to help you with this problem. on the cells you want
bordered, add the following code:

style="border: 1 solid"

Although you might end up with some really thick borders, so you might have
to modify it some . . . but you should definately play with it.

--
--
Augie Malson
Certified Macromedia Developer
ICQ: 5619136
-------
Web Design Tips, Tricks, and News
http://www.thearchgu.com/web_design/
--------
"drozy" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hi there! I imported data from excel and I'm trying to figure out how I
can have borders for some of the cells, and have no borders for other
columns. I tried hitting control to select certain cells, but when I
preview it in explorer, it selected everything. HELP! Thanks in advance
Quote:




Reply With Quote
  #3  
Old   
mick_white
 
Posts: n/a

Default Re: quickie formatting question - 12-02-2003 , 12:07 PM



Of course for those browsers that don't know "border-collapse", you can
place 1 px border on the <td>, bottom and left.
And to your <table> 1px border, top and right.(or vv)
cellspacing to 0
Mick

Quote:
There are a couple of things you need to do. First, apply the style
"border-collapse: collapse" to the table to prevent the borders from
doubling when you apply borders to adjacent cells. Then, for the cells
that you want to border, apply the style "border: 1px solid #000".
Replace the "#000" with the color of the border you want. It might
look something like this:






Reply With Quote
  #4  
Old   
Gary White
 
Posts: n/a

Default Re: quickie formatting question - 12-02-2003 , 03:11 PM



On Tue, 02 Dec 2003 13:07:49 -0500, mick_white <mick (AT) gerrytimlin (DOT) com>
wrote:

Quote:
Of course for those browsers that don't know "border-collapse", you can
place 1 px border on the <td>, bottom and left.
And to your <table> 1px border, top and right.(or vv)
cellspacing to 0
Of course most of those browsers don't do very well understanding CSS
borders at all. ;-)


Gary


Reply With Quote
  #5  
Old   
mick_white
 
Posts: n/a

Default Re: quickie formatting question - 12-03-2003 , 07:47 AM



IE5 Mac Hack.......
Mick

Gary White wrote:

Quote:
On Tue, 02 Dec 2003 13:07:49 -0500, mick_white <mick (AT) gerrytimlin (DOT) com
wrote:



Of course for those browsers that don't know "border-collapse", you can
place 1 px border on the <td>, bottom and left.
And to your <table> 1px border, top and right.(or vv)
cellspacing to 0



Of course most of those browsers don't do very well understanding CSS
borders at all. ;-)


Gary





Reply With Quote
  #6  
Old   
Gary White
 
Posts: n/a

Default Re: quickie formatting question - 12-03-2003 , 11:30 AM



On Wed, 03 Dec 2003 08:47:57 -0500, mick_white <mick (AT) gerrytimlin (DOT) com>
wrote:

Quote:
IE5 Mac Hack.......

Thanks.


Gary


Reply With Quote
Reply




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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.