Jul 25, 2008

How To Make Design Css With Firefox/iexplorer?

Free Web Hosting, No Ads > CONTRIBUTE > Computers > Programming Languages > CSS (Cascading Style Sheets)

free web hosting

How To Make Design Css With Firefox/iexplorer?

host007
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.

Reply

Codemaster Snake
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.

Reply

host007
Thanks for ur suggestion i defined the custom class and used '.' for that but the error is about the property.
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

cool.gif

Notice from rvalkass:

Any code you put into your posts should be wrapped in CODE tags. Have a look at the List of BB Codes. Thanks.

 

 

 


Reply

jlhaslip
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.

Reply

delivi
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.

Reply

Codemaster Snake
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.

Reply

host007
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

Reply

shavaray@hotmail.com
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

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Recent Queries:-
  1. program css for firefox - 6.80 hr back. (1)
  2. firefox and css problems - 95.06 hr back. (1)
Similar Topics

Keywords : make, design, css, firefox, iexplorer,

  1. Style Not Displayed Correctly On Firefox [resolved]
    (16)
  2. Link Image Css Bug In Firefox
    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
    way. CODE #post-content a {     background-color: #bf6f3c;     color: #fff;
        padding: 2px 2px 1px 2px;     border-bottom: 1px solid #7f4926; } #post-content
    a:hover {     color: #f5fac7; } And when I insert an link image like so: There
    seems to be an extra border inherited from my #post-content a style. I have attached the screenshot
    to show the problem. This was how my link image should look like: CODE #post-content a img { ....
  3. Css Scrollbars In Firefox?
    (10)
    Ok, I wasn't too sure weither this topic would be better under Internet or Software, so if it is
    in the wrong place please forgive me. I have a question about web browsers. I currently use
    Firefox and I was wondering if there is a way to get FireFox to display CSS Scrollbars, like Opera
    and Internet Explore do. I've currently looked at the FireFox Add-On site and did a few
    searches on Google and I have come up with nothing and I'm getting a strange suspision that
    there is no way to do such a thing. If anyone can help I will be forever grateful. /biggri....
  4. Css Positioning Trouble
    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
    the very darn first time IE is actually showing the thing as i want it... I have a table inside a
    div, and i want the table to be right aligned, and IE6 does so (not the same for ie for mac though)
    but firefox keeps it to the left, the best thing i've achieved with this is a fixed position
    which does not look good while resizing...... ive also tried floating and even adding a wrapper...
    so i dont know what to do... this is the site: http://www.cucea.udg.mx/cucea/gr....
  5. Problem With Mozzilla Firefox And Css
    (3)
    If someone got Mozilla Firefox then: Here there is site: http://luckyclover.trap17.com/ In (IE,
    Opera) other browsers this page is showing propetly but Mozzilla don't show BG image in tables
    always when i use style class from CSS just eat whole row. The last menu on right don't use
    style class from css and mozzila show all BG images. Someone know what CSS function mozzila not
    support or meybe this is a bug ? If you guys see source code in mozilla you see there is code for
    this stuff but mozilla ignore them. HELP /cool.gif' border='0' style='vertical-align....

    1. Looking for make, design, css, firefox, iexplorer,

Searching Video's for make, design, css, firefox, iexplorer,
advertisement



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