Home  >  Article  >  Web Front-end  >  Navigation bar_html/css_WEB-ITnose

Navigation bar_html/css_WEB-ITnose

WBOY
WBOYOriginal
2016-06-24 11:48:53993browse

Set the highlight style in a's css

  • float:left - Use float to slide block elements towards each other.
  • display:block - Displaying the link as a block element makes the entire link area clickable (not just the text), and also allows us to specify the width.



  • Untitled Document