- 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 two pages listed below, with pantone or transfer film colors and names of each respective color. I am new, so I got them to look ok, but I’m self conscious about how poorly I arrived at my end product.
How can I do this the right way? A way that will give me more control over spacing of the column and rows and a way that will clean it up.
See links here:
http://superluxefibers.com/stock-ink-colors/
http://superluxefibers.com/services/transfer-film/
Best, Jon
Jon,
Personally, I avoid using table when I can. It seems that both your layout us six columns. I would recommend you use divs in place of tables. You’ll then be able to easily style your columns/divs with css. Like so:
http://codepen.io/Martin-Duran/pen/tqEDw
Now, you have control the look of the containers, and their contents, with simple css.
Exactly what I was looking for Martin!!! Thank you very much. I will change this as soon as I can.
Best,
Jon
@Martin, your suggestion works in CodePen, but for some reason I have it isolated and preview it in Safari it doesn’t work. Nor does it work with my wordpress site. I have a grey background and no red boxes. I simply did a copy and paste.
What is going on? Let me know what I messed up.
Best,
Jon
pittles86,
I looked at your site, which I’m a big fan of, by the way, and didn’t see any issues. I noticed your using divs classed as”one-sixth.” Since this is the direction I gave you, is it working now? What troubles are you having?