Solved

How to forve the height of a cell in layout view

Posted on 2002-07-17
10
166 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
dw grid expanded layout view 8 321
CSS Layout Help 7 232
Adobe Products Forum? 3 153
Need icon art 9 110
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 Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

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