Solved

How to forve the height of a cell in layout view

Posted on 2002-07-17
10
167 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
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
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.

 

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 60 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

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

856 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