CSS is the abbreviation of Cascading Style Sheets
Questions tagged [dynamic-css]
68 questions
                    
                    97
                    
            votes
                
                16 answers
            
        Wait cursor over entire html page
Is it possible to set the cursor to 'wait' on the entire html page in a simple way? The idea is to show the user that something is going on while an ajax call is being completed. The code below shows a simplified version of what I tried and also…
         
    
    
        Aleris
        
- 7,981
- 3
- 36
- 42
                    25
                    
            votes
                
                8 answers
            
        Reference app relative virtual paths in .css file
Assume I have an "images" folder directory under the root of my application.  How can I, from within a .css file, reference an image in this directory using an ASP.NET app relative path.  
Example:
When in development, the path of ~/Images/Test.gif…
         
    
    
        user10834
        
- 271
- 1
- 4
- 5
                    20
                    
            votes
                
                9 answers
            
        CSS - Separation of Color and Position
I'm just wondering what others do in this respect:
Do you try to keep positional CSS (layout) separate from color/flavor CSS (color, background-color, background-images, font-size and family) ?
Use two stylesheets? Combine two stylesheets…
         
    
    
        BuddyJoe
        
- 69,735
- 114
- 291
- 466
                    19
                    
            votes
                
                7 answers
            
        Is there a way to reference an existing CSS style from another CSS style using CSS or javascript?
If I have a style defined
.style1
{
   width: 140px;
}
can I reference it from a second style?
.style2
{
   ref: .style1;
}
Or is there a way via javascript/jQuery?
--- Edit
To clarify the problem, I am trying to apply whatever style is defined…
         
    
    
        JTew
        
- 3,149
- 3
- 31
- 39
                    18
                    
            votes
                
                8 answers
            
        How to change CSS class of a HTML page element using ASP.NET?
I have several  elements with different id's on ASP.NET page:
 
 
 
and can change their class using JavaScript like this:
li1.className="class2"
But is there a… 
         
    
    
        Alexander Prokofyev
        
- 33,874
- 33
- 95
- 118
                    15
                    
            votes
                
                6 answers
            
        How do I create dynamic CSS in Rails?
what is the best/most efficient way of creating dynamic CSS with Rails. I am developing an admin area on a site, where I would like a user to be able to customize the style of their profiles(Colour mostly), which will also be saved. 
Would you just…
         
    
    
        Matt
        
- 2,730
- 4
- 28
- 35
                    14
                    
            votes
                
                9 answers
            
        Dynamic URLs in CSS/JS
I'm splitting up one of my larger apps and introducing a 'cdn' url to house common objects like CSS, javascript, and images to avoid duplication. What I need to do, though, is have separate URLs for our dev environments, so I may…
         
    
    
        dragonmantank
        
- 15,243
- 20
- 84
- 92
                    14
                    
            votes
                
                8 answers
            
        Dynamic css not applied in my menu (tiles + spring 3.0)
I am using Spring 3.0 + tiles. I have created the common menu with anchor tag for all the pages and applied the css for the same. I am using Jquery for dynamically changing the css class for the menu when the menu is clicked.
When the menu/link is…
         
    
    
        Amee Mehta
        
- 159
- 1
- 11
                    10
                    
            votes
                
                3 answers
            
        JavaScript: Advantages and disadvantages of dynamically (on fly) creating style element
In JavaScript we can create