GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   CSS Ninjas: Your clear fix! (https://gfy.com/showthread.php?t=942074)

Killswitch - BANNED FOR LIFE 12-06-2009 01:55 PM

CSS Ninjas: Your clear fix!
 
Alright, so I'm working on a 100% CSS/Div design and I've Googled around and nobody has a definite good clear fix for CSS, what do you guys use?

Deej 12-06-2009 01:58 PM

clear:both? whachaoutalkinboutwillis!>!?>!?

Killswitch - BANNED FOR LIFE 12-06-2009 02:06 PM

I have a div with 3 more divs inside of it, those 3 divs use absolute positioning and left attributes to put them where I want them, I then do .clearFix:after { clear: both; } and set the class of that parent div to clearFix but it's still showing the bottom of the div right up against the bottom of the 3 divs instead of the 15px padding there is supposed to be...

Deej 12-06-2009 02:10 PM

Quote:

Originally Posted by Killswitch (Post 16620432)
I have a div with 3 more divs inside of it, those 3 divs use absolute positioning and left attributes to put them where I want them, I then do .clearFix:after { clear: both; } and set the class of that parent div to clearFix but it's still showing the bottom of the div right up against the bottom of the 3 divs instead of the 15px padding there is supposed to be...

OMFG youre using padding?

start over...

Deej 12-06-2009 02:11 PM

can you show me your code?

Killswitch - BANNED FOR LIFE 12-06-2009 02:14 PM

Quote:

Originally Posted by Deej (Post 16620439)
OMFG youre using padding?

start over...

I hate you... :(

Killswitch - BANNED FOR LIFE 12-06-2009 02:16 PM

Quote:

Originally Posted by Deej (Post 16620440)
can you show me your code?

Sent you a link over ICQ.

sysk 12-06-2009 02:19 PM

overflow:auto should do it

MIDDLE CLASS BLACK MAN 12-06-2009 02:28 PM

why dont you ask jack oat oh wait thats you

mechanicvirus 12-06-2009 02:29 PM

im just here to troll really i have no actual useful information to give

Sands 12-06-2009 02:45 PM

Quote:

Originally Posted by Killswitch (Post 16620432)
I have a div with 3 more divs inside of it, those 3 divs use absolute positioning and left attributes to put them where I want them, I then do .clearFix:after { clear: both; } and set the class of that parent div to clearFix but it's still showing the bottom of the div right up against the bottom of the 3 divs instead of the 15px padding there is supposed to be...

1) Whenever possible, avoid using absolute positioning and instead use float/margin/padding and allow the divs to "fall" into place within the parent element.

2) The :after pseudo-class may not work on older browsers.

3) Setting an overflow attribute for the parent element, whether it's "auto" or "hidden", should be sufficient to clear the floats.

Killswitch - BANNED FOR LIFE 12-06-2009 02:53 PM

Quote:

Originally Posted by MIDDLE CLASS BLACK MAN (Post 16620459)
why dont you ask jack oat oh wait thats you

Sorry to burst your bubble Cam, but I'm not this Jack OAT guy you're talking about, I have seen him posting around though, no idea what makes you think he's me... Can even have Eric prove it if you want.

SmokeyTheBear 12-06-2009 02:57 PM

Quote:

Originally Posted by Killswitch (Post 16620514)
Sorry to burst your bubble Cam, but I'm not this Jack OAT guy you're talking about, I have seen him posting around though, no idea what makes you think he's me... Can even have Eric prove it if you want.

That's exactly what Jack Oat would say :winkwink:

just teasin , i dont know who jack oat is either

Killswitch - BANNED FOR LIFE 12-06-2009 03:02 PM

Quote:

Originally Posted by SmokeyTheBear (Post 16620527)
That's exactly what Jack Oat would say :winkwink:

just teasin , i dont know who jack oat is either

I bet you're Jack OAT! :mad:

Deej 12-06-2009 03:06 PM

Quote:

Originally Posted by Sands (Post 16620495)
1) Whenever possible, avoid using absolute positioning and instead use float/margin/padding and allow the divs to "fall" into place within the parent element.

