Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

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?
0
astoller
Asked:
astoller
1 Solution
 
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
 
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
[Webinar On Demand] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

 
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
 
klykkenCommented:
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:
Thanks.
Worth waiting for!
Astoller
0

Featured Post

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.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now