Asp.net css not working properly after publish -


i have asp.net (.net 4.0) page, contains javascript, css , custom controls.

when debug page, looks fine , working properly. after publishing, css don't work anymore. of them do. although same css file.

i.e.
have table-data (<td>) tags, have select-box in it. in debug, select-box visible (width of select: 85%) in published, select-box thin, because td doesn't have width , 85% of 0 is... not ;).

also not able hide , unhide divs in page via javascript anymore. set display block or none, divs hidden always, while in debug work.

i saw problems regarding including path of css , script files (with root or without root directory etc), tried didn't solve problem.

another source said, because of compatibility mode .net 3.5, changed 4.0 , didn't solve problem, also.

do have idea happen here?

for example, header of table:

in internetexplorer while debugging:

enter image description here

and in internetexplorer after publishing:

enter image description here

you can see there gap between <td> tags.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -