You are not logged in. Login or Signup
Home » Talk » Message 6205586 (Thread)

I've been making virtual machines blue screen for lulz
I need to get out more
(, Sun 7 Jun 2009, 2:45, archived)
I saw that.
I have a terrible CSS problem that I am sure has a very simple and obvious answer.


.thrColLiqHdr #mainContent {
height: 650px;
padding-right: 15px;
padding-left: 15px;
display: block;
}


A DIV uses the above. It has a floating DIV either side of it. For some reason, the padding on mainContent is ignored in both FF and IE.

WHY? It's fucking retarded. It shows correctly if I use my FF IE plugin.
(, Sun 7 Jun 2009, 2:47, archived)
haha, you're doing three-column liquid layout
fuck that, it's for dullards who worry about XHTML compliance

PUT IT IN A TABLE AND STOP BEING A HTML NERD
(, Sun 7 Jun 2009, 2:49, archived)
I'm not worried about compliance you big mess.
It happens to suit my purposes.

YOU JUST DON'T KNOW WHY.
(, Sun 7 Jun 2009, 2:51, archived)
every time I start on that 3 column CSS rubbish I end up scrapping it, it's more trouble than it's worth
but I'm bored so if you want to zip up some html and css I'll take a look at it for you
(, Sun 7 Jun 2009, 2:55, archived)
or
you could try putting a div with 15px padding and 650px height inside #mainContent

that's the lazy way to fix it
(, Sun 7 Jun 2009, 3:06, archived)
Yeah, but I found another way!
I just gave a margin to the two floating DIVs either side instead. FIXED.
(, Sun 7 Jun 2009, 3:19, archived)