html/css header

by 6 replies
7
i made a header with 5 links in it, however when i move mouse over one of the links the other link next to it moves a little bit.. how do i avoid that?
#website design #header #html or css
  • Can you show us your code?
  • Hi Nulen, maybe set specific line-height, padding, margin for them? or no font-size adjustments when you hover. something like those. but I am sure some adjustments are happening when mouse over'ed and can be handled by styling.
  • Banned
    [DELETED]
  • I'm guessing you have the hover property set to either make the font bold, or possibly to increase the size.
  • you will need to set several property (font-size, font-weight, etc depend on your css code) for hover, active and normal link condition
  • Hi
    You are trying to put links in your header right
    Define each as H1 - H5
    Make sure the line spacing, padding and tables (if used) are perfect, try to your Div rather than tables
  • Banned
    [DELETED]

Next Topics on Trending Feed

  • 7

    i made a header with 5 links in it, however when i move mouse over one of the links the other link next to it moves a little bit.. how do i avoid that?