Re: [css-d] Aligning text in same line

2005-11-28 Thread Zoe M. Gillenwater
Lst Recv wrote: >Georg sent me this private reply. For the benefit of the list, I >asked his permission to repost it to the list. > >(BEGIN:) >Opera _can_ float elements at the same level as non-floating elements - >even when a non-floating element comes first in the source-code. Other >browsers

Re: [css-d] Aligning text in same line

2005-11-25 Thread David Dorward
On 25/11/05, Chris Akins <[EMAIL PROTECTED]> wrote: > Overall, just a shorter, more bandwidth-friendly way of writing the > code. I know it seems tiny, but in the course of a whole CSS document > multiplied by the pages in your site multiplied by the times each page > is served up The joy of CSS

Re: [css-d] Aligning text in same line

2005-11-25 Thread Chris Akins
On a completely different topic, but regarding your CSS: Anytime you have "0" as a numerical value in your rules you don't need units of anykind. Only when you have something other than "0" do you need to specify px, em, %, etc. Also, you can use the value stated once when all numbers are equal

Re: [css-d] Aligning text in same line

2005-11-25 Thread Lst Recv
Georg sent me this private reply. For the benefit of the list, I asked his permission to repost it to the list. (BEGIN:) Opera _can_ float elements at the same level as non-floating elements - even when a non-floating element comes first in the source-code. Other browsers will drop the float belo

Re: [css-d] Aligning text in same line

2005-11-25 Thread Lst Recv
Georg, Thanks for the tips. I'm more concerned with using this as a learning case then just making this page look right. So, could I ask you to explain what are your tips are doing and why? Also, could anyone explain why some browsers decide to push the logo down a line when I don't float the m

Re: [css-d] Aligning text in same line

2005-11-24 Thread Gunlaug Sørtun
Lst Recv wrote: > Right now, it looks great in Firefox and Opera. IE is still doing > two funny things: > > 1) Adding a giant chunk of whiteness, where the background image is > not showing. Add: #top {width: 100%;} > 2) Shifting the man's head over a few pixels, so that it doesn't line > up

Re: [css-d] Aligning text in same line

2005-11-24 Thread Lst Recv
Thanks, Holly, fixing the selector solved both bugs! I see what you mean about needing the actual, noncondensed URL. Could you - or anyone - explain, though, why the initial version - which mistakenly put a float:right on the logo image but no float:left on the picture of the man ("dude") produc

Re: [css-d] Aligning text in same line

2005-11-23 Thread Holly Bergevin
Sorry, mail program messup on the previous try... --- From: Lst Recv <[EMAIL PROTECTED]> >Thanks - I changed it, but it didn't solve any of the bugs... Let's see. The first "bug" you might want to deal with is your incorrectly written selector #top img.dude {

Re: [css-d] Aligning text in same line

2005-11-23 Thread Lst Recv
On 11/23/05, Christian Montoya <[EMAIL PROTECTED]> wrote: > > > > #top img.man { display: block; width: 25%; float: left; } > > > > #top a.logo { display: block; width: 25%; float: right; } > > > > Shouldn't these be display:inline; ? block will never work for your > case. If you want two things to

Re: [css-d] Aligning text in same line

2005-11-23 Thread Lst Recv
On 11/23/05, bill <[EMAIL PROTECTED]> wrote: > Hi there, > > How about a link to your page and css?? It would help :-) > > Thanks, > Bill Scheider By popular demand, here are the links: http://mortgagephonequotes.com/mortgage.html BUGS On Opera, it displays fine, but: 1) On Firefox and IE, the

Re: [css-d] Aligning text in same line

2005-11-23 Thread Christian Montoya
> > #top img.man { display: block; width: 25%; float: left; } > > #top a.logo { display: block; width: 25%; float: right; } > Shouldn't these be display:inline; ? block will never work for your case. If you want two things to stay on the same line, you have to use inline! -- -- Christian Montoya

Re: [css-d] Aligning text in same line

2005-11-23 Thread bill
Hi there, How about a link to your page and css?? It would help :-) Thanks, Bill Scheider Thanks - I went through the article, but can't seem to apply it to my case. I have a , with two images. I'd like one to show on the left and one on the right. (The div also has a repeat-x background ima

Re: [css-d] Aligning text in same line

2005-11-23 Thread Larry Israel
Lst Recv wrote: > I have a , with two images. I'd like one to show on > the left and one on the right. (The div also has a repeat-x > background image). I've tried several permutations - but none get it > right. > > I also tried http://css-discuss.incutio.com/?page=AlignLeftAndRight , > but it p

Re: [css-d] Aligning text in same line

2005-11-23 Thread Lst Recv
Thanks for the links and info. I was sent a private email asking for the page itself. Here it is, condensed - let me know if you need more. I'm STUMPED by two problems: 1) Why is the logo on the right being pushed down to the next line? 2) Why is a thin white line appearing between #top and #b

Re: [css-d] Aligning text in same line

2005-11-23 Thread ron zisman
a newbie guess: The Opera (Fri, July13) .cat {float: left} .date {float:right} .descrip {clear: both} at least conceptually... i think... On Nov 23, 2005, at 4:36 PM, Lst Recv wrote: > Is there anyway to have one line of text, with part of it aligned to > the containers left and part of it

Re: [css-d] Aligning text in same line

2005-11-23 Thread Lst Recv
Thanks - I went through the article, but can't seem to apply it to my case. I have a , with two images. I'd like one to show on the left and one on the right. (The div also has a repeat-x background image). I've tried several permutations - but none get it right. I also tried http://css-discus

Re: [css-d] Aligning text in same line

2005-11-23 Thread Larry Israel
> Is there anyway to have one line of text, with part of it aligned to > the containers left and part of it to it's right? > > Floats don't seem to work here - I don't know widths in advance, and I > don't want flow, just justification. > > Crude example of what I'd like: > > The Opera

Re: [css-d] Aligning text in same line

2005-11-23 Thread Michael Hulse
On Nov 23, 2005, at 1:36 PM, Lst Recv wrote: > Is there anyway to have one line of text, with part of it aligned to > the containers left and part of it to it's right? You might want to take a look at this ALA article (Scroll down to "Splitting the Difference"): http://www.alistapart.com/article

Re: [css-d] Aligning text in same line

2005-11-23 Thread Zoe M. Gillenwater
Lst Recv wrote: >Is there anyway to have one line of text, with part of it aligned to >the containers left and part of it to it's right? > >Floats don't seem to work here - I don't know widths in advance, and I >don't want flow, just justification. > > You don't need to know widths to use float

[css-d] Aligning text in same line

2005-11-23 Thread Lst Recv
Is there anyway to have one line of text, with part of it aligned to the containers left and part of it to it's right? Floats don't seem to work here - I don't know widths in advance, and I don't want flow, just justification. Crude example of what I'd like: The Opera