Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
mmorton23 #1
How to: Inline style sheets
Hi Everyone,
Yahoo! and Hotmail do not correctly read my HTML emails. They do not
recognize my style sheet. I was told that I might have better luck if I made
my style sheet "inline". Can one of you kind people tell me how to do this?
Thanks!
mmorton23 Guest
-
Lost style sheets
Style sheets are not being seen by browsers when saved by DW. When I save a set of files with their external style sheet, browsers are not able to... -
ASP Functions & Style Sheets
Can anyone tell me if it's possible to attach style sheets to functions. <% Function answerTypeA(A) If A = 1 then A = 'Never' elseIf A = 2 then ... -
Style Sheets and Transitions
I am not sure this is an appropriate question here, but I am using CSS to basically change an element on the screen based on a "timer" I would like... -
Cascading Style Sheets
Hi, I am writing a web based application in VB.Net. A lot of the forms in the applicaiotn have grids (datagrids) in them. I would like to have... -
Style Sheets
Can anyone tell me what a good dreamweaver book is on learning CSS? What do's and don'ts can you advise me in? Kelly -
rilkesf #2
Re: How to: Inline style sheets
Inline stylesheets just means that the style is declared within the html
element itself rather than in the <head> of the document or in a separate .css
file. For example:
<p style="color: #000000; font-size: 10px;">
Some text
</p>
The only problem with this is that the 'cascading' aspect of CSS is lost and
you have to create an inline style for every element you want styled.
rilkesf Guest
-
-
rilkesf #4
Re: How to: Inline style sheets
For Verdana it would be:
<p style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif;">
Text
</p>
You don't have to include the 'Arial, Helvetica, sans-serif' part. Basically
that just tells the browser what to use (in that order) if Verdana is not
available.
A good resource for you might be:
[url]http://www.w3schools.com/css/css_font.asp[/url]
It lists the various .css properties for manipulating fonts.
rilkesf Guest
-
mmorton23 #5
Re: How to: Inline style sheets
Thanks Again!
You have been a big help!
mmorton23 Guest
-
-
brettcristofer #7
Re: How to: Inline style sheets
The biggest misery is that some email software programs slice your precious
code into their overly elaborate and inscrutable HTML formats and CSS styles.
By far the greatest challenge is that people use many different software tools
to read their email, from Eudora to Outlook, AOL to Thunderbird, LotusNotes to
Web-based services such as Yahoo! and Hotmail.
Worse, Webmail services like Hotmail use CSS stylesheets that overwrite the
styles you use in your HTML email newsletter, messing up your design.
Found at [url]http://www.sitepoint.com/article/code-html-email-newsletters[/url]
brettcristofer Guest
-
mmorton23 #8
Re: How to: Inline style sheets
Originally posted by: rilkesf
For Verdana it would be:
<p style="color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif;">
Text
</p>
You don't have to include the 'Arial, Helvetica, sans-serif' part. Basically
that just tells the browser what to use (in that order) if Verdana is not
available.
A good resource for you might be:
[url]http://www.w3schools.com/css/css_font.asp[/url]
It lists the various .css properties for manipulating fonts.
It seems that the very beginning of the code <p style seems to add a line
break. Is there a way to implement the code without this line break?
mmorton23 Guest
-
rilkesf #9
Re: How to: Inline style sheets
<p> creates a new paragraph, hence the line break. If you want to achieve the same effect without a line break, try using <span style= ... > your text here </span>
rilkesf Guest
-
mmorton23 #10
Re: How to: Inline style sheets
Thank you again rilkesf. You've been a great help!
mmorton23 Guest
-
-
rob::db #12
Re: How to: Inline style sheets
That's a really useful resource, thanks.
> Found at [url]http://www.sitepoint.com/article/code-html-email-newsletters[/url]
rob::db Guest



Reply With Quote

