Jump to content

Title DIV is Not Aligning to ThumbNail Pic


Recommended Posts

Can you please Help Me to Fix this Issue? Please Help.

image.png.e7d70aa98dfcec0f4974e3b2ade1dc36.png

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML HTML 5 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" />

<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW" />

<title>Testing</title>
<style type="text/css">
    
body {
                margin-top: 0px;
                margin-bottom: 0px;
                background-color: #CCFFCC;
}

#MainContainer01 {
                width: 620px;
                margin: 0 auto;                

}
.Header {
                font-family: Arial, Helvetica, sans-serif;
                color: #FFFFFF;
                text-align: center;
                font-size: 25pt;
                background-color: #000080;
                line-height: 75px;
                height: 75px;
}

.HREFNoBorder {
                border-width: 0px;
}
.FL {
                width: 310px;
                height:381px;            
                text-align: center;
                padding-bottom: 30px;
                background-color:fuchsia;
                float: right;
}
.gap {
                line-height: 35px;
                height:35px;
                /*clear: both;*/
                
}
.TitleSegment {
                line-height: 30px;
                font-family: Arial;
                font-size: 12pt;
                background-color: #CCFFFF;
                text-align: right;
                width: 301px;                
        
}
</style>
</head>

<body>
    <div id="MainContainer01">
         <div class="Header"></div>
         <div class="gap"></div>                  
         <div class="FL">
                        <div class="TitleSegment">Title Segment</div><a target="_blank" href="#">
                        <img alt="#" longdesc="#" src="https://post.healthline.com/wp-content/uploads/2020/09/blue-lotus-flower-732x549-thumbnail.jpg" width="301" height="381" class="HREFNoBorder" /></a></div>
         <div class="FL">
                        <div class="TitleSegment">Title Segment</div><a target="_blank" href="#">
                        <img alt="#" longdesc="#" src="https://th.bing.com/th/id/OIP.caLpUQWyd1PZV5SRvDOZFQHaE8?w=270&h=180&c=7&o=5&pid=1.7" width="301" height="381" class="HREFNoBorder" /></a></div>                                                                                    
   </div>
</body>
</html>

 

Link to post
Share on other sites
  • 3 weeks later...
On 3/8/2021 at 12:39 AM, dsonesuk said:

That IS NOT! HTML5. Its simplified to just

<!DOCTYPE html> but! It has differently defined charset meta tags.

Unfortunately I didn't Understand. Can you please Explain Me again in a Different and More Easier way?

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...