Website Babble Webmaster Forums  
  #1 (permalink)  
Old 12-16-2007, 12:55 PM
Gigababbler's Avatar
Master Babbler
 
Join Date: Dec 2007
Posts: 309
Default Dreamweaver Boxes...

Hi,

Does anyone know how to add boxes and borders around text with dreamweaver?

Looking forward to your replies
Reply With Quote
  #2 (permalink)  
Old 12-16-2007, 01:02 PM
MentalClinic's Avatar
Master Babbler
 
Join Date: Dec 2007
Location: Estonia
Posts: 126
Send a message via MSN to MentalClinic
Default

Insert - Table (Ctrl+Alt+T) is one of many ways to do it, then when selecting created table you can choose the size and color of border etc. from properties menu.
Reply With Quote
  #3 (permalink)  
Old 12-16-2007, 03:11 PM
lisa's Avatar
Administrator
 
Join Date: Apr 2007
Location: Dallas, TX
Posts: 3,435
Default

Yep. That's how I do it. Good ole tables. And you can adjust the cellspacing and cellpadding attributes to increase/decrease the area between your text and the border.

Of course you can use CSS, but I'm an old fashioned Webmaster and still use tables for my boxes.
__________________
Don't put the cart before the horse.
Plan your website, then create it.
~~~~~~~~~~~~~~~~~~~~~~~~~

Recent Blog Posts...

Make Money as a YouTube Partner
Don't Discount Amazon's Affiliate Program
Finally! AdSense Ads for Feedburner!
Reply With Quote
  #4 (permalink)  
Old 12-16-2007, 03:53 PM
TechieGuy's Avatar
Supreme Babbler
 
Join Date: Jul 2007
Location: Canada
Posts: 848
Default

If you wanted to go the CSS route, then you can enclose the text in a DIV or SPAN tag and specify a border with CSS for those tags. For example:

Code:
<html>
<body>
<div style="border:1pt solid #000">This text is in a box.</div>
<span style="border:1pt solid #000">This text is also in a box.</span>
</body>
</html>
You can then specify padding for the tags as well.
__________________
Reply With Quote
  #5 (permalink)  
Old 12-17-2007, 08:44 AM
jazzguy's Avatar
Regular Babbler
 
Join Date: Dec 2007
Location: Montreal, Canada
Posts: 76
Default

"Of course you can use CSS, but I'm an old fashioned Webmaster and still use tables for my boxes."

I'm with you Lisa...although I try and combine both CSS and HTML in my coding...
__________________
Jazzguy ( Lyle) - website designer My latest site Passion = inspiration = rewards
Reply With Quote
  #6 (permalink)  
Old 12-17-2007, 10:04 AM
lisa's Avatar
Administrator
 
Join Date: Apr 2007
Location: Dallas, TX
Posts: 3,435
Default

Quote:
Originally Posted by jazzguy View Post

I'm with you Lisa...although I try and combine both CSS and HTML in my coding...
Yeah I use both too, but for my boxes I generally go "old school" and use tables.
__________________
Don't put the cart before the horse.
Plan your website, then create it.
~~~~~~~~~~~~~~~~~~~~~~~~~

Recent Blog Posts...

Make Money as a YouTube Partner
Don't Discount Amazon's Affiliate Program
Finally! AdSense Ads for Feedburner!
Reply With Quote
  #7 (permalink)  
Old 12-17-2007, 03:44 PM
Junior Babbler
 
Join Date: Dec 2007
Posts: 10
Default

i believe that you can also use the "textarea" code...

Code:
<textarea>
TEXT
</textarea>
... or something similar, good thing with Dreamweaver you can always fool around with coding due to the auto fill function. you have to fool around with the size of it to fit your text, otherwise you will get a scrollbar for the box.
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 10:37 AM.



WB Sponsors

Profit Lance Review

affiliate network

Work At Home Jobs

Expert PPC Coaching



 Subscribe to the Website Babble Feeds

2 Create a Website Homepage | 2 Create a Website Blog


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0