2) The :after pseudo-class may not work on older browsers.

3) Setting an overflow attribute for the parent element, whether it's "auto" or "hidden", should be sufficient to clear the floats.

Hey hey hey....

get back to your cage...

http://www.stlwater.com/images/hose2.jpg

Sands 12-06-2009 03:30 PM

Quote:

Originally Posted by Deej (Post 16620542)
Hey hey hey....

get back to your cage...

:1orglaugh

Angry Jew Cat - Banned for Life 12-06-2009 03:56 PM

Dear Sands, what are your rates for "Kitten Punching"?

Agent 488 12-06-2009 04:05 PM

who is jack oaf?

Sands 12-06-2009 04:06 PM

Quote:

Originally Posted by Angry Jew Cat (Post 16620641)
Dear Sands, what are your rates for "Kitten Punching"?

Depends on the type of kitten and the kung fu style you'd like me to use. For example, Phoenix Eye Fist on a newborn tabby will run you about $25/hour, whereas the tried and true Crane Style on one of those newfangled breeds will be $50/hour and will require an initial deposit.

Deej 12-06-2009 04:24 PM

Quote:

Originally Posted by Sands (Post 16620654)
Depends on the type of kitten and the kung fu style you'd like me to use. For example, Phoenix Eye Fist on a newborn tabby will run you about $25/hour, whereas the tried and true Crane Style on one of those newfangled breeds will be $50/hour and will require an initial deposit.

Let me know when youre fluent in friday night baby punching... need some fists of fury on the team...

Killswitch - BANNED FOR LIFE 12-06-2009 04:29 PM

Quote:

Originally Posted by Agent 488 (Post 16620649)
who is jack oaf?

Apparently it's me... :upsidedow

Nysus 12-06-2009 05:32 PM

I'd like to hire someone for kitten punching too. In the next few days. Please ICQ me with your rates. Thanks.

Glenn Beck 12-06-2009 07:25 PM

Computerized
Secret
Socialism

Catalyst 12-06-2009 07:45 PM

lets see the design you are working on

Deej 12-06-2009 07:57 PM

Quote:

Originally Posted by Catalyst (Post 16621023)
lets see the design you are working on

problem solved :thumbsup

Killswitch - BANNED FOR LIFE 12-06-2009 08:00 PM

Quote:

Originally Posted by Deej (Post 16621045)
problem solved :thumbsup

:thumbsup

Jack OAT 12-06-2009 10:03 PM

Quote:

Originally Posted by MIDDLE CLASS BLACK MAN (Post 16620459)
why dont you ask jack oat oh wait thats you

uhhhhhhhhhhhhhhhhhhhhh whuuuuuut? I answer css questions. I don't ask them.

fatfoo 12-06-2009 10:07 PM

Bump for Killswitch and CSS.

CPimp 12-06-2009 10:28 PM

I think he fixed it.

potter 12-07-2009 12:04 AM

Quote:

Originally Posted by sysk (Post 16620454)
overflow:auto should do it

lol.. because the element wouldn't be set to that already right?



.
.
.
.
.

Seriously, I could fix this in two seconds with your code. that, and what browser the problem is in. specially cause you mentioned padding. they all like to handle padding differently a lot of the time.

<div problem element>
::all divs inside this element::
</div>

then the css as well

.problem_element{
}
::all divs inside this element::

*all elements as well, not just divs. i mean p's span's, anything with css styling


... Seriously, me best bet is that you have some floats somewhere which aren't being cleared.

like;

div <<-this
div
float float
div
div
div
float
div
div
float float

"this" div, won't know the end of it's content unless every one of those floats are cleared. big thing to remember is to make sure each one of your floats are cleared. guarantee that solves your problem

wdforty 12-07-2009 04:20 AM

Clearing is for floats you can't clear an absolute element

Killswitch - BANNED FOR LIFE 12-07-2009 07:04 AM

Quote:

Originally Posted by Jack OAT (Post 16621268)
uhhhhhhhhhhhhhhhhhhhhh whuuuuuut? I answer css questions. I don't ask them.

