Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 7 of 7
  1. #1
    Senior Member splufdaddy's Avatar
    Join Date
    Feb 2003
    Location
    Boston, MA
    Posts
    4,488
    Member #
    735
    I'm trying to create a CSS navigation, and it appears as desired in IE, but not Firefox. This could mean my code's wrong if IE thinks it's right, who knows. The page is here: http://cmscott.scottconnor.com/design1.html
    I did a little bit of reading and found that Firefox and IE render margins differently. I couldn't find how to write firefox and IE specific CSS though (and I dont know how it looks in other browsers). Help appreciated w/ $5 TD.

  2.  

  3. #2
    Senior Member
    Join Date
    Dec 2003
    Posts
    1,274
    Member #
    4362
    About Firefox specific CSS:
    You can use this selector that isnt supported by IE:
    Code:
    div[id="container"] {
    margin:5px }
    If you id the big main div "container" you can put FF specific CSS.

  4. #3
    Senior Member karinne's Avatar
    Join Date
    Dec 2003
    Location
    Aylmer QC Canada
    Posts
    1,607
    Member #
    4335
    Liked
    8 times
    are you talking about the box model hack ?
    [a web design portfolio - Currently NOT AVAILABLE for work | web design | Re-coding | PSD-to-HTML]
    I'm also on: virb - facebook - twitter - flickr - del.icio.us

  5. #4
    Senior Member
    Join Date
    Dec 2003
    Posts
    1,274
    Member #
    4362
    Yeah, and another easier way to do that is in place of using what I said above, using this:
    Code:
    html>body { somefunky:things }

  6. #5
    Senior Member splufdaddy's Avatar
    Join Date
    Feb 2003
    Location
    Boston, MA
    Posts
    4,488
    Member #
    735
    Thanks for the help xarst and Karinne. I gave the 5 TD to xarst because I used his code to fix the problem I was having.

  7. #6
    Senior Member teal's Avatar
    Join Date
    Dec 2003
    Posts
    247
    Member #
    4319
    Or, if you want to make styles that apply only to IE (unless some new browseres support it), you can use @import to bring in your IE styles.
    Whoth steps forth to mock the teal? Whom couldst say a color superior!

    Proclamith me, it cannot be done.

  8. #7
    Senior Member
    Join Date
    Dec 2003
    Posts
    1,274
    Member #
    4362
    Thanks spluf
    @import works on all browsers since Netscape4


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 06:58 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com