Welcome to Gaia! ::

The Gaian Graphic Designers Guild

Back to Guilds

Gaia's official Graphic Design Guild for all things profiles, logos, graphics and much much more! 

Tags: Graphic, Design, Digital art, Photoshop, Profiles 

Reply The Gaian Graphic Designers Guild
CSS Annoyance: Float Too Buoyant!

Quick Reply

Enter both words below, separated by a space:

Can't read the text? Click here

Submit

Levilprivateer

PostPosted: Wed Mar 16, 2005 5:25 am


I've tried Web design forums, I've tried college instructors, and I've tired looking this up.. and it seems to be a problem of universal annoyance. Essentially, I want a floated layer to expand to fill the side of its containing layer from top to bottom, but the problem seems to be that floats are extrmely stubborn in doing so.

Template:

http://devmedio.com/ryan/

Please note that this page has since changed. If you're really interested, I can put up another model for you to view. I've started on the project, though, so I canned the original idea.

Ignore the image... the stretched face is an inside joke.

The .featurefloat div class is the class in question (the one with the dashed border). That layer should extend to the bottom of its container; it should be flush with the lower "searchdiv" layer. Aligning to 0px bottom and expanding to 100% height seem to fail. Ideas?

Aside: If you have weirdness in a browser, let me know. I've tested in Firefox, Opera, and IE and it works more or less the same... but I'm only one person.
PostPosted: Wed Mar 16, 2005 7:14 pm


Levilprivateer
I've tried Web design forums, I've tried college instructors, and I've tired looking this up.. and it seems to be a problem of universal annoyance. Essentially, I want a floated layer to expand to fill the side of its containing layer from top to bottom, but the problem seems to be that floats are extrmely stubborn in doing so.

Template:

http://devmedio.com/ryan/

Ignore the image... the stretched face is an inside joke.

The .featurefloat div class is the class in question (the one with the dashed border). That layer should extend to the bottom of its container; it should be flush with the lower "searchdiv" layer. Aligning to 0px bottom and expanding to 100% height seem to fail. Ideas?

Aside: If you have weirdness in a borswer, let me know. I've tested in Firefox, Opera, and IE and it works more or less the same... but I'm only one person.


I often run into similar problems. Never did figure it out, either xp I'm sorry I can't help...let me know if you figure it out.

DyslogistiK


Hizzahn

PostPosted: Wed Mar 16, 2005 11:41 pm


I don't know if this is the case for your site (I am too tired to look through your stylesheet right now), but I had the same problem and figured out why.

If you have something like




and your content text is longer than the overall frame, it will overlap and leave a gap of sorts. What I think happens is that the browser computes what 100% height is before it enters in the content. When the content is finally put into the layout, the length of the frame is already set. confused

If you try un-nesting some layers, it might work out for you. Sorry it is so hard to explain. This is why I don't make tuts or ever tutor. sweatdrop

P.S. It seems to display fine in my Firefox, but I know how that goes. Also! Your site is in my school's colors whee
PostPosted: Thu Mar 17, 2005 4:55 am


Hizzahn
I don't know if this is the case for your site (I am too tired to look through your stylesheet right now), but I had the same problem and figured out why.

If you have something like




and your content text is longer than the overall frame, it will overlap and leave a gap of sorts. What I think happens is that the browser computes what 100% height is before it enters in the content. When the content is finally put into the layout, the length of the frame is already set. confused

If you try un-nesting some layers, it might work out for you. Sorry it is so hard to explain. This is why I don't make tuts or ever tutor. sweatdrop

P.S. It seems to display fine in my Firefox, but I know how that goes. Also! Your site is in my school's colors whee


You don't attend Ryan Academy, do you?

I had originally designed the page with individual div layers, but IE threw a fit and decided to change the width of all of them to slightly differing widths. I had to go with a container box to fix the page. wink
To anyone looking now.... please note that I decided to change the design, so you'll not see the problem!

Levilprivateer

Reply
The Gaian Graphic Designers Guild

 
Manage Your Items
Other Stuff
Get GCash
Offers
Get Items
More Items
Where Everyone Hangs Out
Other Community Areas
Virtual Spaces
Fun Stuff
Gaia's Games
Mini-Games
Play with GCash
Play with Platinum