Width in css does not work in Netscape

admin

Administrator
Staff member
I have checked width in CSS and it does not show me 70 % in NS.
In IE it works. How is this possible?


.field { width=70%; margin-bottom: 6px; color: #267DDC; BORDER: 1px SOLID #CCCCCC; -moz-border-radius: 4px 4px 4px 4px; padding: 4px}
.field { FONT: 11px Verdana, Tahoma; }width:70%;Uh,my mistake.

Can you tell me how to do that width will be as lenght of the text.

I have put the following width:auto; but it does not work correctly.

What do you think? :rolleyes:


.message { width:auto;
font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;
line-height: 16px; text-decoration: none;
background-color: #FFFFFF;border:1px solid #FF3300; padding:2px }Wrap the text in a div.I have now in tables. Should I change to div? Please suggest if I understand.I have now in tables. Should I change to div?Probably. Got link?What link?Your page link.If you have 2 <td> in your table, then do this: -


<table>
<tr>
<td width="100%"></td>
<td>This is a message</td>
</tr>
</table>


The second <td> will be the width of the text

Kiat Hau
<!-- m --><a class="postlink" href="http://webidiot.blogspot.com">http://webidiot.blogspot.com</a><!-- m -->, Learn how to build a web sitethanks,
I will do
 
Back
Top