SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Oct 2004
    Location
    Middlesbrough, UK
    Posts
    138
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Absolutely positioned div not showing in IE

    Please take a look at:

    http://www.carsparefinder.co.uk/

    There is an absolutely positioned div (adverts2) inside a relative container (center). It works fine in Firefox, but doesn't display at all in IE.

    Any ideas?

  2. #2
    In memoriam gold trophysilver trophybronze trophy Dan Schulz's Avatar
    Join Date
    May 2006
    Location
    Aurora, Illinois
    Posts
    15,478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I know I'm beating a dead horse, but you need to make sure your code validates first. Your HTML is valid, but your CSS is not.

    Errors

    URI : http://www.carsparefinder.co.uk/style.css
    • Line: 489 Context : #center Invalid number : float Parse Error -
    • Line: 651 Context : #gearbox Property align doesn't exist : left

    Warnings

    URI : http://www.carsparefinder.co.uk/style.css
    • Line : 8 (Level : 1) Same colors for color and background-color in two contexts #outsidenavigation and body
    • Line : 8 (Level : 1) You have no background-color with your color : body
    • Line : 8 (Level : 1) Same colors for color and background-color in two contexts #navigation and body
    • Line : 27 (Level : 1) You have no background-color with your color : .highlighted
    • Line : 35 (Level : 1) You have no background-color with your color : a
    • Line : 123 (Level : 1) You have no color with your background-color : #outsidenavigation
    • Line : 143 (Level : 1) You have no background-color with your color : #navigation a
    • Line : 143 (Level : 1) Same colors for color and background-color in two contexts legend and #navigation a
    • Line : 149 (Level : 1) You have no background-color with your color : #navigation a:hover
    • Line : 149 (Level : 1) Same colors for color and background-color in two contexts legend and #navigation a:hover
    • Line : 155 (Level : 1) You have no color with your background-color : #outsidesubnavigation
    • Line : 174 (Level : 1) You have no background-color with your color : #subnav a
    • Line : 174 (Level : 1) Same colors for color and background-color in two contexts legend and #subnav a
    • Line : 179 (Level : 1) Same colors for color and background-color in two contexts legend and #subnav a:hover
    • Line : 179 (Level : 1) You have no background-color with your color : #subnav a:hover
    • Line : 186 (Level : 1) Same colors for color and background-color in two contexts #outsidenavigation and div.phonenumber
    • Line : 186 (Level : 1) You have no background-color with your color : div.phonenumber
    • Line : 186 (Level : 1) Same colors for color and background-color in two contexts #navigation and div.phonenumber
    • Line : 205 (Level : 1) You have no color with your background-color : legend
    • Line : 211 (Level : 2) Redefinition of float : input
    • Line : 218 (Level : 2) Redefinition of float : select
    • Line : 222 (Level : 2) Redefinition of min-width : select
    • Line : 234 (Level : 2) Redefinition of float : textarea
    • Line : 265 (Level : 1) You have no color with your background-color : input.button
    • Line : 268 (Level : 2) Redefinition of border-right-style : input.button
    • Line : 268 (Level : 2) Redefinition of border-right-color : input.button
    • Line : 268 (Level : 2) Redefinition of border-right-width : input.button
    • Line : 270 (Level : 2) Redefinition of border-bottom-width : input.button
    • Line : 270 (Level : 2) Redefinition of border-bottom-color : input.button
    • Line : 270 (Level : 2) Redefinition of border-bottom-style : input.button
    • Line : 278 (Level : 1) You have no background-color with your color : .error
    • Line : 306 (Level : 1) You have no color with your background-color : form#indexloginform fieldset
    • Line : 313 (Level : 1) You have no color with your background-color : form#indexloginform legend
    • Line : 324 (Level : 2) Redefinition of float : form#indexloginform label
    • Line : 328 (Level : 1) You have no background-color with your color : form#indexloginform label
    • Line : 333 (Level : 2) Redefinition of float : form#indexloginform input
    • Line : 338 (Level : 1) You have no background-color with your color : form#indexloginform input
    • Line : 418 (Level : 1) You have no color with your background-color : #partsdirectory td
    • Line : 423 (Level : 1) You have no color with your background-color : td
    • Line : 441 (Level : 1) You have no color with your background-color : tr.other td
    • Line : 517 (Level : 1) You have no color with your background-color : #requestbrowsermenu
    • Line : 517 (Level : 2) Redefinition of background-color : #requestbrowsermenu
    • Line : 539 (Level : 1) You have no color with your background-color : .resultlisting
    • Line : 541 (Level : 2) Redefinition of margin-bottom : .resultlisting
    • Line : 550 (Level : 1) You have no color with your background-color : .resultlistingquoted
    • Line : 552 (Level : 2) Redefinition of margin-bottom : .resultlistingquoted
    • Line : 572 (Level : 1) You have no background-color with your color : .resultbrowser_vehicledescription
    • Line : 587 (Level : 1) You have no background-color with your color : .resultbrowser_createddate
    • Line : 587 (Level : 1) Same colors for color and background-color in two contexts #navigation and .resultbrowser_createddate
    • Line : 587 (Level : 1) Same colors for color and background-color in two contexts #outsidenavigation and .resultbrowser_createddate
    • Line : 616 (Level : 1) You have no color with your background-color : .request-details
    • Line : 618 (Level : 2) Redefinition of margin-bottom : .request-details
    • Line : 628 (Level : 1) You have no color with your background-color : .delivery-details
    • Line : 630 (Level : 2) Redefinition of margin-bottom : .delivery-details
    • Line : 655 (Level : 1) You have no color with your background-color : .toptablerow
    Try fixing those two errors first.


Bookmarks

Posting Permissions

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