Jump to content


Photo

Table Borders


  • Please log in to reply
2 replies to this topic

#1 ryanosky

ryanosky

    Young Padawan

  • Members
  • Pip
  • 2 posts

Posted 01 October 2004 - 03:07 PM

Hello,

I'm new to this forum and, further, new to making websites. It's driving me crazy trying to figure out how to make a table/box with a simple border. For instance, if you go to www.rei.com, you'll see a box towards the bottom left that says "News and Deals". How on earth do you make a box with a border that thin and clean looking? I understand you can't do it with traditional borders in HTML using tables. When I highlight the text on the page, it doesn't show that the box is an image, since only the text highlights and not the entire box. When I view the source code, where the boxes should appear, there are not tables or borders. Instead, on pages with these styles of boxes, I noticed the tag <div>. Does this have anything to do with it?

Many thanks for anybody's help in advance.

#2 Unreal

Unreal

    like.. TOTally cool!

  • Members
  • Pip
  • 241 posts

Posted 01 October 2004 - 03:43 PM

You need to use CSS i think, its something like borderstyle=solid and borderwidth=1 something like that :)

#3 cenithx

cenithx

    Young Padawan

  • Members
  • Pip
  • 21 posts

Posted 12 October 2004 - 03:09 AM

There's lots of ways to do it.. mostly using CSS.. this is probably the easiest to explain:

<table style="border: 1px solid black">

It would be wise to learn CSS though then you can do a LOT more with your site.

DIV is usually used in conjunction with CSS stylesheets.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users