Help - Search - Members - Calendar
Full Version: Welcome message error - HTML problem?
Invision Power Services > Community Forums > Community General Chat
timperleys
I've been trying to get a welcome message to display to guests. I now get it to display but it displays poorly (see attached). I know this because its exactly the same code I used on the board prior to upgrade. Can anyone see errors in the following code?

QUOTE
<if="ipb.member['mgroup'] == ipb.vars['guest_group']">
<table align="center" class="simonslink">
<tr>
<td>
<p align="center">
<b>Hello Guest, Why Not Register Today?</b> ( <a href="http://www.saferpak.com/forum/index.php?act=Login&CODE=00">Log In</a> | <a href="http://www.saferpak.com/forum/index.php?act=Reg&CODE=00">Register</a> )</p>
<b>Welcome to the fastest growing free food safety & quality help site on the Internet!</b> Here you'll find free, friendly help and support for all your food safety & quality questions. Once registered--you'll have the ability to post your question in the appropriate category below. Additionally, if you can assist another member by sharing your knowledge, please feel free to post a reply! Best of all - <strong><a class="a5" href="http://www.saferpak.com/forum/index.php?act=Reg&CODE=00">Registration</a></strong> and all assistance, is FREE! Once you've completed registration, simply click the appropriate category below, click on the "new topic" button, and post your question! <b> <a class="a5" href="http://www.saferpak.com/forum/index.php?act=Reg&CODE=00">Click Here to Register</a>.</b>
<br/><br/>
</td>
</tr>
</table>



QUOTE
.simonslink
{
background: #FBFBFB;
border: 1px solid #E0E0E0;
width: 95%;
color: #E0E0E0;
font-size: 11px;
padding: 10px 10px 10px 10px;
}
.Wolfie
Might not be able to fix your problem but, have you considered adding it to the langauge files? Would make it easier to edit and display.

Also if that <if> statement has an <else> clause for members that are signed in, I could simplify your <if> statement a teeny bit.

But on the language thing, it would help to narrow down the problem some.
Antony
You need to close your if statement with a </if>
.Wolfie
QUOTE(Antony @ Sep 18 2005, 09:46 AM) *
You need to close your if statement with a </if>
I noticed that too, but I presumed that they were only showing the code that was generating a problem. laughing.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.