I have a GIT repository and I'm using Umbraco. Once strange thing that was happening to me were my files in the css folder kept on being modified even though I wasn't changing them. So every time I wanted to commit a change I'd have to undo the css file changes.
I thought this was Umbraco and because I had my style sheet linked to the rich text editor datatype, but it turned out to be the uSync package. I was synchronizing Stylesheets so by turning this off in the uSyncSettings.config file this stopped the problem. I don't need uSync to manage these files for me.
Showing posts with label CSS. Show all posts
Showing posts with label CSS. Show all posts
Monday, 31 March 2014
Tuesday, 14 October 2008
What is *.htc with CSS styling?
IE also supports so called behaviors; .htc or .hta files that can be attached to specific elements using css making it possible to let these elements behave in a special way.
To read more and find examples have a look at this link:whatever:hover
To read more and find examples have a look at this link:whatever:hover
Tuesday, 23 September 2008
Opacity with CSS
Below is an example of HTML that displays a list and when you hover over the element a fade is placed over the div: 

The style sheet entry looks like this (notice the other style name that is not used above archive-results-list):
ul.search-results-gallery li div:hover,
ul.archive-results-list li div:hover{
filter:alpha(opacity=85);
-moz-opacity:0.85;
opacity:0.85;
}
ul.search-results-gallery li div:hover,
ul.archive-results-list li div:hover{
filter:alpha(opacity=85);
-moz-opacity:0.85;
opacity:0.85;
}
The use of important in CSS
!Important is used to give priority to element properties. Read this article and it all makes sense:
http://www.yellowjug.com/web-design/the-importance-of-important-in-css/
An important thing to notice is the use of min-width and max-width parameters to control width.
http://www.yellowjug.com/web-design/the-importance-of-important-in-css/
An important thing to notice is the use of min-width and max-width parameters to control width.
Subscribe to:
Comments (Atom)