Hi
I have below message Popup. I want Title should appear on left with primary background & Horizonal line should be full width.
Image attached.
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MBox.ascx.cs" Inherits="Payroll.MBox" %>

Thanks
Ramco RamcoPosted Aug 31, 2024, 10:30 AM
Hi Naimish
It is still not displaying properly . Neither Heading is left aligned & also line is not appearing. Iamge also attached
Thanks
Sriyans SharmaPosted Aug 30, 2024, 9:25 AM
To meet your requirements, you want to style the title of the message popup so that it appears on the left side with a primary background color. Additionally, you want a horizontal line below the title that spans the full width of the popup. Here's how you can adjust your
ShowPopupfunction to achieve this:Explanation of Changes:
Title Styling:
divwithbackground-color: #007bff;(Bootstrap's primary color) andcolor: white;to make the text stand out.divto provide spacing around the title text.Horizontal Line:
tag is used to create the horizontal line. It's styled to span the full width and placed right below the titlediv.Text Alignment:
divwithtext-align: left;.Result:
Naimish MakwanaPosted Aug 29, 2024, 5:16 AM
Try below solution,
Thanks