Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2007

Tip: Looking for answers? Try searching our database.

CSS Files

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Barry - 29 Jun 2007 11:05 GMT
Hi

I am updating a website downloaded from Microsoft, in the aspx files there
are controls having referance to cssclass but there are no css files in the
project, have i missed something or has MS done away with css files

eg
<asp:TextBox Width="500px" Text='<%# Bind("Title") %>' runat="server"
ID="TitleTextBox" CssClass="post_title"
         MaxLength="50"></asp:TextBox>

TIA
Barry
Kevin Spencer - 29 Jun 2007 13:24 GMT
You've missed something.

First, you didn't say where you "downloaded a website" from, other than
"Microsoft," so we have no idea where you got what you're posting, and
therefore, have no way of finding out what the reference to a CssClass might
have come from or referred to.

Here's a tip: Pretend we are all total strangers (a safe bet) and that we
know nothing about your situation (another safe bet). Tell us anything that
might contribute to finding out the nature of the problem. In this case, you
say that "there are no css files in the project." What project? Where did
you get it from? Saying "Microsoft" is like saying you got a book from the
Library of Congress. Be as specific and detailed as possible.

Solving any problem or puzzle is basically the same process that is used to
solve mathematical problems. Without certain data, the problem cannot be
solved. Example:

X + Y = 100.
Y is a number between -50.333 and 50.666.
What is the value of X?

Signature

HTH,

Kevin Spencer
Microsoft MVP

Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net

> Hi
>
[quoted text clipped - 9 lines]
> TIA
> Barry
Göran Andersson - 01 Jul 2007 15:24 GMT
> Hi
>
[quoted text clipped - 6 lines]
> ID="TitleTextBox" CssClass="post_title"
>           MaxLength="50"></asp:TextBox>

Css styles can also be placed in a style tag in the page, so there
doesn't need to be any css file.

If there are no style tag in the page, look for a link tag that
references a css file. If there is no link tag either, the CssClass
property is probably just something that was accidentally left in the code.

Signature

Göran Andersson
_____
http://www.guffa.com

Barry - 03 Jul 2007 13:33 GMT
Hi

I found that there are some files named "default.css" in "App_Themes"
folder, changes to these files reflects on the pages.

Barry

>> Hi
>>
[quoted text clipped - 14 lines]
> a css file. If there is no link tag either, the CssClass property is
> probably just something that was accidentally left in the code.
Göran Andersson - 05 Jul 2007 08:25 GMT
> Hi
>
> I found that there are some files named "default.css" in "App_Themes"
> folder, changes to these files reflects on the pages.
>
> Barry

Yes. If you examine the generated html code in the pages, you see that
there are link tags to these files.

Signature

Göran Andersson
_____
http://www.guffa.com


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.