2015-07-08, 06:04 PM
Alright so I'm trying to do coding for Borders and Backgrounds. I want them to be separate codes So if someone wants only the background they can only get a background and vice versa. So I added padding to both codes But I also want them to blend when used together so yeah. Essentially I want to do this: (Its on another site)
![[Image: demo_zpsrpbikayf.png]](https://camo.mybb.com/91a6f04c0090745663ba49d8b9bcca7c8dfe0690/687474703a2f2f69352e70686f746f6275636b65742e636f6d2f616c62756d732f793139392f736875726131312f64656d6f5f7a7073727062696b6179662e706e67)
And this is what I keep getting on my site
![[Image: demo2_zpsmglully0.png]](https://camo.mybb.com/7072760fc13ad0a1c33e003869149a8ab48b90d1/687474703a2f2f69352e70686f746f6275636b65742e636f6d2f616c62756d732f793139392f736875726131312f64656d6f325f7a70736d676c756c6c79302e706e67)
SO im not sure what to do... if it involves just the Mybb thing or if I also have to go into the CSS. I appreciate any help given.
And this is what I keep getting on my site
SO im not sure what to do... if it involves just the Mybb thing or if I also have to go into the CSS. I appreciate any help given.
Border: <div style="border-style:$1; border-color:$2; border-width:$3;padding:10px;">$4</div>
Background: <div style="background-color:$1; background-image: url($1); padding:10px;">$2</div>