473,563 Members | 2,668 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

stylesheet, themes & VS

Hi all,
I've got a stylesheet defining 3-column layout using CSS stylesheet. I used
to define this stylesheet this way:
<link href="Whatever/Style.css" rel="stylesheet " type="text/css" /> and in
HTML I use <div> tags with appropriate class name.

Now I decided to use Themes.In my App_Themes folder I created a new Theme
"Default". I put stylesheet Style.css in it, and I also add <pages
theme="Default"/> into web.config to use this Default theme. When I run the
web, everything works pretty well, ASP.NET server puts the <link
href="App_Theme s/Default/Style.css" rel="stylesheet " type="text/css" /> into
header as I expected.

But in Visual Studio, there are no columns, it's like flow layout. Designer
seems that has no info about used classes. It's a little confusing, because
you don't see real layout while you design pages. Do I something wrong? Or
missing something? Or just didn't understand?

Thank you for any help.
Best Regards,
Robert
Dec 13 '05 #1
0 1055

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1315
by: RichardF | last post by:
Can anyone get themes to work in asp.net 2.0? The page I have below always looks exactly the same whether I leave out the Theme directive, or whatever valid value I put for the Theme. If I put an invalid value (like XXX), then I get build errors. Any ideas?
7
3484
by: sasquatch | last post by:
Hi, I've a a site with nested master pages and content pages. I tried using a theme with a stylesheet in the app_themes directory referencing it in the web.config file from a pages tag theme attribute. This works for the content pages, but it doesn't seem able to apply the styles to the top master page even though I did set the master head...
5
1958
by: Sol | last post by:
Hi Guys, I'm looking for some advice / guidelines on using Themes with an application I am working on. The application needs to allow people to customize the appearance utilizing what I would consider to be a Themeing and Skinning mechanism. What is critical is that this should be as flexible as possible. What I would like to do is use...
0
1722
by: Emil Christopher Melar | last post by:
I wanted to use App_Theme, because then I might have some automation when it comes to not hard coding paths for the css. And as you know, you know that mozilla and IE renders differently, and they require different style sheets: Solution is as follows: <link rel="stylesheet" href="default.css" type="text/css" media="all" title="Default...
1
1176
by: Mr Flibble | last post by:
I want my site to host a Default.aspx and a Default2.aspx page with one page being rendered using Stylesheet1.css and the other using Stylesheet2.css. So far I've just copied Default into Default2 (cut and paste) but this is crap because every time I need to change my site I will need to make the changes to both Default and Default2 which are...
2
6950
by: SR | last post by:
I have started a web site using ASP.NET 2.0. I would like to centralize all of my classes in a StyleSheet but I cannot figure out how to link the StyleSheet to a Content Page since there is no header. I tried to put the link tag in the Master page, but the classes are not recognized in the Content Page. How do I use a StyleSheet with the...
0
1004
by: =?Utf-8?B?TUI=?= | last post by:
I have an ASP.NET 2.0 web app where I have implemented the use of themes and profiles, such that users can select themes via their profile, and admins can modify the css of the themes. All good and well. However... I regularly need to be able to inspect the values of css rules that will be applied by the theme selected, as sometimes I...
2
1577
by: Clint Chapman | last post by:
When I look at the source html generated from my asp, the links for the css in my theme are duplicated to include files in the _vti_cnf. <link href="../../App_Themes/MainTheme/_vti_cnf/StyleSheet.css" type="text/css" rel="stylesheet" /> <link href="../../App_Themes/MainTheme/StyleSheet.css" type="text/css" rel="stylesheet" /> I've had...
6
2543
by: _Who | last post by:
I use the code below to change to a style sheet that has: body { ....
0
7583
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
1
7638
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6250
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3642
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2082
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1198
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
923
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.