On 7/21/06, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote:
> Madison Bryan wrote:
>
> > http://www.westga.edu/~webgroup/design/code/
>
> > My problem (well, one of them) is the image input element at the top
> > right of the design.  It's moving down the whole list.
>
> > I can't seem to pull it down.
>
> No wonder... images are inline-elements by default in Strict.
>
> You can always add something like...
>
> input.submit {margin-bottom: -5px; position: relative;}
>
> ...or...
>
> input.submit {vertical-align: bottom;}
>
> ...depending on the effect you want. Both work just fine across
> browser-land, but the first looks best when your layout is subjected to
> font-resizing, I think. Fine-tune to taste :-)

You might also want to try

input.submit {
    vertical-align: middle;
}

which should keep it in line with the rest of the line.

HTH,

Michael
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to