View Single Post
Old 12-24-2023, 04:12 PM   #3
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,119
Karma: 18727091
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Welcome to MR!

If you want an image to take up the “full screen” then there wouldn’t be any room for the text to flow around. In that case you could insert an image wrapped in svg tags on its own html page. The text would end before the image and pickup right after.

If, instead, you want it to just take up the full width, with text above/below, then you could do something along the lines of:
Code:
div.image {margin:2em 0; width:100%}
img {width:100%}

<p>Some text paragraph.</p>
<div class="image"><img alt="" src="yourimage.jpg"/></div>
<p>Some text paragraph.</p>
If you want an image to take up less than the full width of the screen then you would need to incorporate the "float" into your div:

Code:
div.image {margin:2em 0; width:75%; float:left}
img {width:100%}

<p>Some text paragraph.</p>
<div class="image"><img alt="" src="yourimage.jpg"/></div>
<p>Some text paragraph.</p>
Turtle91 is online now   Reply With Quote