percentage values for

Ads

 
 

Share on Google+Share on Google+

Clark
percentage values for
1 Answer(s)      6 years and 10 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.


Ads









Related Tutorials/Questions & Answers:
percentage values for <TD WIDTH=...>
percentage values for   Can I use percentage values for <TD WIDTH=...>
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
Advertisements
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
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
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
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
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
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
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
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
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
Version of com.treasuredata>td-client dependency
List of Version of com.treasuredata>td-client dependency
Version of com.treasuredata>td-jdbc dependency
List of Version of com.treasuredata>td-jdbc dependency
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
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
Version of com.treasuredata>td-android-sdk dependency
List of Version of com.treasuredata>td-android-sdk dependency
Version of com.treasuredata>td-logger-parent dependency
List of Version of com.treasuredata>td-logger-parent dependency
Maven Dependency td-client >> 0.5.0
You should include the dependency code given in this page to add Maven Dependency of com.treasuredata >> td-client version0.5.0 in your project
Maven Dependency td-client >> 0.5.1
You should include the dependency code given in this page to add Maven Dependency of com.treasuredata >> td-client version0.5.1 in your project
Maven Dependency td-client >> 0.5.10
You should include the dependency code given in this page to add Maven Dependency of com.treasuredata >> td-client version0.5.10 in your project
Maven Dependency td-client >> 0.5.2
You should include the dependency code given in this page to add Maven Dependency of com.treasuredata >> td-client version0.5.2 in your project
Maven Dependency td-client >> 0.5.3
You should include the dependency code given in this page to add Maven Dependency of com.treasuredata >> td-client version0.5.3 in your project
Maven Dependency td-client >> 0.5.4
You should include the dependency code given in this page to add Maven Dependency of com.treasuredata >> td-client version0.5.4 in your project
Maven Dependency td-client >> 0.5.5
You should include the dependency code given in this page to add Maven Dependency of com.treasuredata >> td-client version0.5.5 in your project
Maven Dependency td-client >> 0.5.6
You should include the dependency code given in this page to add Maven Dependency of com.treasuredata >> td-client version0.5.6 in your project