![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I can make a page using a style sheet, no problem there. However, if I make an email and send it out to my list, Yahoo & Hotmail totally ignore the style tags. |
|
Say for example I have the following ID's defined in my style sheet, how can I use them inlinwe, I'm not sure of the syntax and such: |
#3
| |||
| |||
|
|
Instead you should put all the CSS within the 'style' attribute of the element you want formatted. |
#4
| ||||
| ||||
|
|
I never use stylsheets in my HTML-mailings. Instead, I use plain old-fashioned HTML (font-tags and such). So, I wonder: what is the best solution inline CSS or HTML? |
|
BTW: This is my first post in this newsgroup. |
|
I am a sitebuilder from Tilburg, The Netherlands working for www.sebastian.nl |
|
weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html | webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html | zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html | `-------------------------------------------------- --<--@ ------------' |
#5
| |||
| |||
|
|
On Wed, 10 Aug 2005 09:43:22 +0200, 'sNiek <n.emmen (AT) sebastian (DOT) nl> wrote: I never use stylsheets in my HTML-mailings. Instead, I use plain old-fashioned HTML (font-tags and such). So, I wonder: what is the best solution inline CSS or HTML? Neither. HTML you should use for markup only. Analyse the content you're about to offer and mark it up with some meaning to it. A heading is a heading, a paragraph is a paragraph, a list is a list and so on. Once you've done that, style your pages with CSS using a (external) stylesheet. |
#6
| |||
| |||
|
|
Barbara de Zoete wrote: On Wed, 10 Aug 2005 09:43:22 +0200, 'sNiek <n.emmen (AT) sebastian (DOT) nl> wrote: I never use stylsheets in my HTML-mailings. Instead, I use plain old-fashioned HTML (font-tags and such). So, I wonder: what is the best solution inline CSS or HTML? Neither. HTML you should use for markup only. Analyse the content you're about to offer and mark it up with some meaning to it. A heading is a heading, a paragraph is a paragraph, a list is a list and so on. Once you've done that, style your pages with CSS using a (external) stylesheet. Barbara, Niek is talking about mailings, not sites ;-) |
|
weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html | webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html | zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html | `-------------------------------------------------- --<--@ ------------' |
#7
| |||
| |||
|
|
BTW: This is my first post in this newsgroup. |
#8
| ||||
| ||||
|
|
On Wed, 10 Aug 2005 10:14:00 +0200, Els <els.aNOSPAM (AT) tiscali (DOT) nl> wrote: Barbara de Zoete wrote: On Wed, 10 Aug 2005 09:43:22 +0200, 'sNiek <n.emmen (AT) sebastian (DOT) nl> wrote: I never use stylsheets in my HTML-mailings. Instead, I use plain old-fashioned HTML (font-tags and such). So, I wonder: what is the best solution inline CSS or HTML? Neither. HTML you should use for markup only. Analyse the content you're about to offer and mark it up with some meaning to it. A heading is a heading, a paragraph is a paragraph, a list is a list and so on. Once you've done that, style your pages with CSS using a (external) stylesheet. Barbara, Niek is talking about mailings, not sites ;-) Ah, with his use of html message I couldn't read the font very well, |
|
misread that bid. In that case a stylesheet in the head of the template should be a good option. |
|
The very best option would be not to use html for any kind of e-mail of course, |
|
but that is probably only achievable in that perfect world I live in. |
#9
| ||||
| ||||
|
|
Barbara de Zoete wrote: |
|
In that case a stylesheet in the head of the template should be a good option. If that would work, but CSS styles in HTML mail aren't as reliable as you would expect. I've tried it once, and some very basic styles just didn't work. |
|
The very best option would be not to use html for any kind of e-mail of course, Yup, agreed :-) but that is probably only achievable in that perfect world I live in. If you see HTML postings as HTML postings, your world is less perfect than mine! :P |
|
weblog | http://home.wanadoo.nl/b.de.zoete/_private/weblog.html | webontwerp | http://home.wanadoo.nl/b.de.zoete/html/webontwerp.html | zweefvliegen | http://home.wanadoo.nl/b.de.zoete/html/vliegen.html | `-------------------------------------------------- --<--@ ------------' |
#10
| |||
| |||
|
|
On Wed, 10 Aug 2005 10:14:00 +0200, Els <els.aNOSPAM (AT) tiscali (DOT) nl> wrote: Barbara, Niek is talking about mailings, not sites ;-) [...] The very best option would be not to use html for any kind of e-mail of course, but that is probably only achievable in that perfect world I live in. |
![]() |
| Thread Tools | |
| Display Modes | |
| |