Hey y'all...
Table cells are pretty straightforward when it comes to wrapping text depending on the amount of text, size of someone's screen and size of browser window. Even if all you have are a string of images... table cells seem to wrap them just fine.
Well, I want to do the same thing with nested one-celled tables within a single table cell. Google Chrome is the only browser I could get it to work in and only when I put "align=left" in the table tag. Play around with resizing the browsers and it's cool how chrome does it.
So... question of the moment... how do I get IE and Firefox to do the same??
For an images example which works in all browsers see my sample: http://www.oem-surplus.com/wrap1.html
For my nested table example which works only in Chrome: http://www.oem-surplus.com/wrap.html
Anybody have a clue on getting the other browsers to work like Chrome does on these nested tables??
Thanks in advance for all the brilliant answers forthcoming!! :-)
Norman
PS>> FWIW, this issue is just a piece of a fairly comprehensive website for a car parts company.
Problems w/ wrapping nested tables in a cell
Page 1 of 14 Replies - 1653 Views - Last Post: 20 December 2010 - 09:27 PM
Replies To: Problems w/ wrapping nested tables in a cell
#2
Re: Problems w/ wrapping nested tables in a cell
Posted 18 December 2010 - 06:54 PM
StrawBale, on 18 December 2010 - 07:02 PM, said:
Hey y'all...
Table cells are pretty straightforward when it comes to wrapping text depending on the amount of text, size of someone's screen and size of browser window. Even if all you have are a string of images... table cells seem to wrap them just fine.
Well, I want to do the same thing with nested one-celled tables within a single table cell. Google Chrome is the only browser I could get it to work in and only when I put "align=left" in the table tag. Play around with resizing the browsers and it's cool how chrome does it.
So... question of the moment... how do I get IE and Firefox to do the same??
For an images example which works in all browsers see my sample: http://www.oem-surplus.com/wrap1.html
For my nested table example which works only in Chrome: http://www.oem-surplus.com/wrap.html
Anybody have a clue on getting the other browsers to work like Chrome does on these nested tables??
Thanks in advance for all the brilliant answers forthcoming!! :-)
Norman
PS>> FWIW, this issue is just a piece of a fairly comprehensive website for a car parts company.
Table cells are pretty straightforward when it comes to wrapping text depending on the amount of text, size of someone's screen and size of browser window. Even if all you have are a string of images... table cells seem to wrap them just fine.
Well, I want to do the same thing with nested one-celled tables within a single table cell. Google Chrome is the only browser I could get it to work in and only when I put "align=left" in the table tag. Play around with resizing the browsers and it's cool how chrome does it.
So... question of the moment... how do I get IE and Firefox to do the same??
For an images example which works in all browsers see my sample: http://www.oem-surplus.com/wrap1.html
For my nested table example which works only in Chrome: http://www.oem-surplus.com/wrap.html
Anybody have a clue on getting the other browsers to work like Chrome does on these nested tables??
Thanks in advance for all the brilliant answers forthcoming!! :-)
Norman
PS>> FWIW, this issue is just a piece of a fairly comprehensive website for a car parts company.
lol. Where is your doctype? Why are you using caps for your code? How do you want the table to wrap? Do you want padding? Why no CSS? I get the same thing in Firefox and Chrome.
This post has been edited by EnvXOwner: 18 December 2010 - 06:56 PM
#3
Re: Problems w/ wrapping nested tables in a cell
Posted 19 December 2010 - 05:51 AM
I have not seen markup like that since 1998. As said, you will never get IE to attempt to perform like the other far more modern browsers without a doctype. You are also using deprecated markup, which will work, but you need to get away from that. Also, using tables for layout went away with the dodo bird.
#4
Re: Problems w/ wrapping nested tables in a cell
Posted 19 December 2010 - 06:24 AM
I suggest you go to w3schools.com and learn HTML and CSS or you could look at some of the excellent tutorials on dream.in.code.
#5
Re: Problems w/ wrapping nested tables in a cell
Posted 20 December 2010 - 09:27 PM
StrawBale, on 18 December 2010 - 05:02 PM, said:
Hey y'all...
Table cells are pretty straightforward when it comes to wrapping text depending on the amount of text, size of someone's screen and size of browser window. Even if all you have are a string of images... table cells seem to wrap them just fine.
Well, I want to do the same thing with nested one-celled tables within a single table cell. Google Chrome is the only browser I could get it to work in and only when I put "align=left" in the table tag. Play around with resizing the browsers and it's cool how chrome does it.
So... question of the moment... how do I get IE and Firefox to do the same??
For an images example which works in all browsers see my sample: http://www.oem-surplus.com/wrap1.html
For my nested table example which works only in Chrome: http://www.oem-surplus.com/wrap.html
Anybody have a clue on getting the other browsers to work like Chrome does on these nested tables??
Thanks in advance for all the brilliant answers forthcoming!! :-)
Norman
PS>> FWIW, this issue is just a piece of a fairly comprehensive website for a car parts company.
Table cells are pretty straightforward when it comes to wrapping text depending on the amount of text, size of someone's screen and size of browser window. Even if all you have are a string of images... table cells seem to wrap them just fine.
Well, I want to do the same thing with nested one-celled tables within a single table cell. Google Chrome is the only browser I could get it to work in and only when I put "align=left" in the table tag. Play around with resizing the browsers and it's cool how chrome does it.
So... question of the moment... how do I get IE and Firefox to do the same??
For an images example which works in all browsers see my sample: http://www.oem-surplus.com/wrap1.html
For my nested table example which works only in Chrome: http://www.oem-surplus.com/wrap.html
Anybody have a clue on getting the other browsers to work like Chrome does on these nested tables??
Thanks in advance for all the brilliant answers forthcoming!! :-)
Norman
PS>> FWIW, this issue is just a piece of a fairly comprehensive website for a car parts company.
1.You need a doctype -- To specify what language your using
2.Visit w3schools.com as stated above -- So you can actually do what your trying to do and do it right
3. and it is true tables should not be used as layouts -- they clutter up your files with unnecessary code try learning about <div> tags and the CSS language.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote





|