Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    Regular Coder
    Join Date
    Sep 2004
    Location
    USA
    Posts
    314
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Simple Line Spacing Question

    This is probably really simple I'm just blanking out right now.

    Basically I want on like of text to be at the bottom of the page. Is there a better way to get it down there than
    <br /> and without using <pre>?

    Thanks in advance

  • #2
    Senior Coder
    Join Date
    Jan 2005
    Location
    Memphis, TN
    Posts
    1,788
    Thanks
    8
    Thanked 131 Times in 129 Posts
    If you could show the code it would get a more specific reply I'm sure.

    If your site is using <p>'s then you can add one at the bottom of your content. Give it a height and a padding-top to maove the text down to the bottom of it.

  • #3
    Regular Coder
    Join Date
    Sep 2004
    Location
    USA
    Posts
    314
    Thanks
    7
    Thanked 0 Times in 0 Posts
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;charset=utf-8">
    <title>Cheap Chic - Coming Soon!</title>
    <style type="text/css">
    	body {text-align:center;}
    	a:link {color: #000000;}
    	a:hover {color : #FF69B4;)
    	a:active {color: #FF69B4;}
    	a:visited {color: #FF69B4;}
    </style>
    </head>
    <body >
        <h1>
    	<img src="http://www.cheap-chic.biz/images/logo.gif" alt="Cheap Chic">
    	<br />
    	Coming Soon!
        </h1>
        <p>
    	<br />
    	<a href="mailto:webmaster@cheap-chic.biz">webmaster@cheap-chic.biz</a>
        </p>
        <p>
                   <?php
                   include ("count.php");
                   ?> 
        </p>
    </body>
    </html>
    Im trying to move the php counter to the bottom.

  • #4
    Senior Coder
    Join Date
    Jan 2005
    Location
    Memphis, TN
    Posts
    1,788
    Thanks
    8
    Thanked 131 Times in 129 Posts
    <p style="position:absolute;bottom:0px;left:50%">
    <?php
    include ("count.php");
    ?>
    </p>

    and in your a:hover you ended it with a ) not a }


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •