- This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- The forum ‘CSS’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Hello,
I have a problem with alignment of the buttons within the cell.
Just can’t get button columns on the right to be one pixel away from each other.
You can see the example here on the right:
http://binaryoptionstrading-review.com/
Hope someone can help me with this.
Thanks in advance!
Ante
Is that example the actual site you are working on because it’s not clear.
If NOT, we’d need to see what you have so far,ideally in a Codepen.io example.
Hi Paulie,
Yes, I’m working on it and it’s the site on the link.
I want to get blue button column 1px vertically away from the green button column.
Let me know if you need any more information to help me.
Thanks!
I’m a little confused by the HTML structure..
You seem to have divs in divs inside a span (spans aren’t supposed to hold block level elements) and finally a link inside all of that.
All it really needs is for that particular cell to have a bg color and have the link inside it…I’m not sure what all the rest of the stuff is doing.
table th, table td {
padding: 1px;
text-align: left;
vertical-align:middle;
}
and add this
td a{display:block;}
Thanks jurotek. Now it works perfectly!