|
Posted by rf on 06/05/07 11:04
"Rakesh Thakor" <rk6789@gmail.com> wrote in message
news:1181025932.879033.273700@q19g2000prn.googlegroups.com...
> Hi all,
> I want to scroll a dynamic table inside div.
A, er, dynamic table?
> My code is as below,
Don't post code. Post a URL.
> **********************************************************************************************************
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
> www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Use strict for new documents. and HTML 4.01 as well.
> <title>Untitled Document</title>
What generated this?
> <style type="text/css">
> <!--
<!-- has not been needed since last century.
> border:#FF0000;
You forgot border-style: border: solid 1px $f00;
> table-layout:auto;
table-layout?
> div {
> width:#px;
How many pixels? #? Ah, yes, a "number" of them :-)
> -->
See above.
> <table border="4" cellpadding="0" cellspacing="0">
If you are going to use CSS then put ALL the presentational stuff in CSS.
> <td width="1900px">asdfa</td>
width='1900'
px is for CSS, not for presentational stuff in [X]HTML.
> Can anyone guide me that where is the problem?
Probably the validator over at http://validator.w3.org/ - it would have
solved your problems. Well, many of them :-)
However, this does not look like tabular data to me.
--
Richard.
Navigation:
[Reply to this message]
|