Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Oct 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    website broken in firefox2, no idea

    hi, i'm kind of new to website design and trying to start something up for myself. i've spend hours coding this thing and it works perfectly in ie6....but completely broken in firefox.

    all my knowledge for html and css basically came from reading the source code from various sites and then trying it myself. i've come up with something...not very good mind you, but something.

    problem is, i have no idea what's wrong. any tips or suggestions will be greatly appreciated.

    here are the html and css files for the site.

    http://www.itwonthurt.com/index.htm

    http://www.itwonthurt.com/main.css


    thanks in advance.

  • #2
    $object->toCD-R(LP); vinyl-junkie's Avatar
    Join Date
    Jun 2003
    Posts
    3,092
    Thanks
    2
    Thanked 23 Times in 23 Posts
    Welcome to CodingForums, vassili.

    This won't necessarily fix the problem, but your code doesn't validate. Fix that first, then try again.
    Music Around The World - Collecting tips, trade
    and want lists, album reviews, & more
    SNAP to it!

  • #3
    New to the CF scene
    Join Date
    Oct 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    ahhh, i validated my html and css. it's less broken now, but still not displaying the page corectly in firefox. it looks to have something to do with the order of the divs. ie renders .container2 behind .container which is what i want, but ff renders .container2 on top of .container.

    Code:
    <div class="container2">...stuff...</div>
     
    <div class="container">...stuff... </div>

    is there a way around this?

  • #4
    Senior Coder Arbitrator's Avatar
    Join Date
    Mar 2006
    Location
    Splendora, Texas, United States of America
    Posts
    3,305
    Thanks
    28
    Thanked 276 Times in 270 Posts
    Maybe you should try the z-index property instead of relative positioning to achieve overlap? Your page looks about the same in Firefox 2 and Internet Explorer 7; it looks worse in Internet Explorer 6.
    For every complex problem, there is an answer that is clear, simple, and wrong.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •