Omgili - forum search, search forums  
  

Discussions about css file

Displaying 1 - 10 out of 22,737 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
I'm wondering which is best for speed: Option 1: Loading separate CSS for each browser (separate JS file included through a <script/> ): // for internet explorer 6 & 7 if ($.browser.msie) { document.write('<link rel="stylesheet" type="text/css...
Started by on , 3 posts by 3 people.  
If you do a web search for Opera Specific CSS you'll probably find something that you like ;) I use a CSS....
Your example lists Opera as well, I'd suggest you use some CSS hacks to make the (probably tiny) changes you need for Opera.
We have some "theme colors" that are reused in our CSS sheet. Is there a way to set a variable and then reuse it? E.g., .css OurColor: Blue { H1 color:OurColor; }
Started by on , 15 posts by 14 people.  
The ProcessCSS....
This is in line with Bert Bos's argument that any symbol these files once at authoring time, rather than recalculating them every time the CSS file is requested.
And outputs a separate version of the CSS file.
Is there any advantage to having a single monster .css file that contains style elements that will be used on almost every page? I'm thinking that for ease of management, I'd like to pull out different types of CSS into a few files, and include every ...
Started by on , 9 posts by 9 people.  
On the other hand at (though I haven't tested it myself yet) Having only one CSS file is better for the loading-time of your (at least, I ....
Love reading through a single HUGE CSS file, and maintaining it is very difficult.
Ask your Facebook Friends
I have a weird, annoying problem. I have a css/ folder and index.html at the root. I load css files in the header as follows: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">...
Started by on , 6 posts by 6 people.  
To help you path you are giving (css....
Did you check your server config? The relative URL is likely wrong .
What is the full (absolute) URL with which you can open the CSS file not served as text/css.
Check browser address bar.
When I am building pages, do I want to have individual stylesheets for each page or one large stylesheet for the entire site? For loading purposes, wouldn't you want a smaller stylesheet, therefor making individual ones is a better practice?
Started by on , 8 posts by 8 people.  
To help, I usually slap my CSS through a CSS cleaner to reduce its file size CSS....
Use a single file, CSS files are cached and therefore reduce the need to download a new file for each new page visited.
Which is better to use for print another css file with media="print" or @media print {....} in same file? Can we define two properties for same element like. .header { display:block /*for screen */; display:none /*for print/}
Started by on , 3 posts by 3 people.  
If you handle a lot of traffic, then a separate file with a separate link would be a better approach...why send that print CSS when so few people will actually need it? Depends on how many styles your original file has how many styles....
We include the CSS file via standard HTML STYLE tag. Then we need the javascript code to access the CSS classes and attributes. in IE and Chrome all goes fine, but in Firefox it throws this exception: uncaught exception: Security error (NS ERROR DOM SECURITY...
Started by on , 4 posts by 4 people.  
If the CSS is from domain different than the page executing the JavaScript you.
But it should not be.
I am using the django framework and am using templates, inheriting a lot of admin base templates. What am wondering is: can I have more than one CSS file in one HTML file? i.e. maintain the django admin CSS file but then have another CSS file of my own...
Started by on , 5 posts by 5 people.  
Just place the tags to the CSS files or embed can have a dozen of them ....
Yes you can.
But if you try to override any of the CSS in the django admin CSS, you'll have to use !important in your style definitions.
Yes, you can.
Let's say I have my whole sites CSS in 1 css file so it is fairly large, I am wanting to know if a page uses 3 classes with something like below that request 3 images from the server, lets say there is something like 50 of these in the whole css file,...
Started by on , 7 posts by 7 people.  
Put this into a CSS file is called "CSS Sprites....
There's one easy way to find out (ok, not easier than just asking Stack Overflow) .
Could employ certain caching techniques and prefetch everything they see in a CSS file.
Is it possible to use 2 CSS classes that have the same name for the selectors, etc. in the same HTML file? If so, how do you differentiate between the two when styling elements?
Started by on , 5 posts by 5 people.  
Do you mean 2 definitions for the same class? or 2 class names on an element? The first case then there shouldn't be... .
The definitions in second file will overwrite the definitions of the first file to the file.
Yes it is possible.
Page: 1   2   3   4   5   6   7   8   9   10  
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost