Jump to content

Image Have Gaps In Between


Narwhal
 Share

Recommended Posts

I need some help. I can't get my link buttons to sit next to each other. Here's the link. Below is the stylesheet. What am I doing wrong and why? If I could ask one more thing; I would like an explanation to the solution please :) I need to learn!

#mantle { position:relative; border: 0; margin-left:auto; margin-right:auto; height:600px;}.linkbar { position:relative; display:inline; top:0; right:0; width:auto; height:35px; padding: 0px; border: 0px; margin: 0px;}

Link to comment
Share on other sites

The real problem is that there are line breaks between each <span> element and the next. Each line break is rendered as a space. You should put all the HTML on the same line if you don't want spaces between the images.

Edited by Ingolme
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...