Who are you and why do these idiots think I'm you?

Zuzana Designs 12-07-2009 07:39 AM

Quote:

Originally Posted by sands (Post 16620654)
depends on the type of kitten and the kung fu style you'd like me to use. For example, phoenix eye fist on a newborn tabby will run you about $25/hour, whereas the tried and true crane style on one of those newfangled breeds will be $50/hour and will require an initial deposit.

lolz!!........

Killswitch - BANNED FOR LIFE 12-07-2009 07:42 AM

Hey Zuzana, can you please leave me some examples of dump site designs you've done please, and thank you.

munki 12-07-2009 09:34 AM

I love Cock Sucking Sluts...

Killswitch - BANNED FOR LIFE 12-07-2009 01:23 PM

Quote:

Originally Posted by munki (Post 16622419)
I love Cock Sucking Sluts...

http://n2.nabble.com/file/n3190268/t...ll-me-bish.jpg

Agent 488 12-07-2009 01:34 PM

who is josh dirt?

Killswitch - BANNED FOR LIFE 12-07-2009 01:40 PM

Quote:

Originally Posted by Agent 488 (Post 16623306)
who is josh dirt?

No idea.

munki 12-07-2009 01:52 PM

Quote:

Originally Posted by Killswitch (Post 16623247)

:1orglaugh:1orglaugh

CSS =

Cock
Sucking
Sluts

Killswitch - BANNED FOR LIFE 12-07-2009 01:53 PM

Quote:

Originally Posted by potter (Post 16621503)
lol.. because the element wouldn't be set to that already right?



.
.
.
.
.

Seriously, I could fix this in two seconds with your code. that, and what browser the problem is in. specially cause you mentioned padding. they all like to handle padding differently a lot of the time.

<div problem element>
::all divs inside this element::
</div>

then the css as well

.problem_element{
}
::all divs inside this element::

*all elements as well, not just divs. i mean p's span's, anything with css styling


... Seriously, me best bet is that you have some floats somewhere which aren't being cleared.

like;

div <<-this
div
float float
div
div
div
float
div
div
float float

"this" div, won't know the end of it's content unless every one of those floats are cleared. big thing to remember is to make sure each one of your floats are cleared. guarantee that solves your problem

Brian, hit me up on AIM sometime, fknvdscom, I wanna talk with you about some stuff. Your designs suck, but you are good with CSS, and I want an old design I made that uses tables converted to 100% CSS/Divs and I want it to be good, if the price is decent I want you to do it.

Agent 488 12-07-2009 01:56 PM

Quote:

Originally Posted by Killswitch (Post 16623375)
Your designs suck, but you are good with CSS

you have a way with words.

Killswitch - BANNED FOR LIFE 12-07-2009 02:05 PM

Quote:

Originally Posted by Agent 488 (Post 16623389)
you have a way with words.

He knows I think his designs suck, I've been telling him it for what... 6 years or so.

»Rob Content« 12-07-2009 02:30 PM

I am jerking off right now

I'm on webcam

feel me

cyber 12-07-2009 03:43 PM

Quote:

Originally Posted by Killswitch (Post 16620432)
I have a div with 3 more divs inside of it, those 3 divs use absolute positioning and left attributes to put them where I want them, I then do .clearFix:after { clear: both; } and set the class of that parent div to clearFix but it's still showing the bottom of the div right up against the bottom of the 3 divs instead of the 15px padding there is supposed to be...

Everything you're doing is useless.

You don't clear absolutes. And by "left attributes" I hope you don't mean you're floating them left because that's useless, too (on absolute elements).

If you have it like this:

<div>
<div ABSOLUTE1></div>
<div ABSOLUTE2></div>
<div ABSOLUTE3></div>
</div>

Then set a minimum height for the container DIV. Positioning an element as absolute takes it out of the regular flow of the design, and so it doesn't really take up any space as a normal box would.

Killswitch - BANNED FOR LIFE 12-07-2009 03:46 PM

Juan! Send me a message on AIM, when I get back tonight I wanna talk with you.

fknvdscom


All times are GMT -7. The time now is 05:52 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc