Here Goes Nuthin

  • Thread starter OHM \( Terry Burns \)
  • Start date
O

OHM \( Terry Burns \)

This is my example, the styles do not appear in the style selector unless
you embedd them in the DWT ??, this is probably something I did wrong
stupidly here, but any help you can suggest would be good.

Regards - Terry

/STYLES ( GSWNStyleSheet.css )
span.SectionHeading { font-family: Arial; font-size: 12pt; color: #000080;
font-weight: bold; }
..WelcomeText { font-family: Arial; font-size: 10pt }
..BodyText { font-family: Arial; font-size: 10pt;margin-top:15pt }
Body { margin-top: 10pt }
..StaffName { font-family: Arial; font-size: 11pt; }
..TableSections { font-family: Arial; font-size: 12pt; font-weight:bold;
color:black}

SectionHeading { font-family: Arial; font-size: 12pt; color: #000080;
font-weight: bold; }



/DWT
OK#<html>
<link type=text/css href="Style%20Sheets/GSWNStyleSheet.css">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<!-- #BeginEditable "doctitle" -->
<title>New Page 1</title>
<!-- #EndEditable -->

</head>

<body>
<table border="0" width="100%" id="table1" height="101">
<tr>
<td bgcolor="#C0C0C0" valign="top">
<h1 style="margin-top: 3px; margin-bottom: 0">GreatSolutionsWith.NET</h1>
</td>
</tr>
</table>
<!-- #BeginEditable "Header" -->

<script type="text/javascript" src='menus\milonic_src.js'></script>
<script type="text/javascript" src='menus\mmenudom.js'></script>
<script type="text/javascript" src='menus\menu_data.js'></script>
<!-- #EndEditable -->
<!-- #BeginEditable "Content" -->
<p>(Content)</p>
<!-- #EndEditable -->

</body>

</html>

//INHERITING PAGE
<html>

<!-- #BeginTemplate "header.dwt" -->
<link type=text/css href="Style%20Sheets/GSWNStyleSheet.css">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<!-- #BeginEditable "doctitle" -->
<title>GreatSolutionsWith</title>
<!-- #EndEditable -->

</head>




<body>
<table border="0" width="100%" id="table1" height="101">
<tr>
<td bgcolor="#C0C0C0" valign="top">
<h1 style="margin-top: 3px; margin-bottom: 0">GreatSolutionsWith.NET</h1>
</td>
</tr>
</table>
<!-- #BeginEditable "Header" -->

<script type="text/javascript" src='menus\milonic_src.js'></script>
<script type="text/javascript" src='menus\mmenudom.js'></script>
<script type="text/javascript" src='menus\menu_data.js'></script>
<!-- #EndEditable -->
<!-- #BeginEditable "Content" -->

<p>(Content)</p>
<!-- #EndEditable -->

</body>

<!-- #EndTemplate -->

</html>




--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
--
 
R

Ronx

Change the code in the DWT to:

<html>
<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<!-- #BeginEditable "doctitle" -->
<title>New Page 1</title>
<!-- #EndEditable -->
<link type=text/css href="Style%20Sheets/GSWNStyleSheet.css">
</head>

<body>
etc

Apply the DWT to the new page, then the styles should appear in the style
selector.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top