Advanced Search

Results 1 to 5 of 5

Thread: website is not lining up correctly-width? css????

  1. #1
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    586
    Thanks
    41
    Thanked 27 Times in 27 Posts

    Default website is not lining up correctly-width? css????

    My web site is acting weird.
    http://www.web-user.net/rss/index.htm

    At first there was a scrollbar for some reason(My css is no where near long enough to require this)

    I was told to put this in the html or body

    overflow-x: hidden;

    Now there is no scrollbar but if you use the jump box to go to different catergories ,the page moves to the lfet and you no longer see all of the page.

    I presume it is an css issue but I am not sure.

    Give the page a minute to load then select one of the listed categories then from the jump a feed to view.

    I have looked at everything I can find but I am at a loss as to how to fix the problem.

    Thanks in advance for any help...
    Last edited by ajfmrf; 03-28-2013 at 03:18 PM.
    Thanks,

    Bud

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,882
    Thanks
    16
    Thanked 288 Times in 287 Posts
    Blog Entries
    4

    Default

    Sorry, it's taking too long to load for me. Can you fill it with some dummy static HTML to test in the meantime?

    You can get a good idea of which element is pushing out the width if you use Chrome and press F12 to open the Dev Console.

    Then click the little magnifying glass in the bottom left corner (the tooltip says "Select an element in the page to inspect it") and hover over the elements to see, 1) a misty blue overlay, and 2) CSS properties in a tooltip. From this you'll be able to see which element is too wide - click on it and you can tweek the live CSS in the window on the bottom right.
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. #3
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    586
    Thanks
    41
    Thanked 27 Times in 27 Posts

    Default

    I am at a loss as to how to fix this issue.

    Doing what you said Beverleyh,I saw the:
    html=1899px x 78954px
    head=1879px x 56px
    body=1879px x ?

    I never set these widths and I have no idea how to fix it.

    I tried to add:

    max-width:1560px;

    to the html/head/body css but it did not do it.

    I am lost
    Thanks,

    Bud

  4. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,882
    Thanks
    16
    Thanked 288 Times in 287 Posts
    Blog Entries
    4

    Default

    The best thing would probably be to recreate the page again, step by step.

    Maybe the RSS feeds are pulling across their own formatting? Try adding back one at a time and check in Chrome Dev Console for likely suspects.
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  5. #5
    Join Date
    Jan 2011
    Location
    Southeastern CT
    Posts
    586
    Thanks
    41
    Thanked 27 Times in 27 Posts

    Default

    change this

    o && window.scrollTo(o.left - 25, o.top - 25);

    to this

    o && window.scrollTo(0, o.top - 25);

    worked just fine,

    thanks John
    Thanks,

    Bud

Similar Threads

  1. Help with website header width
    By organza in forum CSS
    Replies: 1
    Last Post: 10-14-2011, 10:13 AM
  2. website not refreshing correctly
    By ricmetal in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 03-17-2009, 08:11 AM
  3. Replies: 2
    Last Post: 07-04-2008, 11:56 PM
  4. footer not lining up correctly *help*
    By Humper in forum CSS
    Replies: 2
    Last Post: 10-04-2006, 07:55 PM
  5. Website not displaying correctly
    By snakeyes37 in forum Other
    Replies: 1
    Last Post: 12-31-2005, 07:33 AM

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
  •