dcsimg
www.webdeveloper.com
Results 1 to 4 of 4

Thread: Layout problems in other browsers

  1. #1
    Join Date
    Jan 2008
    Posts
    42

    Layout problems in other browsers

    Hi everyone,

    I hope someone can help me.

    Please look at my site www.snaptease.com

    I built the site with IE7 in mind, however, there are afew layout problems with Firefox & Safari.

    Can anyone tell me what's wrong and how to fix it?

    By the way to view the source code please use the View Menu. (Right Click is blocked)

    Regards

    Martin

  2. #2
    Join Date
    Jun 2003
    Location
    here
    Posts
    4,551
    You have some strange code in there, why are the two divs for the images display inline? If you want inline content why use a block element? And what is with position: relative? I can't quite work out the logic on that.

  3. #3
    Join Date
    Jan 2008
    Posts
    42
    Hi scragar,

    Thanks for taking an interest.

    I'm affraid I can't answer your questions I am a novice and a self taught novice at that. Most of my code is cut & paste.

    Please let me know the correct way to position the images?

    Martin

  4. #4
    Join Date
    Jun 2003
    Location
    here
    Posts
    4,551
    I shall download the content and take a look, see if I can fix it up.

    I should also comment on the fact that you are trusting IE to render XHTML correctly, I do believe this is your initial problem, IE treats XHTML either as XML or HTML, depending on how you serve the page, firefox is attempting a more standards compliant approach. Best to avoid XHTML all together until you know what you are doing.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles