-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Google to discontinue the Basic HTML version of Gmail next year
By Chasethebase,
- 1 reply
- 4 views
-
- 0 replies
- 5 views
-
Google Chrome 108 is coming today with lots of deprecations and improved COLRv1 support
By Usama Jawad96,
- google chrome
- (and 6 more)
- 1 reply
- 5 views
-
Get this Price Dropped Coding 101 Bootcamp Beginners Bundle for only $24.99
By News Staff,
- zenva academy
- coding 101
- (and 11 more)
- 1 reply
- 6 views
-
- 0 answers
- 3,065 views
-
Question
sanctified Veteran
Im doing a dynamic site where images in a gallery resize depending on your screen resolution. So far the resize code has been working good but I cant make the images to center in the screen. I dont know what I'm doing wrong. Maybe someone can point me out the error?
This is how it looks like right now:
This is how it should look:
This is my code, both css and html:
<body>
<div id="content_container">
<div id="slideshow" class="lowcase2">
<div id="prev"><a href="javascript:;"><img src="images/prev.png" alt="Previous image"/></a></div>
<div id="next"><a href="javascript:;"><img src="images/next.png" alt="Next image"/></a></div>
<div id="gallery" align="center">
<p><img src="faith/1.jpg" alt="" /><br>Test</p>
<p><img src="faith/2.jpg" alt="" /></p>
<p><img src="faith/3.jpg" alt="" /></p>
</div>
</div>
</div>
</body>
[/CODE]
Link to comment
Share on other sites
4 answers to this question
Recommended Posts