Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old November 12th, 2003, 05:05 PM
Authorized User
Join Date: Jun 2003
Posts: 39
Thanks: 0
Thanked 0 Times in 0 Posts
Default CSS disappears on postback


I have a web form linked to a css sheet but when the form is posted back to the server and re-rendered the stylesheet settings do not seem to take effect, however the link is still there.

Anybody any ideas.

Many thanks


Old November 12th, 2003, 05:18 PM
planoie's Avatar
Friend of Wrox
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts

Are there any styles that refer to elements by ID? Though that should affect it all the time, but not only after a postback. Can you confirm that the stylesheet <link> tag is still there on the postback?

Work smarter, not harder.

Similar Threads
Thread Thread Starter Forum Replies Last Post
menu disappears in ie 6 bala4601 CSS Cascading Style Sheets 0 March 3rd, 2008 02:22 AM
background-color disappears harpua CSS Cascading Style Sheets 1 August 19th, 2005 04:53 PM
AMPERSAND disappears when given along with # happygv Forum and Wrox.com Feedback 2 October 25th, 2004 09:49 PM
Value Disappears byron VB.NET 2002/2003 Basics 0 October 13th, 2003 10:19 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.