CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

MS SQL 2008 on ASP.NET Hosting



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 6/26/2006 4:43:17 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 24 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
AdamKadmon
Asp.Net User
Master Page, CSS not affecting page outside of IDE6/26/2006 4:43:17 PM

0/0

Hi there All!  I have been playing with this as well as looking within this site for the solution for a while and have come up with nothing that resolves this issue.  I first noticed it while using the CSK and other downloadable Startup Kits.  When I got to the point of rearranging and setting color/font/presentation prefs in the CSS, the changes would only be present in the Design View within the IDE.  Not a single change passed from that to the post-compilation state.  After noticing this behaviour, I tested the same with a "from scratch" simple Master Page site with nothing but a background color and header with the date/time.  Same thing: when I set the background color in the style sheet, it changes it within the IDE but not once the site is built and browsed to.  A point of note is that I have tried setting the stylesheet with a <link> in the head of the .master as well as the <pages> directive in the web.config each with the same aforementioned result.

Any ideas?

AK

rajivpopat
Asp.Net User
Re: Master Page, CSS not affecting page outside of IDE7/1/2006 9:52:47 PM

0/0

I'm sure this is an implementation issue. Here's the quick code you might want to double check with:

Code in Master Page:

<head runat="server">

    <title>Testing Page</title>

   <link rel="stylesheet" href="StyleSheet.css" type="text/css" />

</head>

The CSS Code:

body

{

      background-color:Red;

}

 

If you want to use the Pages Directive you should have a Theme build and then you can use:


<

pages styleSheetTheme="Theme1"></pages>

Assuming that App_Theme folder of your web Application contains a Theme1 folder which holds the CSS.

I've personally used both apporaches in past and they've worked fine. So, I am thinking there might be something wrong with the code...

If you post your code here others / I might be able to take a look at it and help you.

Cheers,
Me.

2 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
VS 2008 Nested Master Page Support - ScottGu's Blog Notice above how we not only get WYSIWYG support for pages built using nested master ..... Step by Step on creating Nested Master Page from an existing CSS ...
How to Create a SharePoint Server 2007 Custom Master Page and Page ... There are multiple ways to create a custom master page and page layouts, including the CSS, and then deploy your work. Each approach has benefits and ...
Good use of a Literal Control - NoodlePad 4) After this is completed, you will then open your master page (if not already done by the IDE) and add two content place holders, to give you a total of ...
How using update panel with multiple content pages and single ... My problem is its affect master page.Please give me any idea or give any useful link for Multiple ... You may not post new threads. You may not post replies ...
Brian Goldfarb's Blog : What would you want out of Master Page ... These layouts would be simple Master page files using CSS to control the .... why not build a better color/palette selector into the IDE so people can ...
Inside Microsoft: Site Design in ASP.NET v2 – a look at Master Pages Once you have a master page for a site, adding content pages (pages that are ..... of a page using themes, css and skin files without affecting the content. ...
.NET ASP Page 50 - Bytes Site Map Access Console Application from Managed Code · Master page and CSS link strange problem. Custom validation not working when Javascript moved to external ...
Tushar Agarwal Software Development Sear - Blog Toplist A: A Sitemap does not affect the actual ranking of your pages. .... NET master page support at design-time ? Rich CSS editing and layout support within the ...
TheMSsForum.com >> Asp >> MasterPage subdirectory and ResolveUrl ... Tag: MasterPage subdirectory and ResolveUrl - not working correctly Tag: 487320 ..... a Label within that panel and a Button outside the panel. ...
Site details: Tushar Agarwal Software Development Search Engine ... A: A Sitemap does not affect the actual ranking of your pages.Q: If I set all of my pages to .... NET master page support at design-ti Google Local Search ...




Search This Site:










edit the sitemap file in code?

accessing theme property outside of a webapp

master page problems using javascript

staticsitemapprovider caching problem

custom xml sitemap provider in wss3

communication master <==> page

howto control menu items max display level per parent item basis

page works w/o masterpage, but when masterpage is used nothing happens.

sitemap.currentnode error in sitemapresolve

creating xml document for treeview and menu control

jumbled controls on master page

regarding sitemap root node problem

treeview - selectednodechanged event never fired

sidebar and content area layout problem

how to create a "loading" page content page

format html source emitted by htmllink class

need help on creating a dynamic page. - we use master pages and this is how i am trying to accomplish it.

adding javascript in content page

how to get the sub menu item can show over image elements?

menu form

how to assign ascx controls to contentplace holders in a masterpage

how to access unrestricted pages under masterpage?

web.sitemap help!!!???

frames to master page

delete node from sitemap

treeview isn't updated from xmldatasource

treeview in masterpage

sitemap structure help

rendering a control after a postback

javascipt document.getelementbyid() problem using masterpage

  Privacy | Contact Us
All Times Are GMT