Click here to Skip to main content
15,904,156 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a Website Folder on my pc ,It is a Static Website designed by DreamWaever
The Site contain Style Sheet.CSS which contain class of (.TableDesign)

1-When i double click on index.html(without running any program ) ... Site work without the Applying of Class (.TableDesign) in Stylesheet.CSS

2- if i open index.html by DreamWaever , Site WOrk perfectly with Applying all classes of style sheet including (.TableDesign)

3-if i open ASP.Net and run the application , the same in case(1) happened .

I need to using ASP.net because I have to make one dynamic page ,therefor , i need to know why class of (.TableDesign) dont work with ASP.Net


Hint : I Checked Location of style sheet.Css and i make sure of it's correcting path



Thanx
Posted
Comments
Manfred Rudolf Bihy 13-Apr-11 16:59pm    
Please show the relevant part of your index.html where the CSS is included. I suspect that Dreamweaver has some sort of server side include magic going on.
In your html sample please focus us on where your CSS is referenced.
Hercal 13-Apr-11 17:04pm    
<title> Home Page </title>
<link href="style.css" rel="stylesheet" type="text/css" />

But if the problem in the path of style.css , How this Worked with DreamWaever

Thanx Manfred
Manfred Rudolf Bihy 13-Apr-11 17:34pm    
I only caught your response by accident. If you want me to get notified you have to reply to my comment on your answer. If you reply to a solution it depends on whom you want to get notified. Is it only the solution provider it suffices to add a comment to the solution. Is it somebody who replied to a solution in a thread you'd have to reply to that comment.

Hope I explained it well enough. :)
Hercal 13-Apr-11 17:36pm    
Manafred , The problem was Solved but i dont know till now the reason
may be Border-Style !!!!

To resolve your issue do the following:
IE: Open "Developer Tools"
FF: Open FireBug

Mark the element that you know has been styled via .TableDesign and inspect what the actual CSS style information is that is attached to that element. If you have never before used these tools I urgently suggest that you research these tools as they give you valuable information of what is going on in your browser.

Best Regards,

-MRB
 
Share this answer
 
Comments
Hercal 13-Apr-11 17:48pm    
WoooooooooooooooooooW
Amazing TooooooooooooL

Thank u Man :) :)
Manfred Rudolf Bihy 13-Apr-11 18:13pm    
"FireBug" or "Developer Tools"? I find them both very useful.
I hope it helps you clear up what exactly is happening in your case!
:)
The way you specified the path implies to me that the CSS file is in the same directory as the index.html if that is the case I'd make the path read like this:

XML
<title> Home Page </title>
<link href="./style.css" rel="stylesheet" type="text/css" />


The "dot slash" (./) in front of the path means same directory the current file is in.

Does that help?

Cheers!
 
Share this answer
 
Comments
Hercal 13-Apr-11 17:34pm    
No man the (./) is not the problem Because :


The TableDesign class in dreamwaever wich worked

.TableDesign {
border-top-width: 5px;
border-right-width: 5px;
border-bottom-width: 5px;
border-left-width: 5px;
border-top-color: #666;
border-right-color: #666;
border-bottom-color: #666;
border-left-color: #666;
}

it worked in Dreaamwaever not in asp.net

when i change it to

.TableDesign
{
border-style: groove;
border-color: #FFFF99;
border-top-width: 5px;
border-right-width: 5px;
border-bottom-width: 5px;
border-left-width: 5px;
}

it worked perfectly in ASP.net

AnyBody Know Whyyyyyyyyyyyyyyyyyyyyyyy?????????????
Asp.net Intelisence much more strong then Dreamwaever.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900