Web Analytics Made Easy -
StatCounter Fixing Body Properties - CodingForum

Announcement

Collapse
No announcement yet.

Fixing Body Properties

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Fixing Body Properties

    Hi guys,

    I'm building a mail viewer the only problem being that when a message is displayed if it's in HTML format or has CSS in it and has alternate <BODY> properties it overrides properties i've set and so essentially ****s up the whole display.

    I've tried both standard body tags and CSS tags but it still does it, is there any way i can stop this from happening?

    James

  • #2
    Guess you would need to strip the CSS using some server side language. Not sure how you could do that though.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

    Comment


    • #3
      Guess you could work out if the mail was html or text, and if it is html, provide a link to open it in a new window?
      markaylward.co.uk

      Comment


      • #4
        Problem with both of those is that because it's mixed content ie some is mime data, some is in the form of attachments and so on it's complicated to strip the unwanted stuff out of it, i spose if it comes to it i could do a CSS elimination script but if there is a quicker solution i'd rather take it.

        James

        Comment

        Working...
        X