The Cache: Technology Expert's Forum
 
*
Welcome, Guest. Please login or register. September 16, 2019, 11:43:09 PM

Login with username, password and session length


Pages: [1]
  Print  
Author Topic: I FUCKING HATE CSS  (Read 5349 times)
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« on: July 03, 2008, 03:13:35 PM »

god dammit. i just wasted a goddam half a day because my brain wont let me move on until i figure out a stupid problem.

three divs, each with a few images in them
<div>image1 image2 image3</div>
<div>image1 image2 image3</div>
<div>image1 image2 image3</div>

In FF you end up with space at the bottom of each div, inside. Soooo.
you would think padding:0 would fix it? wrong!
so then you try every damn thing under the sun....
*{padding:0;margin:0;border:0;border-collapse:collapse;}

wrong!


so whats the answer you ask?
Oh, it makes perfect sense, if you are a retarded monkey.

img{float:left;}

seriously?!?!?! WTF?!

the problem is on the BOTTOM of the DIV, but by floating LEFT it fixes it.
I understand why i think, but I dont care if it has some valid reason.

ITS FUCKING STUPID AND MAKES NO SANE SENSE.

and that is all.
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
perkiset
Olde World Hacker
Administrator
Lifer
*****
Offline Offline

Posts: 10096



View Profile
« Reply #1 on: July 03, 2008, 03:42:14 PM »

I wish I could ROFLMAO but I spend too much time  Cry because you are 100% correct.

I'm getting better as I build my own standard libraries, but it is a MAJOR fucking hassle if your consistency minded.  Undecided
Logged

It is now believed, that after having lived in one compound with 3 wives and never leaving the house for 5 years, Bin Laden called the U.S. Navy Seals himself.
nutballs
Administrator
Lifer
*****
Offline Offline

Posts: 5627


Back in my day we had 9 planets


View Profile
« Reply #2 on: July 03, 2008, 04:02:13 PM »

I get alot of it, i really do.
but seriously, that one makes my head hurt.

"if you want to remove the 'padding' from the bottom of a div with an image in it, you need to add float:left; to the image style"

had to just say it again. it kinda sucks the wind out of you. like you know when you go to drink something, you were expecting it to be cola, but instead it was iced tea, and how your brain kind of has a seizure because of it.
Logged

I could eat a bowl of Alphabet Soup and shit a better argument than that.
DangerMouse
Expert
****
Offline Offline

Posts: 244



View Profile
« Reply #3 on: July 03, 2008, 04:20:15 PM »

I'm so glad I'm not the only one who hates CSS! Such a pain in the arse, particularly as I always have a very specific idea on how i want something to look.

DM
Logged
arms
Expert
****
Offline Offline

Posts: 235



View Profile
« Reply #4 on: July 08, 2008, 07:05:34 PM »

i concur. Nerd
Logged
Pages: [1]
  Print  
 
Jump to:  

Perkiset's Place Home   Best of The Cache   phpMyIDE: MySQL Stored Procedures, Functions & Triggers
Politics @ Perkiset's   Pinkhat's Perspective   
cache
mart
coder
programmers
ajax
php
javascript
Powered by MySQL Powered by PHP Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS!