?
Solved

How to forve the height of a cell in layout view

Posted on 2002-07-17
10
Medium Priority
?
170 Views
Last Modified: 2010-04-25
I am trying to draw a nice 4px deep cell above and below an image in a cell.
Then I will give it a colour and it will border my image.

However:
Every time I create and try to make the cell 4px height, I get the message
“Value would make cell smaller than its minimum size.
It will be adjusted back.”

So I cannot get a 4px deep cell

How can I solve?
0
Comment
Question by:astoller
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
10 Comments
 

Author Comment

by:astoller
ID: 7165435
Urgent answer needed.
Will increase to 100 points if snswered by 20th July
Arthur
0
 

Expert Comment

by:caloisoft
ID: 7167476
You can use a 1x1 trasparent pixel.gif to force the cell to the size you want.
Can you post the piece of html code ?
0
 

Author Comment

by:astoller
ID: 7167515
Its the opposite I want.
I need to make a cell height only 4 pixels , but dreamweaver gives me the message:

“Value would make cell smaller than its minimum size.
It will be adjusted back.”

and my my cell is made bigger.
Thi shappens when I have 3 cells one above the other
The first one is not adjusted back by DW4
but the 2nd and 3rd ones are
0
Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

 

Expert Comment

by:caloisoft
ID: 7167537
can you post the part of html that gives the problem?
(or the url it the page is online)
0
 

Expert Comment

by:caloisoft
ID: 7167547
can you post the part of html that gives the problem?
(or the url it the page is online)
0
 

Author Comment

by:astoller
ID: 7168140
Its really not worth posting up as there is nothing to see.
Here is the problem:
Create a cell in DW4 in layout mode.
Then how do you force the height of the cell to be only 4px

DW4 does not seem to let you do this
It seems to default to 19px

Any answers?
Art
0
 
LVL 23

Expert Comment

by:Zeffer
ID: 7168403
the obvious work-around for this has to be..
add the 4px border to your image..top and bottom..in your graphics program..put it in a single cell in DW.

this would work better than what you were planning as..for instance..Netscape 4x won't display background colors in cells.

Z
0
 

Author Comment

by:astoller
ID: 7169211
I understand the workaround.
But I still need to know how to make a cell a certain height in DW4
Currently DW4 is telling me
I want to tell it.

Arthur


0
 
LVL 8

Accepted Solution

by:
klykken earned 240 total points
ID: 7179969
astoller,
The way everyone does this is to insert a transparent gif that is 4 px high in the cells you want to be 4px high.
<td><img src="trans.gif" height="4" width="50"></td>
The image path and the width of the image in the sample code above is of course changeable.
--
klykken
0
 

Author Comment

by:astoller
ID: 7180492
Thanks.
Worth waiting for!
Astoller
0

Featured Post

Want to be a Web Developer? Get Certified Today!

Enroll in the Certified Web Development Professional course package to learn HTML, Javascript, and PHP. Build a solid foundation to work toward your dream job!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question