I found some stylesheets for making tables with rounded corners.
Everything seems to work well (except in Internet Explorer, of course, but that is no big surprise) but I have one problem:
In the HTML code, within the <head></head> tags, there is obviously a reference to the CSS that goes with the HTML code, and the code looks like this:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> <link href="css/curvedCorners-finished.css" rel="stylesheet" type="text/css" /> </head> <body> ...... (rest of the HTML code)
As you can see, the CSS code is not written in the same page, but is called with
<link href="css/curvedCorners-finished.css" rel="stylesheet" type="text/css" />
That is fine for using in a webpage, where you have the CSS code in a folder on your server, but what I would like to know is:
How can I integrate the CSS code in that same page?
The reason I ask is: I am trying to use that code in a newsletter, which I send as a HTML email, so I don't really see how I can refer to that folder, or should I just attach it to the email?
I tried the following:
I changed
<link href="css/curvedCorners-finished.css" rel="stylesheet" type="text/css" />[/quote] to [quote]<style type="text/css" /> relevant CSS </style>but when I previewed the page that did not work.
So, is there a way of integrating the CSS code into the same page as the HTML, and if so, how do I do that?
If not, how can I make the correct style appear in my email?
All advice will be very much appreciated.
Edited by moderator, 22 May 2012 - 10:52 AM.


















