+ 2

Can anyone please help me with this

how to add class border for an image with thick green border width 10px and solid style..how can we use class in class like <img class="class1 class2">

23rd Apr 2017, 1:01 PM
Angelina Vaddeswarapu
Angelina Vaddeswarapu - avatar
18 Respostas
+ 13
Oh gosh. I apologize on behalf of my imposter for the inconvenience caused. I'm the real, one and only Hatsy Rei. :>
23rd Apr 2017, 3:38 PM
Hatsy Rei
Hatsy Rei - avatar
+ 13
@Angelina Sry for your inconvenience. This wasn't the 'true' Hatsy Rei' but a fake account. The posts of this user are now invisible and the account will hopefully be deleted soon.
23rd Apr 2017, 2:02 PM
Tashi N
Tashi N - avatar
+ 13
@Tim Here in the thread? Or on the fake profile? Pls, let it only be the profile -.- @Angelina If you or anyone else ever experience something like this again pls contact your nearest mod and SoloLearn (info@sololearn.com) immediately. Thx!
23rd Apr 2017, 2:10 PM
Tashi N
Tashi N - avatar
+ 10
I thought Rei was a girl?
23rd Apr 2017, 2:38 PM
Karl T.
Karl T. - avatar
+ 9
well the real Hatsy Rei will be so mad .....== (sorry this is not a answer 😅😅😅) [edited ] ops wrong spelling 😅😅😅 sry.
23rd Apr 2017, 2:13 PM
Leon lit
Leon lit - avatar
+ 8
@Leon he's more angry when people call him Hasty instead Hatsy i think
23rd Apr 2017, 2:16 PM
Burey
Burey - avatar
+ 6
change class to class="smaller-image thick-green-border" If you have multiple classes, u divide them with a spacing.
23rd Apr 2017, 1:20 PM
Tim G
Tim G - avatar
+ 6
@Tashi, nvm profile got deleted (-:
23rd Apr 2017, 2:13 PM
Tim G
Tim G - avatar
+ 5
Because your source has to be inside quotes ':p src="URL"
23rd Apr 2017, 1:24 PM
Tim G
Tim G - avatar
+ 5
@Tashi, i can still see them
23rd Apr 2017, 2:03 PM
Tim G
Tim G - avatar
+ 4
<!DOCTYPE html> <html> <head> <title>Page Title</title> <style> .class1{ border:10px solid green; } .class2{ width:50px; height:50px; } </style> </head> <body> <img class="class1 class2" src="https://pbs.twimg.com/profile_images/378800000242038210/3c561ae8a8bbf4d8f7c3428e49a92e51_400x400.png" /> </body> </html> here's a full working example notice the <style> tag in the header class1 and class2 each have a different scope in the CSS style in this example class1 sets the border and class2 sets the width and height settings
23rd Apr 2017, 1:11 PM
Burey
Burey - avatar
+ 3
datz okay â˜șbe aware my friend...
23rd Apr 2017, 3:42 PM
Angelina Vaddeswarapu
Angelina Vaddeswarapu - avatar
+ 2
thanqu dat was helpful
23rd Apr 2017, 1:26 PM
Angelina Vaddeswarapu
Angelina Vaddeswarapu - avatar
+ 1
<style> .smaller-image{width:100px;} .thick-green-border{border-color:green; border-width:10px; border-style:solid;} </style> <img class="smaller image""thick-green-border"src=https://bit.ly/fcc.relaxing-cat"alt="A cute orange cat lying on it's back."> i did like dis but itz not happening
23rd Apr 2017, 1:18 PM
Angelina Vaddeswarapu
Angelina Vaddeswarapu - avatar
+ 1
i've tried dat one also still not workng
23rd Apr 2017, 1:23 PM
Angelina Vaddeswarapu
Angelina Vaddeswarapu - avatar
+ 1
first try to learn some manners and mind ur bldy words mistsr and then programming hatsy rei
23rd Apr 2017, 1:28 PM
Angelina Vaddeswarapu
Angelina Vaddeswarapu - avatar
+ 1
thanqu tashi N
23rd Apr 2017, 2:04 PM
Angelina Vaddeswarapu
Angelina Vaddeswarapu - avatar