CSS and the horrible day
-
One of my friend complained about a wierd problem while designing the website in visual studio. All the controls, (labels here) are drawn on the page. But then, the text was not appearing. Checked the visible property, this, that and everything. Finally, We could trace out the problem to an unassuming CSS file somewhere in the whole project structure (among 5 other CSS files) which had the following lines (among 100 other lines) .body{ foreground:#FFFFFF } Lucky, I knew #FFFFFF was white! :)
- Bits and Bytes Rules! 10(jk)
-
One of my friend complained about a wierd problem while designing the website in visual studio. All the controls, (labels here) are drawn on the page. But then, the text was not appearing. Checked the visible property, this, that and everything. Finally, We could trace out the problem to an unassuming CSS file somewhere in the whole project structure (among 5 other CSS files) which had the following lines (among 100 other lines) .body{ foreground:#FFFFFF } Lucky, I knew #FFFFFF was white! :)
- Bits and Bytes Rules! 10(jk)
-
Google Chrome, right-click label, inspect element, computed style, see what looks fishy -if anything ever looks weird in a webpage, that the first place I look
I may or may not be responsible for my own actions