I am having a little trouble organizing my footer with social media links too this is what I have so far in my HTML and CSS: the linked icon is off not sure if I have the right coding and organization I want it next to the words “Find Us” IOG Products
You selected all anchors in #footer to be floated. You can’t have it floated since there just isn’t enough room (Find Us gets dropped.)
The display inline-block is so we can mess with the vertical alignment
The vertical-align is to line up the image with the text
The padding is to stop the default padding you set on #footer a{} which would otherwise screw up alignment
So I decided to make use of <table> tags instead for better organization but im having spacing issues in my <td> selectors are having space issues not sure why they are spaced out so much.
What kind of “space” are you looking for? The table is behaving as expected. The cells are as wide as needed. The right alignment you are seeing are because of the left padding you have set on #footer a{}. Removing the padding would show an even smaller table.
You have to balance organization and semantics. You had no need for tables (HTML Tables) in this case.
Now you need to become familiar with these two CSS values.
display:table;
display:table-cell
Pretty self explanatory. Display:table replicates <table> while display:table-cell replicates <td>.
Now take your footer code and apply this code where appropriate. You will want to remove all floating you have in the footer.
Give it some thought. If you get stumped, come back.
You’ve made your code into HTML tables already, so it should be easy for you. This is just making it more semantic, clean, and separating design from content .