cofactor
03-08-2006, 05:38 AM
hi,
i have made a CSS in my DreamWeaver MX 2004 IDE.
i found that the CSS is getting created in the page itself.
here is the autogenerated CSS in my DreamWeaver IDE
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
.trcolor1 {
background-color: #003366;
}
.trcolor2 {
background-color: #CCCCCC;
}
-->
</style>
</head>
..............
...............
..............
more code
i dont like to keep the CSS in my page. i want to keep it in a seperate file (say, mycss.css) .
Then i want to import the CSS file to my webpage.
Does DReaweaver can do import/export of CSS ?
i tried File>Export>CSS styles in DreamWeaver....this produced a file "mycss.css"
this file has the content
.trcolor1 {
background-color: #003366;
}
.trcolor2 {
background-color: #CCCCCC;
}
Now say, i want to use this CSS in another webpage . how can i import it through DreamWeaver ?
i tried File>Import> ????? but CSS option is not coming here.
so, how do i import the external CSS file into my webpage in DreamWeaver ?
can you help please.
Thank you
i have made a CSS in my DreamWeaver MX 2004 IDE.
i found that the CSS is getting created in the page itself.
here is the autogenerated CSS in my DreamWeaver IDE
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
<style type="text/css">
<!--
.trcolor1 {
background-color: #003366;
}
.trcolor2 {
background-color: #CCCCCC;
}
-->
</style>
</head>
..............
...............
..............
more code
i dont like to keep the CSS in my page. i want to keep it in a seperate file (say, mycss.css) .
Then i want to import the CSS file to my webpage.
Does DReaweaver can do import/export of CSS ?
i tried File>Export>CSS styles in DreamWeaver....this produced a file "mycss.css"
this file has the content
.trcolor1 {
background-color: #003366;
}
.trcolor2 {
background-color: #CCCCCC;
}
Now say, i want to use this CSS in another webpage . how can i import it through DreamWeaver ?
i tried File>Import> ????? but CSS option is not coming here.
so, how do i import the external CSS file into my webpage in DreamWeaver ?
can you help please.
Thank you