How to forve the height of a cell in layout view

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?
astollerAsked:
Who is Participating?
 
klykkenConnect With a Mentor Commented:
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
 
astollerAuthor Commented:
Urgent answer needed.
Will increase to 100 points if snswered by 20th July
Arthur
0
 
caloisoftCommented:
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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
astollerAuthor Commented:
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
 
caloisoftCommented:
can you post the part of html that gives the problem?
(or the url it the page is online)
0
 
caloisoftCommented:
can you post the part of html that gives the problem?
(or the url it the page is online)
0
 
astollerAuthor Commented:
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
 
ZefferCommented:
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
 
astollerAuthor Commented:
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
 
astollerAuthor Commented:
Thanks.
Worth waiting for!
Astoller
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.