Bootstrap 4, Nested Tables, Text Wrap around images
up vote
0
down vote
favorite
Having some difficulty with Bootstrap and making a page responsive. On a regular browser screen (on my desktop), all is well. The difficulty lies in the fact that I have a table that is the width of the page (code snippets below), the table row in question may contain two images on the right. The next row of the table contains a nested table, and on a smaller screen (like my iPhone), the nested table ends up displaying text on top of the images. I have tried working with the "clearfix" class, but that does not seem to do much good. I am trying to just find a way to force the page to display the table below the images, rather than having the text flow over them.
This is going to take some work, but here's what my HTML looks like for the some of the code (this is streamed out from PHP, but the resulting HTML is what I am displaying here) (the whole thing is too large to post here):
<tr class='row_with_images' style='vertical-align: top;'>
<td>
<span class='WhoHeading'>Last Known Location:</span> Mists (Teufelberg)
</td>
<td align='center' style='vertical-align: top;' width='20%' rowspan='4'>
<center>
<img class='profile_image_thumbnail'
data-toggle='popover'
data-trigger='hover'
data-placement='left'
data-html='true'
data-content='<img class="profile_image_big img-fluid" src="http://history.westkingdom.org/Who/HeadShotPhotos/Ken_JuneCrown_2017_Megan.jpg" />'
src='http://history.westkingdom.org/Who/HeadShotPhotos/Ken_JuneCrown_2017_Megan.jpg' alt='' />
</center>
<p style='font-size: 1rem;'><i>Photographer: Megan nic Alister of Thornwood <a href='http://history.westkingdom.org/Who/individual.php?namecode=917' data-toggle='tooltip' data-placement='bottom' title='View Whos Who Entry' target=_blank><img src='http://history.westkingdom.org/SiteImages/information.png' /></a>,<br />Contributor: Hirsch von Henford <a href='http://history.westkingdom.org/Who/individual.php?namecode=9683' data-toggle='tooltip' data-placement='bottom' title='View Whos Who Entry' target=_blank><img src='http://history.westkingdom.org/SiteImages/information.png' /></a></i></p>
</td>
<!-- end of photo -->
<td align='center' style='vertical-align: top;' width='20%' rowspan='4'>
<center>
<img class='arms_image_thumbnail img-fluid'
data-toggle='popover'
data-trigger='hover'
data-placement='left'
data-html='true'
data-content='<img class="arms_image_big img-fluid" src="http://heralds.westkingdom.org/Awards/ArmsImages/HirschVonHenford.gif" />'
src='http://heralds.westkingdom.org/Awards/ArmsImages/HirschVonHenford.gif' alt='' />
</center>
<br clear='all' />
<p style='font-size: 1rem;'><i>Per pale Or and vert, two stag's heads erased respectant counterchanged.</i></p>
</td>
</tr>
<!-- this row (above) is the problem ... -->
<tr style='vertical-align: top;'>
<td colspan='3' style='border:none;'>
<span class='WhoHeading'>Awards Only <i>(maximum of 10)</i>:</span>
<!-- Inner table for the awards themselves -->
<table class='table-striped' style='border:none;'>
<tr>
<td>
<abbr title="Excellence in the Arts and/or Sciences">Laurel [Magnifico]</abbr>, Jan 8, AS XVII (1983), Paul & Rowena (West)
</td>
</tr>
<tr>
<td>
<abbr title="Great service to the Kingdom/SCA [Italian title]">Pelican [Magnifico]</abbr>, Jan 4, AS XXVI (1992), Radnor & Ysabeau (West)
</td>
</tr>
<tr>
<td>
<abbr title="Grant-Level -- actions/contributions have helped shape/define the Kingdom.">Writ of Endorsement</abbr>, Jan 7, AS XLVI (2012), Rolf & Aurora (West)
</td>
</tr>
</table>
</td></tr></table>
I truncated the nested table, but you should get the idea ... On a larger screen all is well. On my phone the text of the nested table displays over the images.
I have tried using clearfix (as noted above), to no avail. I have tried adding a row under the one with the images like:
<tr><td><br clear='all' /></td></tr>
Which does no good.
The css in the media query includes (again, truncated a bit):
@media( max-width: 575.98px)
{
.profile_image_thumbnail, .arms_image_thumbnail
{
background: white;
/*margin-bottom: 0.5rem; /* 5px; */
max-width: 10rem !important; /* 100px small size */
max-height: 15rem !important; /* 150px; */
margin: 0 !important;
}
.popover
{
font-size: 1.0rem !important; /*10px !important;*/
max-width: 30rem !important; /* 300px */
margin: 0 !important; /*2px !important;*/ /* doesn't seem to do anything */
padding: 0 !important;
text-align: center !important;
}
.profile_image_outer, .arms_image_outer /* This is the outer div ... */
{
/* if screen is up to 575.98px (57.598rem;) wide ... */
float: left !important;
max-width: 20rem; /* 200px; */
text-align: center;
margin: 0 !important;
}
.profile_image_big, .arms_image_big
{
max-width: 20.0rem; /* 200px; */
max-height: 30.0rem; /* 300px; */
position: relative;
margin: 0 !important; /* doesn't seem to do anything */
}
}
I am hoping someone has some inkling what to do here. The Bootstrap site gives no useful information, and I've done a lot of looking around the web. I tried to define a class "row_with_images" to use in the media query:
.row_with_images
{
height: auto; /* room for text -- how to make this optional? */
}
This is the latest attempt (using auto, which does no good), setting it to a specific height is not really useful, as some rows that are generated will have no images, and I'll just end up with lots of blank space, and determining the correct height is ... difficult, to put it mildly ... having the extra text under the images throws things off, because that can be short or fairly lengthy on a case-by-case basis. I really need the row to be flexible in height so the row under it doesn't appear over the images on smaller screens. I've spent hours on this and am stumped.
html css twitter-bootstrap css-tables
|
show 1 more comment
up vote
0
down vote
favorite
Having some difficulty with Bootstrap and making a page responsive. On a regular browser screen (on my desktop), all is well. The difficulty lies in the fact that I have a table that is the width of the page (code snippets below), the table row in question may contain two images on the right. The next row of the table contains a nested table, and on a smaller screen (like my iPhone), the nested table ends up displaying text on top of the images. I have tried working with the "clearfix" class, but that does not seem to do much good. I am trying to just find a way to force the page to display the table below the images, rather than having the text flow over them.
This is going to take some work, but here's what my HTML looks like for the some of the code (this is streamed out from PHP, but the resulting HTML is what I am displaying here) (the whole thing is too large to post here):
<tr class='row_with_images' style='vertical-align: top;'>
<td>
<span class='WhoHeading'>Last Known Location:</span> Mists (Teufelberg)
</td>
<td align='center' style='vertical-align: top;' width='20%' rowspan='4'>
<center>
<img class='profile_image_thumbnail'
data-toggle='popover'
data-trigger='hover'
data-placement='left'
data-html='true'
data-content='<img class="profile_image_big img-fluid" src="http://history.westkingdom.org/Who/HeadShotPhotos/Ken_JuneCrown_2017_Megan.jpg" />'
src='http://history.westkingdom.org/Who/HeadShotPhotos/Ken_JuneCrown_2017_Megan.jpg' alt='' />
</center>
<p style='font-size: 1rem;'><i>Photographer: Megan nic Alister of Thornwood <a href='http://history.westkingdom.org/Who/individual.php?namecode=917' data-toggle='tooltip' data-placement='bottom' title='View Whos Who Entry' target=_blank><img src='http://history.westkingdom.org/SiteImages/information.png' /></a>,<br />Contributor: Hirsch von Henford <a href='http://history.westkingdom.org/Who/individual.php?namecode=9683' data-toggle='tooltip' data-placement='bottom' title='View Whos Who Entry' target=_blank><img src='http://history.westkingdom.org/SiteImages/information.png' /></a></i></p>
</td>
<!-- end of photo -->
<td align='center' style='vertical-align: top;' width='20%' rowspan='4'>
<center>
<img class='arms_image_thumbnail img-fluid'
data-toggle='popover'
data-trigger='hover'
data-placement='left'
data-html='true'
data-content='<img class="arms_image_big img-fluid" src="http://heralds.westkingdom.org/Awards/ArmsImages/HirschVonHenford.gif" />'
src='http://heralds.westkingdom.org/Awards/ArmsImages/HirschVonHenford.gif' alt='' />
</center>
<br clear='all' />
<p style='font-size: 1rem;'><i>Per pale Or and vert, two stag's heads erased respectant counterchanged.</i></p>
</td>
</tr>
<!-- this row (above) is the problem ... -->
<tr style='vertical-align: top;'>
<td colspan='3' style='border:none;'>
<span class='WhoHeading'>Awards Only <i>(maximum of 10)</i>:</span>
<!-- Inner table for the awards themselves -->
<table class='table-striped' style='border:none;'>
<tr>
<td>
<abbr title="Excellence in the Arts and/or Sciences">Laurel [Magnifico]</abbr>, Jan 8, AS XVII (1983), Paul & Rowena (West)
</td>
</tr>
<tr>
<td>
<abbr title="Great service to the Kingdom/SCA [Italian title]">Pelican [Magnifico]</abbr>, Jan 4, AS XXVI (1992), Radnor & Ysabeau (West)
</td>
</tr>
<tr>
<td>
<abbr title="Grant-Level -- actions/contributions have helped shape/define the Kingdom.">Writ of Endorsement</abbr>, Jan 7, AS XLVI (2012), Rolf & Aurora (West)
</td>
</tr>
</table>
</td></tr></table>
I truncated the nested table, but you should get the idea ... On a larger screen all is well. On my phone the text of the nested table displays over the images.
I have tried using clearfix (as noted above), to no avail. I have tried adding a row under the one with the images like:
<tr><td><br clear='all' /></td></tr>
Which does no good.
The css in the media query includes (again, truncated a bit):
@media( max-width: 575.98px)
{
.profile_image_thumbnail, .arms_image_thumbnail
{
background: white;
/*margin-bottom: 0.5rem; /* 5px; */
max-width: 10rem !important; /* 100px small size */
max-height: 15rem !important; /* 150px; */
margin: 0 !important;
}
.popover
{
font-size: 1.0rem !important; /*10px !important;*/
max-width: 30rem !important; /* 300px */
margin: 0 !important; /*2px !important;*/ /* doesn't seem to do anything */
padding: 0 !important;
text-align: center !important;
}
.profile_image_outer, .arms_image_outer /* This is the outer div ... */
{
/* if screen is up to 575.98px (57.598rem;) wide ... */
float: left !important;
max-width: 20rem; /* 200px; */
text-align: center;
margin: 0 !important;
}
.profile_image_big, .arms_image_big
{
max-width: 20.0rem; /* 200px; */
max-height: 30.0rem; /* 300px; */
position: relative;
margin: 0 !important; /* doesn't seem to do anything */
}
}
I am hoping someone has some inkling what to do here. The Bootstrap site gives no useful information, and I've done a lot of looking around the web. I tried to define a class "row_with_images" to use in the media query:
.row_with_images
{
height: auto; /* room for text -- how to make this optional? */
}
This is the latest attempt (using auto, which does no good), setting it to a specific height is not really useful, as some rows that are generated will have no images, and I'll just end up with lots of blank space, and determining the correct height is ... difficult, to put it mildly ... having the extra text under the images throws things off, because that can be short or fairly lengthy on a case-by-case basis. I really need the row to be flexible in height so the row under it doesn't appear over the images on smaller screens. I've spent hours on this and am stumped.
html css twitter-bootstrap css-tables
I don't have enough now but this w3schools.com/howto/howto_css_image_text.asp may be the answer to positioning your text over image
– hans-könig
Nov 8 at 19:26
I don't think you really read this. I DON'T want the text over the images.
– Ken Mayer
Nov 8 at 19:31
1
You may not want to hear this, but using nested tables with fixed widths for a responsive mobile layout kinda of defeats the purpose of responsiveness. Not to mention the absolute nightmare of trying to handle all the myriad cases for screen sizes out there. May I suggest using flex-box instead? You'll sleep better at night.
– I. R. R.
Nov 8 at 19:36
I have no clue how to work with flex-box ...
– Ken Mayer
Nov 8 at 19:57
I found this for an overview helpful stackoverflow.com/questions/32551291/…
– User__42
Nov 8 at 20:03
|
show 1 more comment
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Having some difficulty with Bootstrap and making a page responsive. On a regular browser screen (on my desktop), all is well. The difficulty lies in the fact that I have a table that is the width of the page (code snippets below), the table row in question may contain two images on the right. The next row of the table contains a nested table, and on a smaller screen (like my iPhone), the nested table ends up displaying text on top of the images. I have tried working with the "clearfix" class, but that does not seem to do much good. I am trying to just find a way to force the page to display the table below the images, rather than having the text flow over them.
This is going to take some work, but here's what my HTML looks like for the some of the code (this is streamed out from PHP, but the resulting HTML is what I am displaying here) (the whole thing is too large to post here):
<tr class='row_with_images' style='vertical-align: top;'>
<td>
<span class='WhoHeading'>Last Known Location:</span> Mists (Teufelberg)
</td>
<td align='center' style='vertical-align: top;' width='20%' rowspan='4'>
<center>
<img class='profile_image_thumbnail'
data-toggle='popover'
data-trigger='hover'
data-placement='left'
data-html='true'
data-content='<img class="profile_image_big img-fluid" src="http://history.westkingdom.org/Who/HeadShotPhotos/Ken_JuneCrown_2017_Megan.jpg" />'
src='http://history.westkingdom.org/Who/HeadShotPhotos/Ken_JuneCrown_2017_Megan.jpg' alt='' />
</center>
<p style='font-size: 1rem;'><i>Photographer: Megan nic Alister of Thornwood <a href='http://history.westkingdom.org/Who/individual.php?namecode=917' data-toggle='tooltip' data-placement='bottom' title='View Whos Who Entry' target=_blank><img src='http://history.westkingdom.org/SiteImages/information.png' /></a>,<br />Contributor: Hirsch von Henford <a href='http://history.westkingdom.org/Who/individual.php?namecode=9683' data-toggle='tooltip' data-placement='bottom' title='View Whos Who Entry' target=_blank><img src='http://history.westkingdom.org/SiteImages/information.png' /></a></i></p>
</td>
<!-- end of photo -->
<td align='center' style='vertical-align: top;' width='20%' rowspan='4'>
<center>
<img class='arms_image_thumbnail img-fluid'
data-toggle='popover'
data-trigger='hover'
data-placement='left'
data-html='true'
data-content='<img class="arms_image_big img-fluid" src="http://heralds.westkingdom.org/Awards/ArmsImages/HirschVonHenford.gif" />'
src='http://heralds.westkingdom.org/Awards/ArmsImages/HirschVonHenford.gif' alt='' />
</center>
<br clear='all' />
<p style='font-size: 1rem;'><i>Per pale Or and vert, two stag's heads erased respectant counterchanged.</i></p>
</td>
</tr>
<!-- this row (above) is the problem ... -->
<tr style='vertical-align: top;'>
<td colspan='3' style='border:none;'>
<span class='WhoHeading'>Awards Only <i>(maximum of 10)</i>:</span>
<!-- Inner table for the awards themselves -->
<table class='table-striped' style='border:none;'>
<tr>
<td>
<abbr title="Excellence in the Arts and/or Sciences">Laurel [Magnifico]</abbr>, Jan 8, AS XVII (1983), Paul & Rowena (West)
</td>
</tr>
<tr>
<td>
<abbr title="Great service to the Kingdom/SCA [Italian title]">Pelican [Magnifico]</abbr>, Jan 4, AS XXVI (1992), Radnor & Ysabeau (West)
</td>
</tr>
<tr>
<td>
<abbr title="Grant-Level -- actions/contributions have helped shape/define the Kingdom.">Writ of Endorsement</abbr>, Jan 7, AS XLVI (2012), Rolf & Aurora (West)
</td>
</tr>
</table>
</td></tr></table>
I truncated the nested table, but you should get the idea ... On a larger screen all is well. On my phone the text of the nested table displays over the images.
I have tried using clearfix (as noted above), to no avail. I have tried adding a row under the one with the images like:
<tr><td><br clear='all' /></td></tr>
Which does no good.
The css in the media query includes (again, truncated a bit):
@media( max-width: 575.98px)
{
.profile_image_thumbnail, .arms_image_thumbnail
{
background: white;
/*margin-bottom: 0.5rem; /* 5px; */
max-width: 10rem !important; /* 100px small size */
max-height: 15rem !important; /* 150px; */
margin: 0 !important;
}
.popover
{
font-size: 1.0rem !important; /*10px !important;*/
max-width: 30rem !important; /* 300px */
margin: 0 !important; /*2px !important;*/ /* doesn't seem to do anything */
padding: 0 !important;
text-align: center !important;
}
.profile_image_outer, .arms_image_outer /* This is the outer div ... */
{
/* if screen is up to 575.98px (57.598rem;) wide ... */
float: left !important;
max-width: 20rem; /* 200px; */
text-align: center;
margin: 0 !important;
}
.profile_image_big, .arms_image_big
{
max-width: 20.0rem; /* 200px; */
max-height: 30.0rem; /* 300px; */
position: relative;
margin: 0 !important; /* doesn't seem to do anything */
}
}
I am hoping someone has some inkling what to do here. The Bootstrap site gives no useful information, and I've done a lot of looking around the web. I tried to define a class "row_with_images" to use in the media query:
.row_with_images
{
height: auto; /* room for text -- how to make this optional? */
}
This is the latest attempt (using auto, which does no good), setting it to a specific height is not really useful, as some rows that are generated will have no images, and I'll just end up with lots of blank space, and determining the correct height is ... difficult, to put it mildly ... having the extra text under the images throws things off, because that can be short or fairly lengthy on a case-by-case basis. I really need the row to be flexible in height so the row under it doesn't appear over the images on smaller screens. I've spent hours on this and am stumped.
html css twitter-bootstrap css-tables
Having some difficulty with Bootstrap and making a page responsive. On a regular browser screen (on my desktop), all is well. The difficulty lies in the fact that I have a table that is the width of the page (code snippets below), the table row in question may contain two images on the right. The next row of the table contains a nested table, and on a smaller screen (like my iPhone), the nested table ends up displaying text on top of the images. I have tried working with the "clearfix" class, but that does not seem to do much good. I am trying to just find a way to force the page to display the table below the images, rather than having the text flow over them.
This is going to take some work, but here's what my HTML looks like for the some of the code (this is streamed out from PHP, but the resulting HTML is what I am displaying here) (the whole thing is too large to post here):
<tr class='row_with_images' style='vertical-align: top;'>
<td>
<span class='WhoHeading'>Last Known Location:</span> Mists (Teufelberg)
</td>
<td align='center' style='vertical-align: top;' width='20%' rowspan='4'>
<center>
<img class='profile_image_thumbnail'
data-toggle='popover'
data-trigger='hover'
data-placement='left'
data-html='true'
data-content='<img class="profile_image_big img-fluid" src="http://history.westkingdom.org/Who/HeadShotPhotos/Ken_JuneCrown_2017_Megan.jpg" />'
src='http://history.westkingdom.org/Who/HeadShotPhotos/Ken_JuneCrown_2017_Megan.jpg' alt='' />
</center>
<p style='font-size: 1rem;'><i>Photographer: Megan nic Alister of Thornwood <a href='http://history.westkingdom.org/Who/individual.php?namecode=917' data-toggle='tooltip' data-placement='bottom' title='View Whos Who Entry' target=_blank><img src='http://history.westkingdom.org/SiteImages/information.png' /></a>,<br />Contributor: Hirsch von Henford <a href='http://history.westkingdom.org/Who/individual.php?namecode=9683' data-toggle='tooltip' data-placement='bottom' title='View Whos Who Entry' target=_blank><img src='http://history.westkingdom.org/SiteImages/information.png' /></a></i></p>
</td>
<!-- end of photo -->
<td align='center' style='vertical-align: top;' width='20%' rowspan='4'>
<center>
<img class='arms_image_thumbnail img-fluid'
data-toggle='popover'
data-trigger='hover'
data-placement='left'
data-html='true'
data-content='<img class="arms_image_big img-fluid" src="http://heralds.westkingdom.org/Awards/ArmsImages/HirschVonHenford.gif" />'
src='http://heralds.westkingdom.org/Awards/ArmsImages/HirschVonHenford.gif' alt='' />
</center>
<br clear='all' />
<p style='font-size: 1rem;'><i>Per pale Or and vert, two stag's heads erased respectant counterchanged.</i></p>
</td>
</tr>
<!-- this row (above) is the problem ... -->
<tr style='vertical-align: top;'>
<td colspan='3' style='border:none;'>
<span class='WhoHeading'>Awards Only <i>(maximum of 10)</i>:</span>
<!-- Inner table for the awards themselves -->
<table class='table-striped' style='border:none;'>
<tr>
<td>
<abbr title="Excellence in the Arts and/or Sciences">Laurel [Magnifico]</abbr>, Jan 8, AS XVII (1983), Paul & Rowena (West)
</td>
</tr>
<tr>
<td>
<abbr title="Great service to the Kingdom/SCA [Italian title]">Pelican [Magnifico]</abbr>, Jan 4, AS XXVI (1992), Radnor & Ysabeau (West)
</td>
</tr>
<tr>
<td>
<abbr title="Grant-Level -- actions/contributions have helped shape/define the Kingdom.">Writ of Endorsement</abbr>, Jan 7, AS XLVI (2012), Rolf & Aurora (West)
</td>
</tr>
</table>
</td></tr></table>
I truncated the nested table, but you should get the idea ... On a larger screen all is well. On my phone the text of the nested table displays over the images.
I have tried using clearfix (as noted above), to no avail. I have tried adding a row under the one with the images like:
<tr><td><br clear='all' /></td></tr>
Which does no good.
The css in the media query includes (again, truncated a bit):
@media( max-width: 575.98px)
{
.profile_image_thumbnail, .arms_image_thumbnail
{
background: white;
/*margin-bottom: 0.5rem; /* 5px; */
max-width: 10rem !important; /* 100px small size */
max-height: 15rem !important; /* 150px; */
margin: 0 !important;
}
.popover
{
font-size: 1.0rem !important; /*10px !important;*/
max-width: 30rem !important; /* 300px */
margin: 0 !important; /*2px !important;*/ /* doesn't seem to do anything */
padding: 0 !important;
text-align: center !important;
}
.profile_image_outer, .arms_image_outer /* This is the outer div ... */
{
/* if screen is up to 575.98px (57.598rem;) wide ... */
float: left !important;
max-width: 20rem; /* 200px; */
text-align: center;
margin: 0 !important;
}
.profile_image_big, .arms_image_big
{
max-width: 20.0rem; /* 200px; */
max-height: 30.0rem; /* 300px; */
position: relative;
margin: 0 !important; /* doesn't seem to do anything */
}
}
I am hoping someone has some inkling what to do here. The Bootstrap site gives no useful information, and I've done a lot of looking around the web. I tried to define a class "row_with_images" to use in the media query:
.row_with_images
{
height: auto; /* room for text -- how to make this optional? */
}
This is the latest attempt (using auto, which does no good), setting it to a specific height is not really useful, as some rows that are generated will have no images, and I'll just end up with lots of blank space, and determining the correct height is ... difficult, to put it mildly ... having the extra text under the images throws things off, because that can be short or fairly lengthy on a case-by-case basis. I really need the row to be flexible in height so the row under it doesn't appear over the images on smaller screens. I've spent hours on this and am stumped.
html css twitter-bootstrap css-tables
html css twitter-bootstrap css-tables
asked Nov 8 at 19:11
Ken Mayer
559
559
I don't have enough now but this w3schools.com/howto/howto_css_image_text.asp may be the answer to positioning your text over image
– hans-könig
Nov 8 at 19:26
I don't think you really read this. I DON'T want the text over the images.
– Ken Mayer
Nov 8 at 19:31
1
You may not want to hear this, but using nested tables with fixed widths for a responsive mobile layout kinda of defeats the purpose of responsiveness. Not to mention the absolute nightmare of trying to handle all the myriad cases for screen sizes out there. May I suggest using flex-box instead? You'll sleep better at night.
– I. R. R.
Nov 8 at 19:36
I have no clue how to work with flex-box ...
– Ken Mayer
Nov 8 at 19:57
I found this for an overview helpful stackoverflow.com/questions/32551291/…
– User__42
Nov 8 at 20:03
|
show 1 more comment
I don't have enough now but this w3schools.com/howto/howto_css_image_text.asp may be the answer to positioning your text over image
– hans-könig
Nov 8 at 19:26
I don't think you really read this. I DON'T want the text over the images.
– Ken Mayer
Nov 8 at 19:31
1
You may not want to hear this, but using nested tables with fixed widths for a responsive mobile layout kinda of defeats the purpose of responsiveness. Not to mention the absolute nightmare of trying to handle all the myriad cases for screen sizes out there. May I suggest using flex-box instead? You'll sleep better at night.
– I. R. R.
Nov 8 at 19:36
I have no clue how to work with flex-box ...
– Ken Mayer
Nov 8 at 19:57
I found this for an overview helpful stackoverflow.com/questions/32551291/…
– User__42
Nov 8 at 20:03
I don't have enough now but this w3schools.com/howto/howto_css_image_text.asp may be the answer to positioning your text over image
– hans-könig
Nov 8 at 19:26
I don't have enough now but this w3schools.com/howto/howto_css_image_text.asp may be the answer to positioning your text over image
– hans-könig
Nov 8 at 19:26
I don't think you really read this. I DON'T want the text over the images.
– Ken Mayer
Nov 8 at 19:31
I don't think you really read this. I DON'T want the text over the images.
– Ken Mayer
Nov 8 at 19:31
1
1
You may not want to hear this, but using nested tables with fixed widths for a responsive mobile layout kinda of defeats the purpose of responsiveness. Not to mention the absolute nightmare of trying to handle all the myriad cases for screen sizes out there. May I suggest using flex-box instead? You'll sleep better at night.
– I. R. R.
Nov 8 at 19:36
You may not want to hear this, but using nested tables with fixed widths for a responsive mobile layout kinda of defeats the purpose of responsiveness. Not to mention the absolute nightmare of trying to handle all the myriad cases for screen sizes out there. May I suggest using flex-box instead? You'll sleep better at night.
– I. R. R.
Nov 8 at 19:36
I have no clue how to work with flex-box ...
– Ken Mayer
Nov 8 at 19:57
I have no clue how to work with flex-box ...
– Ken Mayer
Nov 8 at 19:57
I found this for an overview helpful stackoverflow.com/questions/32551291/…
– User__42
Nov 8 at 20:03
I found this for an overview helpful stackoverflow.com/questions/32551291/…
– User__42
Nov 8 at 20:03
|
show 1 more comment
1 Answer
1
active
oldest
votes
up vote
0
down vote
The solution appears to be to move everything into the standard Bootstrap 4 grid, rows and columns. By doing this, and moving the one table to a slightly different position, I am able to get things to mostly work the way I needed to (cannot seem to get the thumbnail images much smaller, but I'm still looking at the CSS for that).
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The solution appears to be to move everything into the standard Bootstrap 4 grid, rows and columns. By doing this, and moving the one table to a slightly different position, I am able to get things to mostly work the way I needed to (cannot seem to get the thumbnail images much smaller, but I'm still looking at the CSS for that).
add a comment |
up vote
0
down vote
The solution appears to be to move everything into the standard Bootstrap 4 grid, rows and columns. By doing this, and moving the one table to a slightly different position, I am able to get things to mostly work the way I needed to (cannot seem to get the thumbnail images much smaller, but I'm still looking at the CSS for that).
add a comment |
up vote
0
down vote
up vote
0
down vote
The solution appears to be to move everything into the standard Bootstrap 4 grid, rows and columns. By doing this, and moving the one table to a slightly different position, I am able to get things to mostly work the way I needed to (cannot seem to get the thumbnail images much smaller, but I'm still looking at the CSS for that).
The solution appears to be to move everything into the standard Bootstrap 4 grid, rows and columns. By doing this, and moving the one table to a slightly different position, I am able to get things to mostly work the way I needed to (cannot seem to get the thumbnail images much smaller, but I'm still looking at the CSS for that).
answered Nov 8 at 21:13
Ken Mayer
559
559
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53214614%2fbootstrap-4-nested-tables-text-wrap-around-images%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
I don't have enough now but this w3schools.com/howto/howto_css_image_text.asp may be the answer to positioning your text over image
– hans-könig
Nov 8 at 19:26
I don't think you really read this. I DON'T want the text over the images.
– Ken Mayer
Nov 8 at 19:31
1
You may not want to hear this, but using nested tables with fixed widths for a responsive mobile layout kinda of defeats the purpose of responsiveness. Not to mention the absolute nightmare of trying to handle all the myriad cases for screen sizes out there. May I suggest using flex-box instead? You'll sleep better at night.
– I. R. R.
Nov 8 at 19:36
I have no clue how to work with flex-box ...
– Ken Mayer
Nov 8 at 19:57
I found this for an overview helpful stackoverflow.com/questions/32551291/…
– User__42
Nov 8 at 20:03