Please help

Discussion in 'CSS' started by deriklogov, Mar 29, 2008.

  1. #1
    look at thise site www.hotmousepads.com in Firefox and IE, in IE site looks straight and good, but in Firefox lines like borders are not straight and title like home and new products not straight too....

    Does anybody know what could cause that ?
     
    deriklogov, Mar 29, 2008 IP
  2. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #2
    It's hard to understand why you'd use a table layout for such a simple layout. But, if you're not going to refactor in well structured, semantic html + css, at least fix your syntax errors. There is no sane reason to attempt debugging a document with nearly 400 syntax errors. When you have errors, the browser can only guess what you meant.

    cheers,

    gary
     
    kk5st, Mar 29, 2008 IP
  3. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #3
    I just saw cross post. It is impolite and shows a disregard for proper netiquette to do so.

    gary
     
    kk5st, Mar 29, 2008 IP
  4. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #4
    Good god that code is a train wreck from hell - tables nested four deep inside a center tag before you even have content? The inner TWO of which don't even have more than one TD in each? More div's than are needed, classes on div's around elements instead of just slapping the div's ON the elements, presentational classnames, not a header tag to be found, TD with presentational markup thrown at them like crazy that in fact look to be headers, so should probably be TH, and the further into it I get the worse it looks.

    Such an overcomplicated mess it's a miracle it works in ANY browser. Good indication of bad code is to compare your filesize to the actual CONTENT of the page... There's only 1,359 bytes of actual character data on the page - with an insane 31k of markup. There is no reason for that page to be more than a quarter that size in markup apart from bad code. You want it to work cross-browser my advice is throw it in the trash and start over.

    ESPECIALLY since it violates one of the entire concepts of modern design - it was written to work on IE - OF COURSE it's broken everywhere else.
     
    deathshadow, Mar 29, 2008 IP
  5. deriklogov

    deriklogov Well-Known Member

    Messages:
    1,078
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    130
    #5
    I got that design, and because I am not really familiar with css I didnt even pay attention to the way its been build =)

    so Is there any body who can fix that problem for me ?
     
    deriklogov, Mar 29, 2008 IP
  6. deriklogov

    deriklogov Well-Known Member

    Messages:
    1,078
    Likes Received:
    22
    Best Answers:
    0
    Trophy Points:
    130
    #6
    Like, I am not asking to do it for free...
     
    deriklogov, Mar 29, 2008 IP
  7. kk5st

    kk5st Prominent Member

    Messages:
    3,497
    Likes Received:
    376
    Best Answers:
    29
    Trophy Points:
    335
    #7
    Start by going through the errors one by one, and fixing them. It's part of the learning process. Sad, but true. ;)

    cheers,

    gary
     
    kk5st, Mar 29, 2008 IP
  8. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I might be able to do it - what templating system are you using for your site? (Bear in mind if I help you out, you'll be getting a complete rewrite, not a band-aid over a gushing severed artery).
     
    Dan Schulz, Mar 29, 2008 IP