Site icon Hip-Hop Website Design and Development

Add type="" to html generated by wp_nav_menu

I need to add some further html attributes to the default div html generated by wp_nav_menu. I want so as to add easy code for instance a brief type code:
type="top:10px;"
I am unable to do what I’m doing in a css file; the html must be added within the php.
I’ve checked out many examples, of walkers, substitute codes like str_replace. I am unable to discover a resolution that features the way in which I envision it precisely.
I desire to not use a walker code that’s ten pages lengthy php code only for doing this easy code addition.
If there’s not a easy means, the choice is to wrap the menu in a second div and that’s what I’ll do most likely if I am unable to discover one other means; however I would like to be taught a easy means so as to add the html code to the unique div generated by wp_nav_menu.