css help

Discussion in 'CSS' started by atforums.digitalpoint, Jul 9, 2012.

  1. #1
    Hi everyone, I have two issues on my site i am trying to fix, wondering if anyone here might be able to help me out.

    One is that I want to get rid of all the visited links in my site. I don't want a different color for links that have been visited.

    The other issue is a height issue with text in my side bar. On the front page of mindfulnessangermanagement.com, on the right side it says: "Get the program..." That text is a little lower than the text in the centre top of the page. I want to bring it up but have not figured out a way to get it to line up properly.
     
    atforums.digitalpoint, Jul 9, 2012 IP
  2. matt_62

    matt_62 Prominent Member

    Messages:
    1,827
    Likes Received:
    515
    Best Answers:
    14
    Trophy Points:
    350
    #2
    this will solve your link issues -> just place this in your css file, then set the colour to whatever you want, if its all the same colour then there wont be any difference.

    a:link {color:#FF0000;} /* unvisited link */
    a:visited {color:#00FF00;} /* visited link */
    a:hover {color:#FF00FF;} /* mouse over link */
    a:active {color:#0000FF;} /* selected link */
    reference: http://www.w3schools.com/css/css_link.asp

    Whatever css and divs are setting your right widget, just reduce the padding or the margin on the top and that should move it up. I sadly dont have the time to try to find which one of your various stylesheets and which one of your dozens of divs and classes does what in your site.
     
    matt_62, Jul 9, 2012 IP
  3. WebFerret

    WebFerret Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    a {
    color: #000;
    }
    Will make all your links black, change the color to what ever you wish.

    For the div issue I normally start a CSS file with the code:
    * {
    margin: 0;
    padding: 0;
    }

    Which removes padding and margins from all elements allowing my to 'start from scratch'.
     
    WebFerret, Jul 9, 2012 IP