Simon-JustGoodJuju Posted January 25, 2020 Posted January 25, 2020 This is a very basic coding question.... I understand how to apply style to a block, using it's Block ID but how do I apply the style to TWO or more Blocks without repeating the code for each one? So instead of: div#block-yui_xxx{ padding-top:0; } div#block-yui_yyy{ padding-top:0; } I get something like div#block-yui_xxx AND div#block-yui_yyy{ padding-top:0; } Sorry - I found it.... div#block-yui_xxx, div#block-yui_yyy{ padding-top:0; }
tuanphan Posted January 26, 2020 Posted January 26, 2020 id1, id2, id3, id4 {your code} Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.