html - Why is there always a dash in my title tag -
in aspx page haeve
<%@ page title="sdvd" language="vb" masterpagefile="~/bannerlink/bannerlinkadmin.master" autoeventwireup="false" codefile="twilionumbers.aspx.vb" inherits="bannerlink_twilionumbers" %>
i want "sdvd" show in tab on browser. reason tab has "sdvd -" why dash there?
edit: haukurhaf asked here head area in master page
<head runat="server"> <title>liquidustv - admin</title> <link rel="shortcut icon" href="admin.ico" type="image/x-icon" /> <link rel="icon" href="admin.ico" type="image/x-icon" /> <meta content="text/html; charset=iso-8859-1" http-equiv="content-type" /> <link href="styles/admin.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" language="javascript" src="scripts/web.js"></script> <script src="../scripts/jquery-1.6.1.min.js" type="text/javascript"> </script> <script src="../scripts/jquery.mousewheel-3.0.4.pack.js" type="text/javascript"></script>
$(document).ready(function () { $(".fancy").fancybox({ 'width': 918, 'height': 700, 'autoscale': false, 'transitionin': 'none', 'transitionout': 'none', 'type': 'iframe' }); }); function openfancy(url) { $("#hidden_link").attr("href", url); $("#hidden_link").trigger('click'); return false; } </script> <style type="text/css"> #hidden_link { display: none; } </style> <asp:contentplaceholder id="head" runat="server"> </asp:contentplaceholder> </head>
the proper format think need remove runat head tag.
<head> <title runat="server" id="pagetitle"></title> </head>
in code behind can add:
pagetitle.innerhtml = "sdvd"
Comments
Post a Comment