Click here to Skip to main content
15,868,023 members
Home / Discussions / Web Development
   

Web Development

 
QuestionWebrequest is obselete what is the alternatieve Pin
Ger F. Versteeg26-Jul-21 23:45
Ger F. Versteeg26-Jul-21 23:45 
AnswerRe: Webrequest is obselete what is the alternatieve Pin
Richard Deeming27-Jul-21 23:57
mveRichard Deeming27-Jul-21 23:57 
GeneralRe: Webrequest is obselete what is the alternatieve Pin
Ger F. Versteeg28-Jul-21 0:58
Ger F. Versteeg28-Jul-21 0:58 
GeneralRe: Webrequest is obselete what is the alternatieve Pin
Richard Deeming28-Jul-21 3:09
mveRichard Deeming28-Jul-21 3:09 
GeneralRe: Webrequest is obselete what is the alternatieve Pin
Ger F.28-Jul-21 4:24
Ger F.28-Jul-21 4:24 
QuestionWebsite Deployment Pin
Promise Sheggs21-Jul-21 10:32
Promise Sheggs21-Jul-21 10:32 
AnswerRe: Website Deployment Pin
Member 150787164-Jul-22 18:53
Member 150787164-Jul-22 18:53 
QuestionHow to place text over an image using HTML/CSS? Pin
Alex Dunlop21-Jul-21 7:52
Alex Dunlop21-Jul-21 7:52 
I have pairs of images and their related texts in my web application. My images are small rounded photos that the user can click on each of them to enter a new page. I want to place their specified texts at the center of those thumbnails.
I wrote these codes:

CSS
<html lang="fa">
    <head>
        <title>Information System</title>
        <style>
            #main-image{
                display: block;
                margin-left: auto;
                margin-right: auto;
                max-width: 100%;
                max-height: auto;
            }
            b{
                font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
                color: blue;
            }
            .sub-image{
                border-radius: 5%;
            }
            .container{
                position: relative;
                text-align: center;
            }


        </style>
    </head>
    <body bgcolor="white">
        <div>
            <img id="main-image" src="Images/IT.jpg" width="1600" alt="Intro">
        </div>
        <hr>
        <div class="container">
            <img class="sub-image" src="Images/repair.jpg" width="300">
            <div class="image-text">
                Failures
            </div>
        </div>
        <div class="container">
            <img class="sub-image" src="Images/Equipment.jpg" width="300">
            <div class="image-text">
                Equipments
            </div>
        </div>
    </body>
</html>

Please help me.

modified 21-Jul-21 14:01pm.

AnswerRe: How to place text over an image using HTML/CSS? Pin
Member 1529865622-Jul-21 21:43
Member 1529865622-Jul-21 21:43 
GeneralRe: How to place text over an image using HTML/CSS? Pin
Alex Dunlop23-Jul-21 7:44
Alex Dunlop23-Jul-21 7:44 
GeneralMessage Closed Pin
23-Jul-21 18:28
Member 1529865623-Jul-21 18:28 
GeneralRe: How to place text over an image using HTML/CSS? Pin
Alex Dunlop24-Jul-21 4:21
Alex Dunlop24-Jul-21 4:21 
QuestionWhat does an "Error 503 first byte timeout" mean? Pin
swampwiz1-Jul-21 19:15
swampwiz1-Jul-21 19:15 
AnswerRe: What does an "Error 503 first byte timeout" mean? Pin
Richard MacCutchan1-Jul-21 21:02
mveRichard MacCutchan1-Jul-21 21:02 
QuestionMessage Closed Pin
30-Jun-21 23:43
Member 1527182330-Jun-21 23:43 
QuestionHow Much the Budget should be for a website like OLA and UBER Pin
Ali Salman Jun14-Jun-21 1:52
Ali Salman Jun14-Jun-21 1:52 
AnswerRe: How Much the Budget should be for a website like OLA and UBER Pin
Member 1346058222-Jun-21 23:36
Member 1346058222-Jun-21 23:36 
AnswerRe: How Much the Budget should be for a website like OLA and UBER Pin
SeeSharp214-Jul-21 10:41
SeeSharp214-Jul-21 10:41 
QuestionImport Excel sheet into Gridview and SQL Pin
Michael Hinkle18-May-21 16:41
Michael Hinkle18-May-21 16:41 
AnswerRe: Import Excel sheet into Gridview and SQL Pin
Richard MacCutchan18-May-21 21:15
mveRichard MacCutchan18-May-21 21:15 
GeneralRe: Import Excel sheet into Gridview and SQL Pin
Richard Deeming18-May-21 21:39
mveRichard Deeming18-May-21 21:39 
GeneralRe: Import Excel sheet into Gridview and SQL Pin
Richard MacCutchan18-May-21 22:01
mveRichard MacCutchan18-May-21 22:01 
GeneralRe: Import Excel sheet into Gridview and SQL Pin
Michael Hinkle19-May-21 17:27
Michael Hinkle19-May-21 17:27 
AnswerRe: Import Excel sheet into Gridview and SQL Pin
Richard Deeming18-May-21 21:42
mveRichard Deeming18-May-21 21:42 
AnswerRe: Import Excel sheet into Gridview and SQL Pin
Mycroft Holmes20-May-21 12:55
professionalMycroft Holmes20-May-21 12:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.