PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WEBDEV 2024 → The font of my CSS is not carrying over once the page is displayed
The font of my CSS is not carrying over once the page is displayed
Débuté par Bill Tatton, 04 oct. 2007 10:28 - Aucune réponse
Posté le 04 octobre 2007 - 10:28
Hello,

I am creating a simple page using the Vista template. When I got to preview the page, any of the controls int he main body of the page are display with the correct CSS style. However the text in the Template Section of the page has good old Times New Roman as the font.

Here is the source that is produced inside the browser; I am noticing that there are two CSS files linked to the page. Is this the problem? If so how do I control this?

<!-- PAGE_Form 03/10/2007 14:29 WebDev 11 11.00Oza --><HTML><HEAD><TITLE>Form(Test Version)</TITLE><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">

<SCRIPT SRC="/MY_FIRST_DYNAMIC_SITE_WEB/res/StdAction.js" CHARSET="ISO-8859-1"></SCRIPT>
<SCRIPT SRC="/MY_FIRST_DYNAMIC_SITE_WEB/res/Global_Procedures_of_My_First_Dynamic_Site_Browser.js"></SCRIPT>
<SCRIPT>
var _DO_=null;var _PAGE_=null

</SCRIPT>

<LINK REL=stylesheet TYPE=text/css HREF="/MY_FIRST_DYNAMIC_SITE_WEB/My_First_Dynamic_Site.css">
<LINK REL=stylesheet TYPE=text/css HREF="/MY_FIRST_DYNAMIC_SITE_WEB/ActivVista.css">
<STYLE TYPE=text/css>.l-0{}.l-1{background-image:url(/MY_FIRST_DYNAMIC_SITE_WEB/res/ActivVista_Title01_E4EA51F0_.jpg);background-repeat:repeat-x;}.l-2{background-image:url(/MY_FIRST_DYNAMIC_SITE_WEB/res/ActivVista_ML011_F8E8070D_.jpg);}.l-3{background-image:url(/MY_FIRST_DYNAMIC_SITE_WEB/res/ActivVista_ML03_E5C23183_.jpg);background-repeat:repeat-y;}.l-4{background-image:url(/MY_FIRST_DYNAMIC_SITE_WEB/res/ActivVista_ML02_E1FB2F82_.jpg);}.l-5{background-image:url(/MY_FIRST_DYNAMIC_SITE_WEB/res/ActivVista_ML04_EF761234_.jpg);}</STYLE></HEAD><BODY topmargin=0 leftmargin=0 marginwidth=0 marginheight=0 bgcolor=#000000 onload=""><FORM NAME=PAGE_FORM ACTION=/WD110AWP/WD110Awp.exe/CTX_8112-0-XCWCLZdJWg/PAGE_Form/SYNC_13576657 target=_self METHOD=POST><SCRIPT>_DO_=((document.divform!=null)&&(document.divform.document!=null))?document.divform.document:document;_PAGE_=_DO_.PAGE_FORM</SCRIPT>
<div class=h-0><INPUT TYPE=HIDDEN NAME=WD_BUTTON_CLICK_ VALUE=M12><INPUT TYPE=HIDDEN NAME=WD_ACTION_></div><TABLE width0% height0%>
<TR><TD COLSPAN=5 widthS1><table>
<tr><td height4 widthS1 CLASS=l-1 valign=top><TABLE>
<TR><TD COLSPAN=3 HEIGHT/></TR><TR><TD ROWSPAN=2 WIDTH/><TD width%8><a name="M2" CLASS=Verdana-24>Company Name</a></TD><TD height8/>
<TR><TD width%8/><TD height/>
</TABLE><TABLE>
<TR><TD width0><table>
<tr><td height0 width0 CLASS=l-2 valign=top><TABLE>
<TR><TD COLSPAN=3 HEIGHT'/></TR><TR><TD ROWSPAN=2 WIDTH /><TD CLASS=Verdana-9-Noir valign=top id="tzM11" WIDTH0>Company Name<BR>Street<BR>Town</TD><TD heightF/>
<TR><TD width0/><TD height/>
</TABLE><TABLE>
<TR><TD ROWSPAN=2 WIDTH /><TD CLASS=Lien-verdana-8-Centre valign=middle id="tzM12" WIDTH0><a name=M12 href="javascript:_JSL(_PAGE_,'M12','_self','','')" CLASS=Lien-verdana-8-Centre ALIGN="CENTER">Contact us</a></TD><TD height/>
<TR><TD width0/><TD/>
</TABLE></td></tr></table></TD><TD height0/>
<TR class=d-0><TD width0/><TD/>
</TABLE></td></tr></table></TD><TD width0%><table width0%>
<tr><td height4 CLASS=l-1 align=right valign=top><TABLE width0%>
<TR><TD COLSPAN=3 HEIGHT=6/></TR><TR><TD ROWSPAN=2 WIDTH42/><TD CLASS=l-0 align=right valign=middle id="tzM9" WIDTH0><img src=/MY_FIRST_DYNAMIC_SITE_WEB/res/01Dev-WB10_E5FAECED_.gif width0 heightB hspace=0 vspace=0 border=0 name=M9 CLASS=l-0></TD><TD heightB/>
<TR><TD width0/><TD/>
</TABLE></td></tr></table></TD><TD height4/>
<TR><TD COLSPAN=2 ROWSPAN=3 width0 height2><table>
<tr><td height2 width0 CLASS=l-4 valign=top></td></tr></table></TD><TD ROWSPAN=5 width2><img src="/MY_FIRST_DYNAMIC_SITE_WEB/res/vide.gif" width2 height=1></TD><TD width0><img src="/MY_FIRST_DYNAMIC_SITE_WEB/res/vide.gif" width0 height=1></TD><TD ROWSPAN=5 width!9><img src="/MY_FIRST_DYNAMIC_SITE_WEB/res/vide.gif" width!9 height=1></TD><TD ROWSPAN=5 width0%/><TD heightA/>
<TR><TD CLASS=STC-9-Simple valign=top id="tzA1" width0>Test of CSS<BR></TD><TD height />
<TR><TD ROWSPAN=3 width0/><TD height1/>
<TR><TD COLSPAN=2 width0><table height0%>
<tr><td width0 CLASS=l-3 valign=top></td></tr></table></TD><TD height0%/>
<TR><TD WIDTH9><table width9 height0 CLASS=l-5 valign=top BACKGROUND="/MY_FIRST_DYNAMIC_SITE_WEB/res/ActivVista_ML04_EF761234_.jpg" id="tzM6"><tr><td><table width9>
<tr><td height0 width9 CLASS=l-5 valign=top></td></tr></table></td></tr></table></TD><TD width=1><img src="/MY_FIRST_DYNAMIC_SITE_WEB/res/vide.gif" width=1 height=1></TD><TD height0/>
<TR class=d-0><TD width9><img src="/MY_FIRST_DYNAMIC_SITE_WEB/res/vide.gif" width9 height=1></TD><TD width=1><img src="/MY_FIRST_DYNAMIC_SITE_WEB/res/vide.gif" width=1 height=1></TD><TD width2><img src="/MY_FIRST_DYNAMIC_SITE_WEB/res/vide.gif" width2 height=1></TD><TD width0><img src="/MY_FIRST_DYNAMIC_SITE_WEB/res/vide.gif" width0 height=1></TD><TD width!9><img src="/MY_FIRST_DYNAMIC_SITE_WEB/res/vide.gif" width!9 height=1></TD><TD width0%/><TD/>
</TABLE><input type="image" src="/MY_FIRST_DYNAMIC_SITE_WEB/res/vide.gif" style="float:left;height:0" onclick="" border=0 width=0 height=0>
</FORM>
</BODY></HTML><!--295230-->


I am running into all kinds of little screwy things with WebDev as far as proper rendering of the page. What I see in the WYSIWIG IDE is not what I see when the page is rendered ina browser.

In a different project I am having an issue with aligning controls on my page. This should be a simple matter. What am I doing wrong. I am new to WebDev but have been developing ASP.NET sites in VS for years.

Thanks.

Bill