Jump to content

How to centre content??


Rustyhands

Recommended Posts

hi everyone :)

 

I cant seem to center my content on my wordpress site????? Can anyone help please?

 

heres the page

 

<?php

/*

Template Name: About

*/

?>

<?php get_header(); ?>

 

<!-- SPLASH -->

 

<div id="splash">

 

<div id="splash_left">

<h2><?php the_title(); ?></h2>

</div><!-- End OF SPLASH_LEFT -->

 

 

<div id="splash_right">

<p><?php echo get_post_meta($post->ID, 'splash_right',true); ?></p>

</div><!-- End OF SPLASH_RIGHT -->

 

</div><!-- End OF SPLASH -->

 

<!-- CONTENT_AREA -->

<div id="content_area">

<div id="inner_content_left">

<!-- get the page content -->

<?php if(have_posts()) : while(have_posts()) : the_post(); ?>

<?php the_content(); ?>

<?php endwhile; ?>

<?php else: ?>

<p>There are no posts to display. Try using the search.</p>

<?php endif; ?>

</div><!-- End OF INNER_CONTENT_LEFT -->

 

 

 

</div><!-- End OF CONTACT_BOX -->

 

 

</div><!-- End OF CONTENT_AREA -->

 

 

</div><!-- END OF CENTER_COLUMN -->

 

<?php get_footer(); ?>

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...