CodeVerge.Net Beta


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

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > general_asp.net.master_pages_themes_and_navigation_controls Tags:
Item Type: NewsGroup Date Entered: 4/24/2007 4:42:02 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 2 Views: 19 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
3 Items, 1 Pages 1 |< << Go >> >|
karang
Asp.Net User
problem in master pages4/24/2007 4:42:02 AM

0/0

Hi I am using master pages in asp.net 2.0

 

In the content placeholder I have inserted the contents of the page(Test.aspx)

 

In Test.aspx I have

"<asp:Content "

I have inserted style sheet .

 

When I want to switch to the design mode it is giving me a alert saying

 

"Element style cannot be nested within element "

even I am putting style outside table

 

please advice

 

schuminator
Asp.Net User
Re: problem in master pages4/24/2007 5:41:14 AM

0/0

hmm, I'm not sure I *completely* understand your problem, but I assume you're trying to use a CSS stylesheet for your site?
This can be done on the MasterPage file, and not on the "content" pages.

Just put
<link rel="stylesheet" type="text/css" href="<url to file>" />
inside the <head runat="server"> tag on the MasterPage.master file

That way, your styles will be available to all pages that use the MasterPage file and not just your "Test.aspx" page

Zhao Ji Ma - MS
Asp.Net User
Re: problem in master pages4/27/2007 3:39:32 AM

0/0

Hi,

The styles should be put in the master page as chuminator said.

And here is a link I found. Please check this for more details.

Hope it helps.

This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


 


Zhao Ji Ma
Sincerely,
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
3 Items, 1 Pages 1 |< << Go >> >|


Free Download:

Books:
XML in a Nutshell: A Desktop Quick Reference Authors: Elliotte Rusty Harold, W. Scott Means, Pages: 689, Published: 2004
ASP.NET 2.0 Cookbook Authors: Michael A. Kittel, Geoffrey T. LeBlond, Pages: 989, Published: 2005
Programming ASP.NET: Building Web Applications and Services with ASP.NET 2.0 Authors: Jesse Liberty, Dan Hurwitz, Pages: 930, Published: 2005
UNIX in a Nutshell: System V Edition : Revised and Expanded for SVR4 and Solaris 2.0 : a Desktop Quick Reference Authors: Daniel Gilly, O'Reilly & Associates, Pages: 314, Published: 1994
New Complete Guide to Sewing: Step-By-Step Techniques for Making Clothes and Home Accessories Authors: Robert Dolezal, Reader's Digest Association, Reader's Digest, Reader's Digest Association (Canada), Pages: 384, Published: 2002
Professional ASP.NET 2.0 Design: CSS, Themes, and Master Pages Authors: Jacob J. Sanford, Pages: 474, Published: 2007

Web:
ASP.Net 2.0 - Master Pages: Tips, Tricks, and Traps Apr 11, 2006 ... This article will highlight the common problems developers face with master pages, and provide tips and tricks to use master pages to their ...
Joe Coder: Why serious web developers can't use Master Pages Another problem with Master Pages is that for every submit , the entire page gets rebuilt. If the design divides the Web Page into Navigation Menu section ...
Master Pages: Master Your Site Design with Visual Inheritance and ... This is precisely the problem that Master Pages in ASP.NET 2.0 solve simply and cleanly. By defining one Master Page and then creating many Content Pages ...
Problem with master pages contentplacerholders and panels - ASP ... Problem with master pages contentplacerholders and panels. Last post 10-05-2008 10:59 PM by Amanda Wang - MSFT. 2 replies. Sort Posts: ...
problems with master pages in 7.2 problems with master pages in 7.2. Rene Stephenson rinnie1 at yahoo.com Wed Feb 21 17:00:20 MST 2007. Previous message: problems with master pages in 7.2 ...
Master Pages and Web Application Project problems « Grant Holliday Yes it is an annoying problem. Another feature U would like is to be able to hide all the master page content (as some master pages can be quite complicated ...
Another problem with master pages & asp.net 2.0 - Spring Framework ... I'm trying to use spring's master pages with asp.net 2.0. I had problem with unaccessible property Master of pages. ...
The DOCTYPE tag and SharePoint Master Pages I've created my own minimal master page and started styling it up. I'm finding another problem when including the doctype on my master pages. ...
Problem with Master Pages and controls functionality (like atlas ... Problem with Master Pages and controls functionality (like atlas, rater control… ) While working through a website using master pages and content ...
VS 2008 Nested Master Page Support - ScottGu's Blog Sorry for getting little off-topic on the subject of nested master pages, but, as I already posted in asp.net forum, there is a problem in design view of VS ...

Videos:
Master Class and Ham Miss Traysie tries to teach an acting master class to high schoolers... problem is... she can only speak in words from the pages of Green Eggs and ...
Bad Credit is A Hugh Problem Today / Fix it/Free Report http://911credit.blogspot.com Best Credit Cards To Get This website offers up-to-date information on online banks' applications that you can ...
Napoleon Hill - A Year of Growing Rich - Ch 09 http://www.97dollarmillionaire.com/missingpages.pdf Join my Napoleon Hill Focus Group. Click the Link Above and Claim Your FREE Copy of the ...
Download TV Shows http://WatchDirect.Weebly.com is the best site if you want to Download TV Shows. Check it out! If you want to download veronica mars episodes ...
Having Horrible Credit Problems? Bad Credit Fix http://911credit.blogspot.com Best Credit Cards To Get This website offers up-to-date information on online banks' applications that you can ...
The Tao of Kung Fu #22 - "Look beyond the letter of the law". Learn more about this philosophy here..... This video is from the "Empty Pages of a Dead Book" episode, from the 1970's TV series "Kung Fu ...
Imaging: Formatting for the Web Episode 6 (of a 25-part series) This Nortel LearniT tutorial reviews the process to format images for the Internet.
No BS! Only $797 To Join With $300 Override Bonuses! BTTW Marcus Harris, Top Marketing Specialist in BTTW since Big Ticket launched. http://www.myspace.com/MarketingElite http://www.marketingelite.net ...
Dharma-Zen 24 Movements Tai Chi Chuan After years of teaching experience Master Danny Lai finds traditional Tai Chi forms have some serious limitations: they are too long to practice ...
Queen - Good Old Fashioned Lover Boy Promo for great song from Day at the Races. This is not the version on the album but they rerecorded it and then lip-synced the new recording for ...




Search This Site:










can anyone help duplicate the password encrypt function in classic asp?

dnn 3.0 memberrole

dnn3beta : child portals & physical child folders...

time zone problem

page.registerclientscriptblock

question about dnn 2.0 left/right pane background-color and xml file

overriding skin css with container css

dnn in code magazine - march/april 2004

core forum/blog module rss question

having problem modifying controls with new dnn 2.0.1 and dnn 2.0.2

translating admin and host menu

restoring module from recycle bin causes exception.

what is the best way to implement transactions in dnn

bug: 3.0.6 - tabbing through user registration fields

dragable left pane ..

phpnuke forum to a dnn forum migration, can it be done?

can someone understand this error?

some action in gemini...

links module points to wrong (non existant) urls

how do i install survey module to 3.0.10?

how to mix dnn with non dnn aspx pages?

slow start up

who's using dotnetnuke?

business/vendor directory

single sign on (a good compromise?)

what is the first thing to load?

final release and documentation on dnn ver.3

dnn 4.0 search

probably a weird question concerning icons

blowing a gasket - please help!

  Privacy | Contact Us
All Times Are GMT