Results 1 to 12 of 12

Thread: Must fix these issues

  1. #1
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts

    Must fix these issues

    www.kieransenior.co.uk

    My new site, in IE the header and nav bar sit slightly to the left and I have no idea why, I've gone over and over the stylesheet and can't find anything. The footer also doesn't align correctly either, not sure how to fix that, my CSS is a bit rusty.

    If anyone can help me out I'd be appreciative as it's annoying the hell out of me

  2. #2
    Civilian Nick F's Avatar
    Join Date
    May 2004
    Location
    London
    Posts
    4,668
    Thanks
    9
    Thanked
    18 times in 10 posts
    • Nick F's system
      • CPU:
      • 2.4Ghz C2D
      • Memory:
      • 4GB
      • Storage:
      • 320Gb internal / 750Gb external
      • Case:
      • Apple iMac
      • Operating System:
      • Mac OSx
      • Monitor(s):
      • 24inch
      • Internet:
      • 8mb BE connection
    Nice site mate Can't help you though

  3. #3
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    Why would you have a header image set as the background to a div rather than just inserting the <img> tag ? That's almost certainly the root of the problem as you're wrapping a <a> tag round a div which you've then given a fixed height and width. Bizarrely I can't download the background image either, I've tried following the url to images/header.gi and even looked in Kezzer_files but it's not there. Can't debug without the complete HTML, CSS and images. At a rough guess if you insist on remaining with a div with a background then you need a CSS rule for

    a #header (margin: 0; )

    or something similar

    Also please be aware, up to you if you care or not, but XHTML compliance states that all HTML, CSS properties etc should be in lower case.

  4. #4
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Nah, I already tried that before and it didn't work I just tried it again to double check and alas, it still doesn't work

  5. #5
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    As i said, wrap up the HTML, CSS and images into a zip file so we can debug it then, at the moment it's impossible to do anything as the images aren't downloading properly

  6. #6
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    CSS file:
    http://www.kieransenior.co.uk/wp-con...nior/style.css

    Header:
    http://www.kieransenior.co.uk/wp-con...ges/header.gif

    Drop-shadow background:
    http://www.kieransenior.co.uk/wp-con...es/bg_main.gif

    Bottom of the nav bar:
    http://www.kieransenior.co.uk/wp-con...nav-bottom.gif

    Footer:
    http://www.kieransenior.co.uk/wp-con...ges/footer.gif

    They're all accessible via the website.

    I can't host zip files on my hosting so that'll have to do, sorry

  7. #7
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts
    Nothing a bit of padding won't fix surely?


    I'd say it isn't your header and nav bar that sit to the left either, i'd say it's your content that sits to the right. (if it was in it's right place in i.e. everthing would line up inculding the footer).
    Last edited by yamangman; 12-11-2005 at 07:21 PM.
    To err is human. To really foul things up ... you need a computer.

  8. #8
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Very good point. Padding = bad idea, IE compliancy standards are different compared to other browsers so it'd probably break it even more. I could see if it's the content causing the problem though as the background image is tiled vertically around the content as well. I'll try it when I get some time, cheers

  9. #9
    Large Member
    Join Date
    Apr 2004
    Posts
    3,720
    Thanks
    47
    Thanked
    99 times in 64 posts
    You could try applying a padding style rule to *html so it will only apply in ie
    To err is human. To really foul things up ... you need a computer.

  10. #10
    Senior Member Kezzer's Avatar
    Join Date
    Sep 2003
    Posts
    4,863
    Thanks
    12
    Thanked
    5 times in 5 posts
    Could do, but there are many variants of IE that don't accept those rules

  11. #11
    HEXUS.net Webmaster
    Join Date
    Jul 2003
    Location
    UK
    Posts
    3,108
    Thanks
    1
    Thanked
    0 times in 0 posts
    The vast percentage of IE users are 5 and higher which does support the rule. Given the amount of traffic you're likely to receive I hardly think it's something you should think twice about. Unfortunately IE7 is more compliant so *html won't work when they eventually release it but there is a new conditional statement which IE7 supports to allow you to load specific style sheets for version of IE

  12. #12
    Senior Member
    Join Date
    Aug 2005
    Location
    Leeds
    Posts
    267
    Thanks
    8
    Thanked
    16 times in 16 posts
    I'd recommend making a local copy of the page, then rebuilding your css from the ground up. Get rid of all padding and margins, then see if you still have problems.

    Occasionally there is something that just doesn't work and you have to track it down the hard way.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Help fix my new site
    By Kezzer in forum Software
    Replies: 6
    Last Post: 03-11-2005, 03:16 PM
  2. Replies: 19
    Last Post: 12-10-2005, 01:53 PM
  3. Shuttle ST61G4 - Stability Issues.
    By DJWillis in forum PC Hardware and Components
    Replies: 4
    Last Post: 23-01-2005, 07:56 PM
  4. Wanted - Custom PC back issues
    By sirelmo in forum Retail Therapy and Bargains
    Replies: 2
    Last Post: 28-07-2004, 08:30 PM

Posting Permissions

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