Re: [css-d] Why won't my search field/button center?

2012-07-17 Thread Theresa Jennings
Georg, a hybrid of Isabel's fix and other fixes (including yours) worked. But you make an excellent point about the 100% wide. I had a feeling that figured into it, and did set the width (after all) to 252px (the width of the testimonials graphic and rightSideGray div). I didn't need to change t

Re: [css-d] Why won't my search field/button center?

2012-07-17 Thread Georg
On 18.07.2012 01:41, Theresa Jennings wrote: http://maxperformancebikefit.com/about.php 100% wide is not the same width as the "testimonials" button, it is much wider. And auto-margins have zero effect on 100% wide elements anyway. You may try the following... <--- change of size div.

Re: [css-d] Why won't my search field/button center?

2012-07-17 Thread Isabel Santos
Hi Theresa, Its a form, you can treat it as text, no need for width:100% or margin:auto; div.searchForm {text-align:center;} hope it helps isabel On Wed, Jul 18, 2012 at 12:41 AM, Theresa Jennings < theresajennings2...@gmail.com> wrote: > Here's the link to the page: http://maxperformancebike

[css-d] Why won't my search field/button center?

2012-07-17 Thread Theresa Jennings
Here's the link to the page: http://maxperformancebikefit.com/about.php Here's the link to the css: http://maxperformancebikefit.com/maxPerf2.css I'm trying to get the search field/button in the right-hand column to center horizontally over the testimonials button (the search feature is not work

Re: [css-d] Page Centering at Smaller Resolutions

2012-07-17 Thread Georg
On 17.07.2012 21:39, Peter Ankelein wrote: http://www.mdsol.com/ad/rave/css-test.html 1) header—this is a 1390px background image that I'm trying to have crop evenly on both sides so it remains centered to the content. 2) #page—again, making this fluid and always centered to the center of the h

Re: [css-d] Page Centering at Smaller Resolutions

2012-07-17 Thread Peter Ankelein
On Tue, Jul 17, 2012 at 3:52 PM, Jérome Loï wrote: > hi there, shouldn't you concider making the header image a background > image for your tag, thus allowing your users to reseize the content > that way your main div that is smaller would fit in these small screens > (now most of the users have

Re: [css-d] Page Centering at Smaller Resolutions

2012-07-17 Thread Jérome Loï
hi there, shouldn't you concider making the header image a background image for your tag, thus allowing your users to reseize the content that way your main div that is smaller would fit in these small screens (now most of the users have a least 1024 px wide sceens, for computers at least) try to

[css-d] Page Centering at Smaller Resolutions

2012-07-17 Thread Peter Ankelein
Hey Folks, I've been working on a landing page for an ad campaign and have it looking nice (centered, fixed-width) on larger monitors. The problem is folks with smaller resolutions where the width of the page is too wide, thus the horizontal scrollbar appears at the bottom of the browser and page

Re: [css-d] border doubles height?

2012-07-17 Thread John
On Jul 13, 2012, at 9:04 PM, Philippe Wittenbergh wrote: > Indeed it is what I thought...When the parent element (#header in your case) > has no border and no padding, the top/bottom margins of the child block-level > element merge with the margins of the parent block and/or or the top/bottom