Click here to Skip to main content
15,887,746 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: how to do that??!!! Pin
Yajjoj29-Aug-09 23:03
Yajjoj29-Aug-09 23:03 
AnswerRe: how to do that??!!! Pin
Abhijit Jana28-Aug-09 23:36
professionalAbhijit Jana28-Aug-09 23:36 
GeneralRe: how to do that??!!! Pin
Yajjoj28-Aug-09 23:47
Yajjoj28-Aug-09 23:47 
GeneralRe: how to do that??!!! Pin
Abhijit Jana28-Aug-09 23:49
professionalAbhijit Jana28-Aug-09 23:49 
GeneralRe: how to do that??!!! Pin
Yajjoj28-Aug-09 23:59
Yajjoj28-Aug-09 23:59 
AnswerRe: how to do that??!!! Pin
sashidhar30-Aug-09 18:25
sashidhar30-Aug-09 18:25 
GeneralRe: how to do that??!!! Pin
Yajjoj30-Aug-09 21:36
Yajjoj30-Aug-09 21:36 
QuestionChanges in css file do not apply to the page Pin
Chesnokov Yuriy28-Aug-09 21:40
professionalChesnokov Yuriy28-Aug-09 21:40 
There is some Default.css file I linked to my web project.

The styles are applied normally and look as they should, but when I add new style to css file or change existing one (.button-css), they only take place in design view, but not when the page is being run.

However the styles defined in head section (.button-local) are applied as they should during design and run time.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="GenderAge._Default" %>

<!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 runat="server">
    <title>Default page</title>
    <link href="App_Themes/Default/Default.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
        .button-local 
        {
	        height:24px;
	        margin:0px;
	        padding:0px 0px 0px 0px;
	        margin:0px 0px 0px 0px;
	        font-size:15px;
	        font-family:Verdana, Arial, Helvetica, sans-serif;
	        color:#FF00FF;
	    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>normal button<asp:Button ID="Button1" runat="server" CssClass="button-local" 
            Text="Button1" />
    </div>
    <div>wierd button<asp:Button ID="Button2" runat="server" CssClass="button-css" 
            Text="Button2" />
    </div>
    </form>
</body>
</html>


Чесноков

AnswerRe: Changes in css file do not apply to the page Pin
Arindam Sinha29-Aug-09 1:13
Arindam Sinha29-Aug-09 1:13 
AnswerRe: Changes in css file do not apply to the page Pin
Chesnokov Yuriy29-Aug-09 6:34
professionalChesnokov Yuriy29-Aug-09 6:34 
GeneralRe: Changes in css file do not apply to the page Pin
Arindam Sinha29-Aug-09 6:57
Arindam Sinha29-Aug-09 6:57 
GeneralRe: Changes in css file do not apply to the page Pin
Chesnokov Yuriy29-Aug-09 7:16
professionalChesnokov Yuriy29-Aug-09 7:16 
AnswerRe: Changes in css file do not apply to the page Pin
Chesnokov Yuriy29-Aug-09 7:29
professionalChesnokov Yuriy29-Aug-09 7:29 
AnswerRe: Changes in css file do not apply to the page Pin
Yajjoj29-Aug-09 23:06
Yajjoj29-Aug-09 23:06 
AnswerRe: Changes in css file do not apply to the page Pin
Chesnokov Yuriy29-Aug-09 23:16
professionalChesnokov Yuriy29-Aug-09 23:16 
AnswerRe: Changes in css file do not apply to the page Pin
sashidhar30-Aug-09 19:56
sashidhar30-Aug-09 19:56 
AnswerRe: Changes in css file do not apply to the page Pin
Chesnokov Yuriy30-Aug-09 20:26
professionalChesnokov Yuriy30-Aug-09 20:26 
GeneralRe: Changes in css file do not apply to the page Pin
sashidhar30-Aug-09 20:38
sashidhar30-Aug-09 20:38 
Questiondebug Pin
Ramkumar_S28-Aug-09 21:07
Ramkumar_S28-Aug-09 21:07 
AnswerRe: debug Pin
Arindam Sinha28-Aug-09 21:25
Arindam Sinha28-Aug-09 21:25 
GeneralRe: debug Pin
Ramkumar_S28-Aug-09 22:45
Ramkumar_S28-Aug-09 22:45 
GeneralRe: debug Pin
Arindam Sinha29-Aug-09 0:40
Arindam Sinha29-Aug-09 0:40 
GeneralRe: debug Pin
Ramkumar_S29-Aug-09 1:43
Ramkumar_S29-Aug-09 1:43 
GeneralRe: debug Pin
Arindam Sinha29-Aug-09 1:53
Arindam Sinha29-Aug-09 1:53 
QuestionPlease help - ReportViewer for pie chart with oracle DB Pin
kamlakar28-Aug-09 20:36
kamlakar28-Aug-09 20:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.