The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Text Inline With Image Not Working
Hello I have created a ul list for my column for one of my footers.
I tried giving a nice margin between the image and text but couldn’t get it to work also not in middle ish.
http://codepen.io/mwbcomputers/pen/szoud
you have set the image to vertical-align: top and have no right margin to separate it from the text. try this:
.column5 img { margin: 0 10px; vertical-align: middle; }
thanks worked will remember that now