Previous Message
Next Message

Float problem?

Sent by Seth Rothberg on 9 December 2004 00:12


Hi Zoe,

Thanks for sharing your ideas here.

On Dec 8, 2004, at 7:27 AM, Zoe M. Gillenwater wrote:

>
> If you want to pin something to a particular spot, abs pos is great!  
> It's usually not great to use throughout your layout, as you're likely 
> to run into overlaps at some point, but on one element there's nothing 
> to be afraid of.  There comes a time for every bit of the CSS tool set 
> now and then, and we have to be comfortable using them all.

Sure, but in my limited experience with absolute positioning the 
coordinates for the spot I want to pin something to all mean different 
things to different browsers. Plus, won't overlap occur when font-sizes 
in neighboring pieces are bigger than the ones I used in my design? 
I'll need to experiment with that.


>> And I don't see how using absolute positioning the code can  be 
>> rendered in  the browser window like it was water filling a glass. 
>> Not that my code will ever do that, but I'd like to try.
>
> I'm not sure what you mean by this.  Do you mean you want your site to 
> be liquid?  It is already.

Yeah, that's what I was trying to say.

> Your nav bar isn't, though, so abs pos there shouldn't hurt anything.  
> If your really don't want to use abs pos, you can still wrap the nav 
> and search in a div and float the search to the right (but place it 
> second in source, so it will go on the line below).  Same result.

Interesting. I'm going to try that right away.

>
>> I may have to use the big div method you suggest though that doesn't 
>> please me much either.
>>
>
> If you want the site search to be tied to the nav bar, you have to do 
> that somehow in the code, and using an extra div to wrap them together 
> is not a bad way.  This wrapper only needs to go around the nav and 
> the search box, not the whole page if you want the rest of the page to 
> keep expanding with the window.  Just make sure you float the wrapper 
> div too, so it shrinkwraps the nav.

Again thanks. And thanks to everybody on the list who has helped. If 
any of you ever visit Amherst MA, a Jones Library card is on me.

Seth

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: