Styles are not showing in html mail

Hello all,
i have a servlet that sends a mail in html format. i have a string with all the html tags, and the first part of the string is as follows:
String htmlText = "<html><link href='styles/styles.css' type='text/css' rel='stylesheet'>....here gos the rest of the html tags.
i receive the mail properly, but seems that the styles are not working....any help?
Thanks

Because the link to your stylesheet is a relative URL, and in an e-mail there's no base URL for it to be relative to. Using a fixed URL like http://yourhost.org/styles/styles.css would probably work.

Similar Messages

  • Graphics(Styles) are not Affecting in HTML Format of Smart Form

    Hi,
    I have converted a Smartform from PDF format to HTML. but the Graphics ( Styles ) are not Affecting the out put.
    Can any body Give me the solution.

    Please suggest me ,how to convert from pdf to html workformat,if any program is available for that.Please send it

  • Mail accounts are not showing up in Mail

    I recently migrated my 2011 MBP to a 2013 MBP.  I had Mavericks installed on both computers.  Everything works fine except that I can't add other mail accounts.  I put in my primary email (a GoDaddy account) and my local cable account (Time Warner).  When I added my Exchange, iCloud, and Gmail accounts, I do not get any inboxes for them in Apple Mail.  I deleted all the accounts, added them back through either mail prefs or accounts, I deleted plist, I restarted in safe mode and ran diagnostics, yada yada.  I only get my GoDaddy and Time Warner inboxes eventhough the accounts pane in system prefs says they're all there.  Interestingly, I do get calendar information from my exchange account.  Also, these mailboxes are still working perfectly fine on my older laptop.  Any ideas?

    Hi troxelweb,
    This is occurring because the 'Administrators' role does not have permission to 'Manage Email Accounts'. If you're able to, log into the admin console > Site Settings > User Roles > Administrators > Permissions, and assign 'Manage Email Accounts' to this role.
    If you can't update the permissions, let me know and I will do this on your behalf.

  • Contact photos are not showing up in Mail message list, even though the message will link to the contact card in Address Book with the photo in it.

    I'm using Mail 5.3 and Address Book 6.1.3 on X 10.7.5. I want my contact photos to show up in the message list on Mail, but only some of them do, even though the message will link to the contact card in Address Book with the photo in it. I've even tried replacing a photo that doesn't show up with a photo that does show up for a different contact but no luck. I am syncing to one other Mac, an iPhone and an iPad via iCloud.

    I'm using Mail 5.3 and Address Book 6.1.3 on X 10.7.5. I want my contact photos to show up in the message list on Mail, but only some of them do, even though the message will link to the contact card in Address Book with the photo in it. I've even tried replacing a photo that doesn't show up with a photo that does show up for a different contact but no luck. I am syncing to one other Mac, an iPhone and an iPad via iCloud.

  • MY LAYER STYLES AND PHOTO EFFECTS ARE NOT SHOWING UP WHE I CLICK THE BOX, NO DROP SHADOW, ETC

    MY LAYER STYLES AND PHOTO EFFECTS ARE NOT SHOWING UP WHE I CLICK THE BOX, NO DROP SHADOW, ETC,
    I ALSO GET AN ERROR WHEN I OPEN THE EDITOR ONTITLECREATEWITHPARONS COULD NOT BE LOCATED IN THE DYNAMIC LINK ONCORE2DLL

    Seems like the database has been accidently deleted. Browse here on how to get it back http://forums.adobe.com/thread/759100

  • Cell background colors are not showing in preview - help? - DW4

    Hi,
    I created a horizontal table for my menu bar, and gave each cell a different color by creating a separate class for each with background image - image is a block of color created in Photoshop. In design mode they look they way I want, but in preview (Safari) the colors don't show up at all - the whole area is gray, and all I see is the text for each cell. Can someone tell me what I'm doing wrong? Alternatively, is there a better way I can set this up to have different colors for each button?
    Thank you!

    Here is the HTML code, and the CSS code for the menu bar follows: 
         ul.MenuBarHorizontal           
    ></style><style type="text/css"><!body {     background-color: #FFF;     font-family: Arial, Helvetica, sans-serif;}-->
        h1.  
         ul.MenuBarVertical          
    [about | MS_about.html]
    [fiction | MS_fiction.html]
    [dramatic work | MS_dramaticwork.html]
    [arts | MS_arts.html]
    [contact | MS_contact.html]
    [blog | MS_blog.html]
    <!-- end #header ><div id="mainContent"><p> </p><table width="950" border="0" cellspacing="10" cellpadding="12">        <tr>          <td width="106"><p> </p></td>          <td width="766"><p> </p>            <p>Miriam Seidel is a writer, critic and curator whose work is informed by her background in art, music and dance. </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p>          <p> </p></td>        </tr>        <tr>          <td colspan="2" bgcolor="#CCCCCC"><p>c Miriam Seidel 2011 all rights reserved</p></td>        </tr>    </table><script type="text/javascript"><!var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", );var MenuBar2 = new Spry.Widget.MenuBar("MenuBar2", );var MenuBar3 = new Spry.Widget.MenuBar("MenuBar3", );//></script></body>     <! end #mainContent --></div></html> 
    CSS CODE:
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */ 
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding /ul.MenuBarHorizontal/ Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html /ul.MenuBarActive{     z-index: 1000;     font-family: Arial, Helvetica, sans-serif;     font-size: medium;     color: #FFF;     background-color: #FFCC99;     background-repeat: no-repeat;     left: auto;     top: auto;     right: auto;     bottom: auto;}/ Menu item containers, position children relative to this container and are a fixed width /ul.MenuBarHorizontal li/ Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) /ul.MenuBarHorizontal ul/ Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item /ul.MenuBarHorizontal ul.MenuBarSubmenuVisible/ Menu item containers are same fixed width as parent /ul.MenuBarHorizontal ul li/ Submenus should appear slightly overlapping to the right (95%) and up (-5%) /ul.MenuBarHorizontal ul ul/ Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible 
    /* Submenu containers have borders on all sides /ul.MenuBarHorizontal ul/ Menu items are a light gray block with padding and no text decoration /ul.MenuBarHorizontal a/ Menu items that have mouse over or focus have a blue background and white text /ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus{     background-color: #6C9;     color: #999;     font-family: Arial, Helvetica, sans-serif;     font-size: medium;     font-style: normal;     line-height: normal;     font-weight: normal;     font-variant: normal;     text-decoration: none;     text-align: center;     vertical-align: middle;     height: 50px;     width: 115px;}/ Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible{     background-color: #FFCC99;     color: #FFF;     font-family: Arial, Helvetica, sans-serif;     text-decoration: none;     font-size: medium;}
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) /ul.MenuBarHorizontal a.MenuBarItemSubmenu{     background-image: url(SpryMenuBarDown.gif);     background-repeat: no-repeat;     background-position: 95% 50%;     text-align: center;}/ Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) /ul.MenuBarHorizontal ul a.MenuBarItemSubmenu{     background-image: url(SpryMenuBarRight.gif);     background-repeat: no-repeat;     background-position: 95% 50%;}/ Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) /ul.MenuBarHorizontal a.MenuBarItemSubmenuHover{     background-image: url(SpryMenuBarDownHover.gif);     background-repeat: no-repeat;     background-position: 95% 50%;}/ Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover{     background-image: url(SpryMenuBarRightHover.gif);     background-repeat: no-repeat;     background-position: 95% 50%;}
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe /ul.MenuBarHorizontal iframe/ HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */@media screen, projection{     ul.MenuBarHorizontal li.MenuBarItemIE     {          display: inline;          f\loat: left;          background: #FFF; 
    Date: Mon, 20 Jun 2011 15:30:46 -0600
    From: [email protected]
    To: [email protected]
    Subject: Re: cell background colors are not showing in preview - help? - DW4 
    NEED to see the code.
    Otherwise it's like dialing a random phone number, and asking whoever answers, where you left your keys.
    >

  • Suddenly, events entered in Calendar on iPhone are not showing up in iCal or iCloud

    Until late November, i had an iPhone 4s with iOS 5.   Then i got an iPhone 6 with iOS 8.  As previously, when i would enter an event in the Calendar, that data would also show up in my iCal calendar and on my iCloud calendar, until the last couple of days.  Now, new entries are not showing up on iCal or iCloud.  I encountered the problem that my iPhone, 64G, is being backed up to the iCloud and after two backups, taking up 2.4G each, my 5G of iCloud storage was used up.  I speculated that this was why my phone data stopped syncing to the other calendars on the computer and cloud, though i did not know for sure.  I deleted one of the two back ups and am about to delete the other one.  I have never had this problem of running out of iCloud storage on my other phone.  According to Settings>iCloud>Storage, i had 89MB.  But since i have deleted one of the 2.4G backups (which was "incomplete") my new entries are still not showing up in iCal and on the iCloud.
    Is there a way to get this feature to work again?
    Are there things i can check or uncheck in settings or in Calendar or  ??   that will get this to work well as it did in iOS 5?

    ckuan -  thank you for replying.  i am really desperate for help.  I have wasted so much time on this. I was on hold with Apple support for a long time and then had a call with a rep that lasted over an hour but he didn't know anything about issues of these kinds.  i was put on hold a lot while he consulted.  He did agree that the data wasn't syncing from iPhone to iCloud and iCal because the iCloud storage was used up by the iPhone back ups.  So he advised deleting one of them.  I now have 2.4G of storage on iCloud.  Am i wrong to think that should be enough?   I still ave the original complete back up (2.4g) undeleted, in case there some reason that i need it. i don't like deleting things i don't have a good understanding of.
    Following your instructions, i went to Settings>Mail,Contacts,Calendars.  I then scrolled down to Calendars and at the bottom, i see where it says Default Calendar.  This raised new questions for me which i will ask you/others now:
    On the Default Calendar page, there is a heading that says iCloud and there is a second heading that says my gmail email address, [email protected].  Under the iCloud heading, there is a list of 8 "calendars," called Work, Family, Pets, Home, etc.  Under the gmail address heading, there is only one option listed, which is my gmail username.  When i went to the Default Calendar option, as i think you suggested if i understood you right, i found that the Calendar with the checkmark next to it was the gmail user name, under the gmail address heading.  Presumably, this is the same setting i had on my 4s with iOS 5.
    I wanted to follow your instruction to change this to iCloud as Default Calendar. but the only option i have is to choose only one of those 8 "calendars," either Work, or Pets, or Home, etc.  Does this make sense?   The only reason i know for having these many different calendars was to give different colors to the different event categories. I didn't really want them to be separate calendars. i just wanted to use the color coding for type of event in my overall calendar.
    I don't know why this is suddenly so complicated and confusing, after working fine  for the first two or three weeks i've had the new iPhone.  Suddenly, when i enter events in Calendar, it's not reaching the cloud.  If this is because my gmail and/or google user name was checked as the default calendar, that was not a setting i would've recently changed.  I never would  have set my iPhone to only use one of the iCloud sub-calendars at my default calendars.
    But right now, per your instructions, i have checked Settings>Mail.Contacts,Calendars>Calendars>Default Calendar to iCloud>Home (Home being one of my 8 sub-calendars).  When i look on the Mail,Contacts,Calendars setting list, under Default calendar, it now says Home, instead of my gmail username.  Just to be clear, there is no way to check iCloud on the Default Calendar page.  i have tried checking it, but it's just a somewhat grayed out heading and doesn't respond to attempts to check it, it's not offered as a Calendar option. Only the various sub-calendars are offered a default calendar options, under the grayed out iCloud heading.  So, i selected Home, for no particular reason. i have lots of entries under different categories.
    Here is the result:   still no new entries showed up in iCloud or iCal.  In January, a couple of days ago,  i entered three dental appointments, for which i have always used Health as what i thought was a category (not a separate  "calendar").  The color of Health events is green.  The color of Home events is Blue.  After changing the Default Calendar from gmail email address>user name to iCloud>Home (blue), the dental appointment in January did not show up.  But when i went into the first dental appointment event>edit and changed the "calendar" to Home, it then showed up on the calendar.  The other two dental appointments which were still Health did not show up. 
    Then, i changed the first dental appointment that is showing up in January back to Health (green).  It still shows up, now, colored green, even though Home/blue is now my default calendar.  But the two other dental appointments are not showing up.
    Does this mean if want to use my Calendar and have the data backed up in iCloud and iCal, from now on, i need to use only one sub calendar and give up  using the different color codes because iOS 8 is forcing me to choose only one sub calendar to be my whole calendar, and the only way to use different colors for different categories of events would be to first enter it as the default sub calendar (such as dental appointment>Home), and then go back and edit it into the correct sub calendar (such as changing it to the correct category, Health) to show the correct one instead of the "default" one?
    Why was this made so much more difficult and complicated than it used to be?  It was working normally up  until a couple of days ago.
    What i need, if possible, is info on what setting i can use to go back to using my gmail address user name as my default calendar, so that it can just work properly as it did before.  It seems ridiculous that i am forced by iCloud to use a sub category as my default calendar and everything that isn't entered as that subcategory will not be processed in iCloud.  Why does iCloud provide these sub calendar category options at all, if it's going to force people to only be able to use one of them?
    What am i missing here?
    Is there a setting that would enable combining all subcategories as one calendar, called iCloud, but where i could still use the different colors for different categories?  

  • My extensions are not showing up

    I have installed quite a few extensions, but some of them are not showing up.
    The extensions showing up are as follows:
    Pearl
    amplify
    Not showing up:
    Google application mail watcher
    Shareaholic
    similar web

    Dear Sherri
    Please could you let us know which version of Photoshop you are using and whether the extensions menu is now greyed out? If you used Adobe add-ons to download your products, it will be easy to reinstall them directly from the 'My Add-ons' link on the left-hand side of the add-ons website: creative.adobe.com/addons.
    If, however, you are a CS6 user and use Adobe Exchange to obtain products for Photoshop, the 'My Stuff' section of the panel, as well as Extension Manager, will give you an indication of what should and shouldn't be currently installed in your copy of Photoshop.
    Kind regards
    Krystal
    -Adobe Exchange / Addons team

  • All of my contacts are not showing up

    Once I updated my phone to to iCloud, now all of my contacts are not showing up in my contact list but if I type in the number, they show up.  How do I fix this?

    I also have this problem, just from the iPhone 5s which makes my life crazy, too.
    The problem of having multiple devices doesn't seem to help, but the odd part is when everything I am doing is correct, it still doesn't sync like it used to do before iCloud, and when we had to USB wire connect the iPhone to the Laptop to make contacts sync.
    Might I add that I am not using MAIL on my LAPTOP?
    but ?Britty sounds like her issue is easier as gmail sometimes can create duplicates so you are in good if you are not having that problem or nightmare...
    IF ANYONE ELSE can PLEASE ADD to this THREAD? I would be thankful
    as there seems to be a TRENDING on iPhone 5s not syncing with other devices or backwards.....(I have added contacts to the iPhone 5s and they never get added to the iCloud or the iPad or the Addressbook or CONTACTS on the LAPTOP....
    This should be working and I have checked the CONTACTS on the laptop GROUPS , iCloud, vs ALL ON MY MAC
    it just isn't syncing and in some cases I am getting a WEB DAV error or CAL error...-1
    what is that? iCloud will not sync all contacts?
    something is crazy
    but I want to remain at 10.8 MOUNTAIN LION and not upgrade to MAVERICKS......or use MAIL on my LAPTOP...just CONTACTS ONLY......

  • Birthday calendar for only some of my contacts are showing up twice in my iPhone. They are not showing up twice tho on my iMac. No, I do not have duplicate names in my address book either. Any idea how to fix that?

    my birthday events for only some of my contacts are showing up twice in my iPhone. They are not showing up twice tho on my iMac. No, I do not have duplicate names in my address book either. Any idea how to fix that?

    I have uploaded the InDesign file so that you can take a closer look at:
    http://www.hsdesign.comuf.com/downloads/
    The file is called "Template_File.indd"
    So, as discussed the main issues are:
    1) The TOC doesn't generate all the listings (only those with the applied paragraph style "Heading 1 - Appendix")
    2) When I try to create a new pargraph style and apply it to existing or new text, it reads the pargraph style in the Paragraph Style menu, but the style doesn't actually apply.
    Hopefully you can figure something out from this. I really appreciate your help.
    Thanks!

  • HT2474 when I am opening any application including safari, these icons are not showing in dock, how to get open applications in my dock?

    when I am opening any application including safari, these icons are not showing in dock, how to get open applications in my dock?

    This could be a plist corruption problem, but I'm not sure.
    Sometimes, the preference list files get corrupted. You can usually just remove them and they'll get re-created. This may require you to reset certain settings. A notable exception to this is the Mail plist which actually stores the Library structure of your email accounts. Deleting the Mail plist will definitely cause lots of problems, but is recoverable.
    The plist files are stored in the /Users/username/Library/Preferences/ folder. They usually have the naming convention of com.company.programname.plist.
    A simple troubleshooting technique is to move a suspect plist file out of the Preferences folder and start up the app, again. It will re-create the plist from scratch.
    In your case, I would try the com.apple.dock.plist. You can use Activity Monitor to kill the Dock app and it will restart. Or, you can log out and log back in.
    There is a new file with Leopard called com.apple.dock.db. I haven't figured out what it does, but you might try moving it out. If anything gets worse, you can move the old file back in replacing the newly created one.
    This all sound somewhat odd, so I don't know if this will help.

  • In iOS 7.0.2 All and Missed tabs are not showing call history correctly

    In iOS 7.0.2 All and Missed tabs are not showing call history correctly, I have iPhone 4 running iOS 7.0.2 version it looks like there is a bug. Missed call history and All calls (incoming, outgoing and missed) history is not showing properly in a list. Ideally when I click on missed it should show me recent missed call list and when I click on All it should show me (incoming, outgoing and missed) calls list sorted by current date and time.
    I would like to request Apple developer team to look into this and fix this bug asap. Thanks in advance.

    Hello gnutellabrot
    Start with the article below to troubleshoot issues with email not sending and downloading to your iPhone.
    iOS: Troubleshooting Mail
    http://support.apple.com/kb/ts3899
    Thanks for using Apple Support Communities.
    Regards,
    -Norm G.

  • Why my sent emails are not showing up in the sent box

    The emails I'm sending are not showing up in my sent box. Why is this happening? 

    - Did they show before?
    - Are you sending from the mail app?
    - Try sending from another account.
    - Try a reset. Nothing will be lost.
    Reset iPod touch:  Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.

  • TS3276 After updating software yesterday, noticed that sent emails are not showing up in Sent Folder for one of my accounts.

    After updating software yesterday, noticed that sent emails are not showing up in Sent Folder?

    Are you storing Drafts, Sent, Trash and Junk messages on the server via your .Mac account with Mail?
    If so, do you access your .Mac account with an email client on another computer or regularly access your account via webmail on another computer?
    If not, any other reason you need to store Drafts and Sent messages on the server?
    While composing a message with Mail, it is temporarily saved in the account's Drafts mailbox so sounds like something went wrong with the process between finishing and sending the message with Drafts and Sent being stored on the server.
    If you don't have any need for this, better to store Drafts and Sent messages locally on the hard drive with Mail.

  • Messages located in sub folders do not show in iPad Mail

    Using iPad mail with Microsoft Exchange sync works great at the inbox level but any messages that are in sub folders do not show up in Mail on the iPad. All of the sub folders show up but do not show messages. In addition, I am not able to collapse the parent folders, the result is a very long list of empty folders. The exception is emails that I move to the folders on the iPad do show up if the folder is selected on the iPad. Looking for solution.

    Has anyone else noticed the following?
    I've synchronized with Exchange and am noticing some odd mail behaviour:
    - I have folders in my PC Outlook inbox
    - when I have mail open on my ipad, and a new message comes in, if I happen to be an a subfolder (example a special folder for messages from my boss or whatever) all the new mail goes to that folder instead of the inbox.
    - even weirder, it stays there when I go back to my PC and Outlook.
    Not very useful long term since I end up with seriously misfiled mail...

Maybe you are looking for

  • HT204053 can you have multiple apple id's for the family but we all use the same iCloud?

    Can you have multiple apple id's for the family members but we all us the same iCloud account?

  • TM on 2 differnt usb hard drives

    I thought I had come up with a great back up plan: 1) I have one usb hard drive at work where I run TM every hour. 2) Once a week take my computer home, connect it to another usb hard drive and change TM preferences to run on that disk. 3) When I get

  • Running total and Next function in Crosstab

    <strong><font size="3"><font face="Times New Roman">Clarifications on getting Next Running sum and count on a Crosstab</font></font></strong><font face="Times New Roman" size="3"> </font> <p style="margin: 0in 0in 0pt" class="MsoNormal"><font face="T

  • Creating classification view for the material

    hi friends, i need to create a material with various views (as in MM03) based on the material type. i am using BAPI_MATERIAL_SAVEDATA for it. i am able to create almost all the views except the the classification view for the material. can anyone hel

  • Implementaion of ADS on SAP Web AS ABAP

    Dear All We have an ECC6.0 setup on Oracle Solaris as SAP Web AS ABAP only. We now want to install & configure ADS (Adobe Document Services) on it. Is it possible to do so on ABAP only system or do we need to have ABAP + Java system. In case, we can,