Jump to content

[SOLVED] background margin


jaymc

Recommended Posts

I am using background: to use an icon in a menu

 

using no-repeat and position right I can float the icon to the right hand side of the menu

 

Works great

 

However, I want the position of the icon to be aligned to the right but with a bit of extra padding from the right hand side

 

Is it possible to do this?

 

background-position:right aligns the background image tight to the right. I need padding/margin

Link to comment
https://forums.phpfreaks.com/topic/164781-solved-background-margin/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.