The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> External Email Warning
Mattf
post Dec 9 2021, 11:49 AM
Post #1





Group: Members
Posts: 2
Joined: 9-December 21
Member No.: 28,193



Hey Everyone I'm trying to figure out how I can add a red bar on the right-hand side of this code, I have it for the left side, i just want to add the saem bar on the right as well.

<!-- Yellow caution banner -->
<table border=0 cellspacing=0 cellpadding=0 align="left" width="100%">
<tr>
<!-- Remove the next line if you don't want the Red bar on the left side -->
<td style="background:#FF0000;padding:5pt 2pt 5pt 2pt"></td>

<td width="100%" cellpadding="7px 6px 7px 15px" style="background:#fff8e5;padding:5pt 4pt 5pt 12pt;word-wrap:break-word">
<div style="color:#222222;">
<span style="color:#222; font-weight:bold;">Caution:</span>
This email originated from a sender <b>OUTSIDE</b> of your organization!
<br />
<br />
Please proceed with caution and <b>DO NOT CLICK</b> links, open attachments or provide <b>ANY</b> information if the sender is unknown, you were <b>NOT</b> expecting the email message or the email message contains suspicious looking content. Please pay particular attention to email messages requesting you to verify accounts of any kind or requests to change your password(s) that <b>YOU DID NOT</b> initiate.

</div>
</td>
</tr>
</table>
<br />
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 9 2021, 01:16 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,731
Joined: 9-August 06
Member No.: 6



This isn't the best way of doing it, but to answer your question just copy the cell at the beginning of the row that you use to create the red line to the end of the row.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Mattf
post Dec 9 2021, 01:54 PM
Post #3





Group: Members
Posts: 2
Joined: 9-December 21
Member No.: 28,193



QUOTE(pandy @ Dec 9 2021, 02:16 PM) *

This isn't the best way of doing it, but to answer your question just copy the cell at the brginning of the row that you use to create the red line to the end of the row.


Okay. I have no idea what you just said smile.gif

I don't work in HTML and just used this from an example, so I have no idea where to place what. If this isn't the best way to do this could you by chance tell me what the best way to do it is?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Dec 9 2021, 02:03 PM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,731
Joined: 9-August 06
Member No.: 6



QUOTE(Mattf @ Dec 9 2021, 07:54 PM) *

QUOTE(pandy @ Dec 9 2021, 02:16 PM) *

This isn't the best way of doing it, but to answer your question just copy the cell at the brginning of the row that you use to create the red line to the end of the row.


Okay. I have no idea what you just said smile.gif

I don't work in HTML and just used this from an example, so I have no idea where to place what.

CODE

<tr> <!-- The table row begins here -->
<!-- Remove the next line if you don't want the Red bar on the left side -->



<!--The line below is the first cell in the row. It's empty with a red background color. Copy the line below. -->
<td style="background:#FF0000;padding:5pt 2pt 5pt 2pt"></td>




<td width="100%" cellpadding="7px 6px 7px 15px" style="background:#fff8e5;padding:5pt 4pt 5pt 12pt;word-wrap:break-word">
<div style="color:#222222;">
<span style="color:#222; font-weight:bold;">Caution:</span>
This email originated from a sender <b>OUTSIDE</b> of your organization!
<br />
<br />
Please proceed with caution and <b>DO NOT CLICK</b> links, open attachments or provide <b>ANY</b> information if the sender is unknown, you were <b>NOT</b> expecting the email message or the email message contains suspicious looking content. Please pay particular attention to email messages requesting you to verify accounts of any kind or requests to change your password(s) that <b>YOU DID NOT</b> initiate.
</div>
</td>


<!-- AND PASTE IT IN HERE -->


</tr> <!-- This ends the row -->




QUOTE

If this isn't the best way to do this could you by chance tell me what the best way to do it is?


No. Not if you don't know any HTML. wink.gif
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 26th April 2024 - 04:11 PM