Jump to content

how to center footer on blog


Rustyhands

Recommended Posts

hi everyone :)

 

im tryig to fix another one of my blogs and have no idea how to do it..... if anyone can help that would be fantastico. :)

 

Here is the following code:

 

 

#footer {

width:900px;

float:center;

border-top:1px dotted #ffffff;

text-align:justify;

padding:0px 0 0px 0;

}

 

 

footer php code is below:

 

<div id="footer">

Melbourne, Southbank, Docklands, Carlton, Collingwood, Fitzroy, South Melbourne, Elwood, St Kilda, Mentone, Toorak, Brighton, Dandenong, Clayton, Caulfield, Narre Warren, Berwick, Cranbourne, Keysbrough, Croydon, Montrose, Ringwood, Lilydale, Pakenham, Parkville, Knox, City, Ferntree Gully, North Melbourne, East Melbourne, Port Melbourne, Richmond, Ivanhoe, Northcote, Brunswick, East Brunswick, Camberwell, Canterbury, Hawthorn, Hawthorn East, Lysterfield, Healesville, Narre Warren East, Narre Warren North, Narre Warren South, Chadstone, Glen Waverley, Clifton Hill, Lydhurst, South Yarra Melbourne Metro Electricians Data Techinicians Solar Renewable Power Grid Connection Solar Rebate Electricians Electrical Contractors Domestic Commercial Industrial Three Phases Power Single Phase Power Electric Motors Generators Sensor Lighting Downlight Inspection 240V 415V Telephone Cabling Power Cable Cat5 Cat6e Victoria Australia White Pages yellow pages electrical qoutes clipsal cbus automation local tradesman energysafe victoria neca proffesional apprentice training

 

<p><?php wp_footer() ?></p>

</div>

 

</div>

 

<!-- Can put web stats code here -->

 

</body>

 

</html>

Link to comment
Share on other sites

There is no such thing as float: center. To center something, use margin: 0 auto; The 0 is telling the top and bottom margins to be 0 and the auto is telling the right and left margins to be equal.

Edited by Susie
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...