![]() |
CSS experts - I need help
I'm trying to get off my lazy ass and clean up my code.
How can I center 3 thumbs in a post with CSS? http://surfcuties.com/ See the post: "Blond with Big Tits at Pool" how to do that without a table? I've tried about 10 different things and nothing is working |huh **and yes I know my xLabor templates are table based and sucky. I'm going to convert it slowly... |
Ok - never mind - I figured it out.
By the way - don't buy any xlabor templates - I'm looking through the CSS and it really sucks. Lots of IDs are used where Classes should be used and a bunch of other stuff.... |
Just 3 pics?
The easiest way I can think of would be something to this effect: Code:
|
Quote:
|
Quote:
and in CSS: .3pics { margin-left: 12px; } I was making it way too complicated trying to figure out a way to do it with auto margin and screwing with floats. Then I figured it would just be a lot easier to put a fixed margin on each of left sides. |
NobleSavage,
I don't think you can name a class beginning with a number. I ran into that problem once before. Make sure you test that in multiple browsers. ;) |
Quote:
|
Nit-picking for sure, but margin: 0px 6px; would center them fully...
|
Quote:
Good point. I'll center that way from know on. |
Quote:
|
I have found this way works good for me and allows for dynamic centering of images in all browsers:
![]() ![]() ![]() One note: For it to work in IE, you have to make sure your DOC TYPE is set correctly. |
All times are GMT -4. The time now is 03:35 AM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc