I'm going to better illustrate this issue by just posting a pic of what I
have.

http://i1194.photobucket.com/albums/aa375/ysg444/print_out.png

The text-box contains the word Smith in it... buried...

On Tue, Nov 8, 2011 at 11:24 AM, Jeremy Burns | Class Outfit <
[email protected]> wrote:

> Yup - totally agree - was just trying to keep it in context and
> demonstrate a point to the OP.
>
> Jeremy Burns
> Class Outfit
>
> http://www.classoutfit.com
>
> On 8 Nov 2011, at 15:43, Mike Karthauser wrote:
>
>
> On 8 Nov 2011, at 15:28, Jeremy Burns | Class Outfit wrote:
>
> Ought to be a class....
> <div class="center">
>
> The css class is:
> div.center { text-align: center;} (which Is what I guess you are trying to
> do?)
>
>
>
> bad form calling a class .center. Classes are supposed to describe the
> element in some way.
>
> what would happen if your .center ended up with massive font and
> background colour and left aligned?
>
> div.center {
> text-align: left;
> font-size: 17px;
> background-color: #CCC;
> }
>
> the .center class name seemed sensible initially but now makes no sense at
> all.
>
> you dont need to add a class to it. you can just use the form element and
> style that.
>
> form {
> text-align:center;
> }
>
> or
>
> form {
> width: 600px;
> margin:auto
> }
>
>
> much less confusing for the next guy who works on your site.
>
>
>
> ....................................
> Mike Karthäuser
> Director, Brightstorm Ltd.
>
> 1, Brewery Court
> North Street
> Bristol
> BS3 1JS
>
> [email protected] <[email protected]>
> www.brightstorm.co.uk
> +44(0) 7939252144
> ....................................
>
>
>
>
>
>
> --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>
>
>  --
> Our newest site for the community: CakePHP Video Tutorials
> http://tv.cakephp.org
> Check out the new CakePHP Questions site http://ask.cakephp.org and help
> others with their CakePHP related questions.
>
>
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group
> at http://groups.google.com/group/cake-php
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to