This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > February 2006 > Putting text in a table





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Putting text in a table
bloodsh(+)t

2006-01-23, 6:30 am

Hey I am new to dreamweaver and I am trying to make a website or web page. I
have got my layout and table set up to the way I want it and I want to add some
text in for the main page. The problem is when I add text into a cell the
table extends down. I have made enough room for the text but it stills extends
down when it doesnt need too. Can anybody help me?

Holland87

2006-01-23, 6:30 am

Hi -

I would advise against using tables as a layout method; however, lets try to
answer your question, but first - please post a URL or *paste* the code you
have.

HTH, take care.


------
Shane H
http://www.deceptivemagic.com
sholland@NOSPAMdeceptivemagic.com

bloodsh(+)t

2006-01-23, 6:31 am

alright I was using design view to make this the code is below.




<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body {
background-color: #000000;
}
.style1 {color: #00ff00}
-->
</style>
<link href="3209/template_86/style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style2 {
color: #00FF00;
font-size: 18px;
}
.style3 {color: #646464}
-->
</style>
</head>

<body>
<table width="990" height="519" align="center">
<tr>
<td height="145" colspan="2" class="section">&nbsp;</td>
</tr>
<tr class="section">
<td width="174" height="338" class="section">
<p>&nbsp;</p>
<p>&nbsp;</p>
<hr />
<p class="style1">Home </p>
<p class="style1">Personal Information</p>
<p class="style1">Work Expierence</p>
<p class="style1">Interests </p>
<p class="style1">Computer Skills</p>
<hr />
<p class="style1">&nbsp;</p>
<p class="style1">&nbsp;</p></td>
<td width="804" class="section">
<p class="style2">Main <span class="style3">Content</span> </p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p class="style2">&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p></td>
</tr>
<tr>
<td height="29" colspan="2" class="section">&nbsp;</td>
</tr>
</table>
</body>
</html>

bloodsh(+)t

2006-01-23, 6:31 am

Does anybody know why. Im sure this is a comman problem
cotrac

2006-01-23, 6:31 am

I had the same prob try deleting the some of the </p> after the
  worked for me. If it dosent you can always ctrl z to get back
cotrac

Murray *TMM*

2006-01-30, 10:38 pm

Yes - tables expand to hold what you put into them. That's how they work.
If this is breaking your layout, then you need to rethink your layout plan
so that such expansion doesn't break it.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"bloodsh(+)t" <webforumsuser@macromedia.com> wrote in message
news:dr1enq$amm$1@forums.macromedia.com...
> Does anybody know why. Im sure this is a comman problem



Murray *TMM*

2006-02-06, 6:49 pm

Yes - tables expand to hold what you put into them. That's how they work.
If this is breaking your layout, then you need to rethink your layout plan
so that such expansion doesn't break it.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================


"bloodsh(+)t" <webforumsuser@macromedia.com> wrote in message
news:dr1enq$amm$1@forums.macromedia.com...
> Does anybody know why. Im sure this is a comman problem



Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews