If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    May 2011
    Member #
    Hello, im sorry for being the guy who sings up to a help forum and immediately starts asking for help. Ill be sure to contribute as much as i can, whenever i can, down the track.

    I am making a website for someone, and i thought everything was fine (and it seems to be on my computer). But from everyone elses computer everything seems to go wrong. Even when they are using the same browser and browser version as me.

    The header seems to move to the right/left when moving through the nav bar and when each link in the nav bar is visited it seems to change the style of the visited link... but i cant seem to change it so it stays normal.

    Any help would be greatly appreciated. Many thanks in advance.


  3. #2
    WDF Staff George Dolidze's Avatar
    Join Date
    Apr 2011
    Irvine, CA
    Member #
    416 times
    I see what you mean. The 'about' and 'opinions' have the <h1> shifted to the right a little in FF. And the visited nav styles only change in IE.
    I think I know your problem though. Before adding the subclasses to a, you first have to define the a.
    So first you type the properties into
    #menu-h a{
    /*your attributes*/
    And then you define the changes in the subclasses.
    #menu-h a:link{
    /*what you want to change in the link*/
    #menu-h a:visited{
    /*this is where IE is getting your visited from*/

    What the subclasses do is inherit the attributes from the #menu-h a{}, which you don't have, and then replace some of those attributes with whatever you typed into the subclass. I think that's whats messing with your menu.
    I wouldn't use a:visited at all for your site though, it's useless.
    TheGAME1264 likes this.
    My freelancer website: DolidzeDesign

    You only need a parachute if you plan on skydiving twice.

  4. #3
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Not from USA
    Member #
    2784 times
    No need to apologize, James. We've all been that guy.

    I saw the shifting behavior George mentioned, but only on pages that didn't contain a vertical scrollbar. Once the scrollbar shows up, it takes a certain chunk of real estate and moves the rest of your layout to the left to compensate for that. That's normal, and I wouldn't go changing anything just because of that. If you did anything, however, the only thing you really could do (and even this wouldn't work in all cases) is to define a min-height for your content area. And again, I wouldn't.

    Other than that, it's what George said. Alternatively, if you want your visited link to appear "normal" (and by "normal", I'm assuming you mean the way it appears before you visit the page), just take the #menu-h a:visited style out completely. Don't even use it. There's absolutely nothing that says you have to.
    phillihp likes this.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

  5. #4
    Join Date
    May 2011
    Baltimore, MD
    Member #
    11 times
    lol, TheGAME is right. We have all been there.

    Looks great on my Mac, w/ Chrome.
    Check out my blog @

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 03:59 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: