If I don''t use CSS, the text fields only have their labels left justified with the fields wherever they end up. This CSS .household { position:absolute; left:1.8in; } causes the text fields to be left justified at 1.8", but changes the field height, making the fields unreadable. I have tried height, margin, and padding with no luck.. Please help. Bob <bsm2th-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> By the way, if anyone needs to see what this looks like, go to http://mysite.verizon.net/vze10eqgh/ -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
On 25 September 2010 21:32, Bob Smith <bsm2th-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> If I don''t use CSS, the text fields only have their labels left > justified with the fields wherever they end up. > > This CSS > .household { > position:absolute; > left:1.8in; > } > causes the text fields to be left justified at 1.8", but changes the > field height, making the fields unreadable. I have tried height, > margin, and padding with no luck.. Please help.If you install firebug in firefox you can select the field and firebug will show you the style for the object and where it is getting that style from, which may give you a clue. Also whenever I see anything a bit odd like that I check the page html using the w3c html validator and sometimes the fundamental cause is invalid html. Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Colin Law wrote:> On 25 September 2010 21:32, Bob Smith <bsm2th-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> margin, and padding with no luck.. Please help. > If you install firebug in firefox you can select the field and firebug > will show you the style for the object and where it is getting that > style from, which may give you a clue.The debugging console for WebKit browsers (Safari, Chrome, ...) will do likewise.> > Also whenever I see anything a bit odd like that I check the page html > using the w3c html validator and sometimes the fundamental cause is > invalid html.Oh hell yes. For further questions on this issue, a CSS forum may be more help; this is not really a Rails issue.> > ColinBest, -- Marnen Laibow-Koser http://www.marnen.org marnen-sbuyVjPbboAdnm+yROfE0A@public.gmane.org -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.