Click here to Skip to main content
13,258,269 members (39,947 online)
Rate this:
Please Sign up or sign in to vote.
See more:
how to generate multiple css files from 1 file in css editor

I have 3 css files i want to change the value from 1.css to multiple files like 2.css , 3.css
in 1.css i want this will be generate automatically for IE8
in 2.css i want this will generate for IE9
in 3.css i want this will generate for mozila and so on..

But these files generated automaticaly,,,,

i am using winform application and also i have html cum css editor that generate the source code

so tell me how can i do this ????
Posted 18-Oct-12 21:59pm
Updated 18-Oct-12 22:00pm
Sergey Alexandrovich Kryukov 19-Oct-12 15:05pm
Tag it: "Forms".
Now, what's the problem? Just generate them. What have you done so far?
Kay Pee Singh 19-Oct-12 23:41pm
but i cant know how to do this because it can be generated automatically
Kay Pee Singh 19-Oct-12 23:42pm
i want to generate multiple files from 1 file like i want implemented the class in file then it generate automatically multiple files like for IE8,IE9,FIREFOX,CHROME AND SO ON........ for every browser i have html and css editor but that cant generated the multiple files for every browser so i want to generate multiple files automatically so help me how can i do this ???
Help with what? How to generate text? With peculiarities of each browser? With understanding of CSS? HTML? Which C# programming? What are you missing?
Kay Pee Singh 20-Oct-12 2:49am
ii have 1file (1.css)
border-right: thin groove;
border-top: thin groove;
border-left: thin groove;
color: blue;
border-bottom: thin groove;
font-family: Tahoma, Trebuchet MS;
font-family:Comic Sans MS;

now i want to generate 2 more files from this file and yes i want to generate the this text in another file
am explaining you all what i want see below..

i have html cum css editor which open the html and css file for example if i open the example.html file then i see the source code of that file then i changed the source code as that what i want to show in that page i have puted some value in the design area then it generate the new source code that i changed now i then i saved as 2 new file 1 example.css and other example.html now it generate only 1 file that i saved which can implemented on any browser but i have only css file which can implemented on browser . but we not sure that this is for IE8,IE9,FIREFOX,CHROME ETC. now i want to generate or automatically create multiple files like example1.css(for IE8) , example2.css(for IE9),EXAMPLE3.CSS(FOR CHROME) AND so on. from example.css ..... but this will be generated only automatically i dont want to write the example1.css ,example2.css files (because its created automatically )

if you got my problem then help me or tell me how can i do this ?
i have winform html cum css editor under .net
Sergey Alexandrovich Kryukov 20-Oct-12 22:47pm
Based on what? It should be based on some knowledge on how each Web browser layout engine works. To say true, you need to compensate defects in existing engine by working around. If you want to automate this work, you need to create a data model which describes "perfect" or "required" layout, describe the defects in an engine, and some work-around schema. Do you see the point? The real source data is not CSS, it's rather some meta-data on defects and work around methods. You should also understand that not all work-around is possible; it simply means that your set of all possible CSS is limited in features by some subset. I would start with particular use cases and classified cases and work around method. This could be a big work, and the purpose is just compensating for some software defects which may or may not be around when you complete this work. I would think about practical sense of this work...
OK, you still did not tag "Forms"... you are the one who most interested in that.
Please pay attention: this forum is: Quick Questions & Answers. Does it tell you something?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web01 | 2.8.171114.1 | Last Updated 19 Oct 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100