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 6 of 6
  1. #1
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts

    Exclamation How to manipulate a block of text

    On my index page:

    www.exitfegs.co.uk

    bottom left; there is a block of text that I would like to manipulate, position wise.
    Code:
    <p id="pc"><strong>
            Website Builder - Frank Taylor<br />
            Assisted by "Coding Forums".<br />
            Checked with IE 7, <br />
            Set to:- 1024 x 768 pixels.<br /><br /><br />
            Updated 18th May,2007</strong></p>
    I am not sure how to do this. Do I use a <DIV> or what.

    Any help gratefully received.

    effpeetee

  • #2
    Regular Coder
    Join Date
    May 2007
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No matter if you use div or p, you have p with pc ID, so you can apply following code:

    Code:
    <style>
    p#pc {margin-top:20px;margin-left:15px;}
    </style>
    <p id="pc"><strong>
            Website Builder - Frank Taylor<br />
            Assisted by "Coding Forums".<br />
            Checked with IE 7, <br />
            Set to:- 1024 x 768 pixels.<br /><br /><br />
            Updated 18th May,2007</strong></p>
    Forum for webmasters and developers
    http://www.htmlfrenzy.com
    Are you an IT expert? Join our Reward system
    www.htmlfrenzy.com/reward-system.php

  • #3
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Quote Originally Posted by smalldog View Post
    No matter if you use div or p, you have p with pc ID, so you can apply following code:

    Code:
    <style>
    p#pc {margin-top:20px;margin-left:15px;}
    </style>
    <p id="pc"><strong>
            Website Builder - Frank Taylor<br />
            Assisted by "Coding Forums".<br />
            Checked with IE 7, <br />
            Set to:- 1024 x 768 pixels.<br /><br /><br />
            Updated 18th May,2007</strong></p>
    Thank you. Works OK. Now on site.

    www.exitfegs.co.uk

    effpeetee

  • #4
    Regular Coder
    Join Date
    May 2007
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts
    For your better orientation, use rather only one <style type="text/css"> </style> block
    Forum for webmasters and developers
    http://www.htmlfrenzy.com
    Are you an IT expert? Join our Reward system
    www.htmlfrenzy.com/reward-system.php

  • #5
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Quote Originally Posted by smalldog View Post
    For your better orientation, use rather only one <style type="text/css"> </style> block
    Thank you,

    I have cleaned this area up.
    All <style type="text/css"></style> is now in one block.

    www.exitfegs.co.uk

    effpeetee

  • #6
    Regular Coder
    Join Date
    May 2007
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts
    well done
    Forum for webmasters and developers
    http://www.htmlfrenzy.com
    Are you an IT expert? Join our Reward system
    www.htmlfrenzy.com/reward-system.php


  •  

    Posting Permissions

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