Yves,
You're obviously using code when you have no idea what it does ...
this is all basic CSS stuff (which is nothing to do with CakePHP by
the way) I suggest you get a book or read some online tutorials about
CSS to get a good grip on that rather than asking these questions in
this group.
* {....} applies those styles to every single element.
What you have there is a very basic attempt to 'reset' (and take
control of) the spacing for all elements on a page, search Google for
CSS reset and you will find there are some great frameworks for doing
this, but you really do need to take the time to learn CSS before you
start applying it. It's a much bigger subject than anyone is going to
go into detail about in a CakePHP group and there are plenty of
available resources elsewhere.
HTH, Paul.
On Nov 8, 8:00 pm, "Yves S. Garret" <[email protected]>
wrote:
> But... the only thing that I did was remove pagination and tried to add a
> bunch of buttons. Should I include more files?
>
> app\
> controllers\
> providers_controller.php [http://bin.cakephp.org/view/1461038734]
> models\
> provider.php [http://bin.cakephp.org/view/39326804]
> views\
> providers\
> view_admit_lookup.ctp [http://bin.cakephp.org/view/848065756]
>
> I've also noticed that the start of my CSS file, I have this:
> * {
> margin:0;
> padding:0;
>
> }
>
> Should I have a "*" in front of the open bracket?
>
> On Tue, Nov 8, 2011 at 2:35 PM, Mike Karthauser
> <[email protected]>wrote:
>
>
>
>
>
>
>
> > On 8 Nov 2011, at 18:16, "Yves S. Garret" <[email protected]>
> > wrote:
>
> > That large button is the original search button created by this:
> > echo $this->Form->submit('Search');
>
> > It used to be quite small, green with black text in the middle stating
> > just "Search".
>
> > Looks like your submit button has picked up some styling you've done for
> > your inputs. Look at styling using attribute selectors eg
> > input[type='text'] to select only text input fields.
>
> > On Tue, Nov 8, 2011 at 1:12 PM, Jeremy Burns | Class Outfit <
> > [email protected]> wrote:
>
> >> See my response re links. You can style the links to look like buttons.
>
> >> What is that huge button across the screen?
>
> >> Jeremy Burns
> >> Class Outfit
>
> >>http://www.classoutfit.com
>
> >> On 8 Nov 2011, at 18:09, Yves S. Garret wrote:
>
> >> 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 sitehttp://ask.cakephp.organd
> >>> help others with their CakePHP related questions.
>
> >>> To unsubscribe from this group, send email to
> >>> [email protected] For more options, visit this
> >>> group athttp://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 sitehttp://ask.cakephp.organd
> >>> help others with their CakePHP related questions.
>
> >>> To unsubscribe from this group, send email to
> >>> [email protected] For more options, visit this
> >>> group athttp://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 sitehttp://ask.cakephp.organd help
> >> others with their CakePHP related questions.
>
> >> To unsubscribe from this group, send email to
> >> [email protected] For more options, visit this group
> >> athttp://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 sitehttp://ask.cakephp.organd help
> >> others with their CakePHP related questions.
>
> >> To unsubscribe from this group, send email to
> >> [email protected] For more options, visit this group
> >> athttp://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 sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group
> > athttp://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 sitehttp://ask.cakephp.organd help
> > others with their CakePHP related questions.
>
> > To unsubscribe from this group, send email to
> > [email protected] For more options, visit this group
> > athttp://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