Share on Google+Share on Google+

Clark
percentage values for
1 Answer(s)      6 years and 6 months ago
Posted in : HTML

Can I use percentage values for <TD WIDTH=...>?

Ads

View Answers

November 2, 2010 at 3:29 PM


Hi friends,

The HTML 3.2 and HTML 4.0 specifications allow only integer values (representing a number of pixels) for the WIDTH attribute of the TD element. However, the HTML 4.0 DTD allows percentage (and other non-integer) values, so an HTML validator will not complain about <TD WIDTH="xx%">.
It should be noted that Netscape and Microsoft's browsers interpret percentage values for <TD WIDTH=...> differently. However, their interpretations (and those of other table-aware browsers) happen to match when combined with <TABLE WIDTH="100%">. In such situations, percentage values can be used relatively safely, even though they are prohibited by the public specifications.










Related Tutorials/Questions & Answers:
percentage values for <TD WIDTH=...>
percentage values for   Can I use percentage values for <TD WIDTH=...>
Passing td cell id to servlet
Passing td cell id to servlet  Hi all, I am new to JSP/Servlet... cellpadding="2" cellspacing="3" width="250" height="250" > <tr> <td id="1" onClick="editTableCell(1)"></td> <td id="2" onClick
Advertisements
Find the percentage of words which starts with a vowel in a file
Find the percentage of words which starts with a vowel in a file   Question: Find the percentage of words which starts with a vowel in a file. Ex... Percentage: 50
Formatting and Parsing a Locale-Specific Percentage
Formatting and Parsing a Locale-Specific Percentage In this section, you will learn how to format and parse a locale-specific percentage. On the basis... are going to format a number into locale specific percentage using NumberFormat class
how to reduce width of jbutton ?
how to reduce width of jbutton ?  how to reduce width of jbutton ? thanks in advancwe
UIImage width and height
UIImage width and height  Hi, How I can find the width and height of UIImage object. Let's know an example code for finding UIImage width and height. Thanks
Measure Of Width
the width of the page.  iText api provides a getWidthPoint() to know the width of the page. The width will be in centimeters or inches. Code... it's width on a page then we can use the method getWidthPoint(). It gives
how to show value and percentage in piechart sections from database using jfreechart
how to show value and percentage in piechart sections from database using jfreechart  Hii Sir, I made a pie chart from database using jfreechart.Now I need to display the values and their percentage in the sections
Retrive Values
Retrive Values  I want to retrive the values between the td by the id... width="100%" bgColor=""> <TR> <TD ID="td1">Cell 1</TD> <TD ID="td2">Cell 2</TD> <TD ID="td3">Cell 3</TD> <TD
image height width php - PHP
image height width php  I am digging for the PHP Script to set the height and width of Image in my app
get image height and width html
get image height and width html  How to get image height and width in html?    var img = new Image(); img.src = your_src img.width img.height
Table width - Java Interview Questions
, You can use width attribute of tag. idnameaddress 1karthino:2
HTML5 video height width.
HTML5 video height width. Introduction:The <video> tag use for embedding... will introduce you to about the height and width attribute . They define height and width of media. Attribute of video tag: Attributes Value
how to increas size of button (especially width)
how to increas size of button (especially width)  how to increas size of button (especially width)and height Thanks in advance
Auto fit the MS Excel cell width
Auto fit the MS Excel cell width  I am writing string in ms excel sheet via java code . Cell width is very large, and I want to auto fit the width of cell via java. Kindly help me as soon as possible. Its very urgent
UIView frame x,y width and height
UIView frame x,y width and height  HI, How to print the x,y width and height of UIView? Thanks   Hi, Following code can be used: CGRect...(@"width = %f", myFrame.size.width); NSLog(@"x = %f", myFrame.origin.x); NSLog(@"y
Setting the Height and Width of Rows and columns in JTable
Setting the Height and Width of Rows and columns in JTable... tutorial you will learn how to set the height and width of rows and columns... and width for containing the data. JTable provides some specified height
insert values - JSP-Servlet
; cellspacing="0" cellpadding="0"> <tr> <td width="...; <td width="50%" valign="right"><b>Name:</b></td> <td width="50%"><input type
Change panel height, width and title
Change panel height, width and title         With the help of a button's click we can change the height, width , and title of a panel. In the given tutorial
retrieving image from mysql db with standard height and width
retrieving image from mysql db with standard height and width  Hi . Here is my code to retrieve an image from mysql db. Its working properly. But i want the image with specified width and height. How to specify it in this code
retrieving image from mysql db with standard height and width
retrieving image from mysql db with standard height and width  Hi . Here is my code to retrieve an image from mysql db. Its working properly. But i want the image with specified width and height. How to specify it in this code
ma access reading values
; <tr><td width="0"></td> <td align="right">... values throught servlet and register.jsp now i need code for reading values from...(table in my ms access) need to display values in jsp .............please help me
ma access reading values
width="0"></td> <td align="right"><input type="submit...; border-width:5px; } </style> <script language="javascript">...; border-width:1px; } </style> <style>
duplicate values
duplicate values  My database having cursor that has duplicate values.i want to remove duplicate values through java application
reain values
if it already exits i m using reuest.sendredirect to same jsp but all textbox values are cleard, i want to retain all values in textboxs after request.sendredirect .Please
Values to listbox
Values to listbox  I have two textboxes by the name street and city.I have an add button and a name listbox. When I enter street and city and press the add button ,all the names of the people residing there are listed in listbox
How can we get the properties (size, type, width, height) of an image using php image functions?
How can we get the properties (size, type, width, height) of an image using php image functions?  How can we get the properties (size, type, width, height) of an image using php image functions
getting error while inserting values in database
getting error while inserting values in database  AddUser.java... into LTCINFO.PERSONS values ('"+LASTNAME+"','"+FIRSTNAME+"','"+ADDRESS+"','"+CITY...; <br><br><br> <table align="center" width="300px" style
passing values between jsp file through hyperlink in div tag
;tr&gt;&lt;td width="40%" class="txt-label"&gt; &lt;SPAN...;gt; &lt;td width="60%" class="txt-lable"&gt; &lt;input type...; &lt;tr&gt;&lt;td width="40%" class="txt-label"&gt; &lt
JTable duplicate values in row
JTable duplicate values in row  JTable duplicate values in row
Fit Hight Ad Wdth of Ecel Seet Uing JSP
a sheet after that set the values into it's cell and set the height and width... cells values and finally set the fit height and width.    The code... fit height and width of excel sheet using jsp
Tutorials   
Java Spring Hibernate Struts Training How to display button as a link in vaadin? hi change navbar dropdown color in bootstrap How to remove the background color of bootstrap menu bar? How to change color of opened Bootstrap drop down toggle? Setting bootstrap container background color Help school all activities and admision process.. add one row after another date make a webpage HTMl HTMl Source code how to apply globalisation to a world wide asp.net application how to print HTML using javascript or Jquery How to recover from google panda update? How to survive google panda 4.0 update How to find if you have been hit by Panda 4.0 Design a web page using XHTML and JavaScript that does the followings: ffmpeg converting file mp4 to mov JavaScript How to Disable Catch-all Emails on CPanel z-index always on top What is Web hosting Database and HTML web development trainee Uploading files Image Gallery Image Gallery dropdown How to redirect from a HTML page? Easiest method for expiring the css and js headers HTML WITH AJAX VB 6 Read Web Page Header string palindrom using vbscript? html button How to add mod_deflate to apache without recompiling How to use place hoder in IE(version : 8) Html Software Question div align left css Fetching data from excel file on other website and display in interactive graph form where do I find the fix for tree view catalog not expanding and collapsing correctly for roseindia shopping cart 1.1 pass to next page to enter into a particular page only if the username,password and listbox value mtches hi Cricket stadium ticket booking design Need some help creating an order form. HTML div tag HTML div tag

Ads

 
Advertisement null

Ads