I'm currently working on my personal website and I'm looking to create a tab-like effect (similar to word processors) for showcasing projects along with their descriptions. Here's an example layout:
ReallyLong NameProject Project1 Description
FooBar Project Project2 Description
I've attempted to use a table with cell spacing set to 10px, but I only want the spacing to be applied on the right side of each cell. Unfortunately, I haven't come across any CSS examples that demonstrate how to achieve this specific spacing configuration. Is there a way to make it work?
I also attempted adding the following code in the CSS file, however, it didn't have the desired effect:
table {
padding-right: 10px;
}
Thank you in advance for any guidance or insights.