6 replies
by lauriek
How would you set up a row of titles when the whole table is bound to the data island? I realise the xml data could contain the headings but generally I would like to apply a different style to the table headings from the table data. I have the following example in which I have used two tables, but then without specifying td widths which is never a good idea, how would I make the two tables line up?
[code]
XML Island test
BARC
1927.23
+2.4
+0.01%
12,022,243,333
1299
ARM
127.23
+12.4
+10.0%
22,243,333
199
| Code | Price | Change | % | Volume | Trades |
[/code]
Any pointers much appreciated, as I think this would be pretty useful if I could work out how to get round this problem!
ta'
Laurie
One way is to set your widths with on each of your tables. Then add the "table-layout:fixed;" style attribute to your tables. A better way is to ditch the title table and add a
section to your data items table:You can then apply the same styles to the
by lauriek
Yep thats got it, cheers Phil! I always wondered what the real point of TH's were! Now I know... ;)
Cheers
Laurie
by asyn42
That looks pretty cool. But In our environment, IE is not the only browser. We also need to support others, in particular the Mozilla derivatives (ie: Netscape) and may also need to support Opera.
If you are going to target an article to IE, make sure you point out clearly that it is a non-standard IE extension, and is not supported by other browsers.
Don't get me wrong. I think it's a cool feature. But it just isn't applicable. I need solutions that work on multiple browsers.
by jhadle
by seowgh
This discussion is closed to new replies.
Trending Web Development posts
Sort by Trending