| | Am using css for designing my sites in that i had a problem while design css for iexplore it show good in iexplorer and the same design view differently in firefox what should i do to avoid such difference. |
|
|
Well at first you should make sure that you are designing css according to w3c standards. Your css if designed acc. to standards then it should wokr both in IE and Firefox. You can always validate your css online at www.w3c.com. Find out the problems there and correct thenm accordingly.
General problems that occurs are with the type of property defined like id or a class. Double check the code you may have missplled it. Have you used '.' symbole for custom classes? This could also be a problem. And yes always design in a step by step manner. Define one property and check it on all browsers. This makes debugging very very easy. If you still having problems then do as. i.e., i am using box model when i try to set the padding and margin property for a box(DIV) that is inside another box(DIV). Firefox shows it correctly, but in case of Iexplorer it adds the two padding and margin in to a single padding eg:- CODE .rightsubcontent { padding-left:20px; float:right; } .leftsubcontent { padding-right:20px; float:right; } this code which i used in firefox it make 40px padding between two DIV But the same code in Iexplore it make only 20px padding between two DIV
Hard to say what the problem might be, exactly, without seeing your code.
Please post a link to the page or post the html and css here inside "code" tags. If they are larger files, use the "codebox" bbcodes instead. Or you can try search:IE border collapse. Or you can add this to your css: CODE border-collapse: collapse; .Also, make sure you have a Document Type Declaration at the first line of your code which places IE in Standards Compliance Mode and not Quirks Mode. You can get the correct DTD from the w3c site, or, again, search:DTD IE Standards mode. For comparison of how each Browser handles the different DTD's, check here.
Design Sites for Internet Explorer 7, then your site will look 95% the same in all other browsers like Firefox and Opera.
You can add an special style sheet for IE6 and below using the IE conditional tags.
Well I think that you should also define the border size for each class you want to use as a box. May be that can help. Second thing you can do is try renaming it as n id rather than a class.
I would like to rewiev the source code of your file. I can really help after that only! rest you will recieve guesses from every body! I would recommend you to use "simplecss" for designing .css files. it's free and very small in size. Google for it.
Thanks for ur ideas i solved that problem and i need some tricks and tips or creating css....Guys who having ideas please share with me and get idea from other also
it depends on what program you're using. if your using dreamweaver mx 2004 or later, it's simple. check your right side panel and you will find access to your css file. Go to >Design Panel>CSS files. here, you will find each css style definition. to have more control, you must name each css definition or div. if you can't find it immediately, go to Text>CSS Styles>Manage site> here you can find the different divs so you can edit selected divs (depending on what you've named them). for more help, go to >Help>Using Dreamweaver or >Dreamweaver Help Support Center. These links will answer any questions you may have. If these don't work (u can't get online) use>Help> Getting Started Tutorials (without going online).
Sincerely, Shah Boogie
Recent Queries:-
Keywords : make, design, css, firefox, iexplorer,
Can anyone help me? (7) I have a problem in a site I am creating. I have styled my post content links in the following (10) Ok, I wasn't too sure weither this topic would be better under Internet or Software, so if it is in FIREFOX! yet IE displays it as i want (6) Wait wait! im not complaining about firefox! i couldnt ever do it, but the fact is that for (3) If someone got Mozilla Firefox then: Here there is site: http://luckyclover.trap17.com/ In (IE, Looking for make, design, css, firefox, iexplorer,
|
|
![]() How To Make Design Css With Firefox/iexplorer? |
| ADD REPLY / Got an Opinion! | Remove these ADs! | RAPID SEARCH! | Free Web Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute more info. to help others. Ask your Doubts & Queries to get answers, So that "Together We can help others!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|