Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Highlighted
New Developer
Posts: 1
Registered: ‎08-16-2009
My Device: Not Specified

"HTML Email" Design

I am trying to get an HTML Email template working on BlackBerry phones, and Outlook, and Gmail and I am having a little problem with it. The main cause is that I have an HTML table which has four columns, and it needs a lot of screen space to display. I can make it work fine on other email programs, but for the blackberry  I need to do something totally different (not use the table). Since the same email is being, independent of the email reader - i need something on the code that would display one set of code for Blackberry, and different set of code for the other readers.

 

So far I have been able to hide the blackberry content to other email readers through CSS hacks - but i cant hide what i display to other readers on blackberry. what I am trying to do is the following (in logical code):

 

If Blackberry:

{ some code} 

else

{some different code}

 

Any suggestions?

 

thanks