Want some advice regarding markup and layout
# February 12, 2013 at 11:48 pm
Hey guys. So, from all the open standards thing, CSS is being the most painful one for me. With lots of effort and study I’m getting better but there’s still a long ride.
So, I’m creating this thing and I want some advice on the markup I’m using and the CSS techniques I’m using. [I’ve put a snippet on CodePen so you guys can take a look](http://cdpn.io/uebCL).
What do you guys think?
Another thing is that I want to add two labels as a slogan with the image in between. It should look like this:
What is the best markup to do it? Two `
` with different ids? A `
`? And how can I put them between the image? Inside the `#shoe` container? Outside? Why?
- `? Two `
Well, very stupid questions, I know but I want to understand the right way of doing it.
Thanks in advance.# February 13, 2013 at 12:28 am
This is what I landed on:
Removed the wrapping `#shoe` div as it was unnecessary. By going `inline-block` on all of the elements you can easily align them together – just remember to use all of the proper fallbacks for it: http://blog.mozilla.org/webdev/2009/02/20/cross-browser-inline-block/
You must be logged in to reply to this topic.