4 Replies - 2193 Views - Last Post: 20 December 2010 - 09:27 PM

#1 StrawBale  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 18-December 10

Problems w/ wrapping nested tables in a cell

Posted 18 December 2010 - 06:02 PM

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.

Is This A Good Question/Topic? 0
  • +

Replies To: Problems w/ wrapping nested tables in a cell

#2 EnvXOwner  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 357
  • View blog
  • Posts: 2,319
  • Joined: 10-August 09

Re: Problems w/ wrapping nested tables in a cell

Posted 18 December 2010 - 06:54 PM

View PostStrawBale, 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.

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

Was This Post Helpful? 0
  • +
  • -

#3 drhowarddrfine  Icon User is offline

  • D.I.C Regular

Reputation: 39
  • View blog
  • Posts: 275
  • Joined: 28-July 10

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.
Was This Post Helpful? 1
  • +
  • -

#4 EnvXOwner  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 357
  • View blog
  • Posts: 2,319
  • Joined: 10-August 09

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.
Was This Post Helpful? 0
  • +
  • -

#5 Sadin56  Icon User is offline

  • D.I.C Head

Reputation: 12
  • View blog
  • Posts: 183
  • Joined: 19-December 10

Re: Problems w/ wrapping nested tables in a cell

Posted 20 December 2010 - 09:27 PM

View PostStrawBale, 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.


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.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1