Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: help needed

  1. #1
    Join Date
    Feb 2006
    Location
    Bristol
    Posts
    4,164
    Tokens
    0

    Latest Awards:

    Default help needed

    yup im a noob.

    www.habbohand.co.uk/blog/blog.html

    how would i center the whole layout?

    regards,
    rave

    Moved by opensourcehost (Forum Super Moderator) from Website Designing & Development: Please post in the correct forum next time, thanks .
    Last edited by Mr.OSH; 31-08-2007 at 10:26 PM.



    If you have any queries or questions, just PM me!

    :eusa_thin

  2. #2
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    It all html or is there CSS?

    Html - use the tags <center> and </center> around the bits you wanted centered
    CSS - Pick the div or td or w/e you want centered and do the following. (Using wrapper as an example)

    div#wrapper {
    margin: 0 auto;
    }


  3. #3
    Join Date
    Feb 2006
    Location
    Bristol
    Posts
    4,164
    Tokens
    0

    Latest Awards:

    Default

    ok i knew it was something like center,

    help appreciated +rep

    the iframes are mucked up now btw lol how do i fix them?
    Last edited by lew!; 30-08-2007 at 08:27 PM.



    If you have any queries or questions, just PM me!

    :eusa_thin

  4. #4
    Join Date
    Aug 2005
    Location
    Newcastle
    Posts
    1,417
    Tokens
    0

    Latest Awards:

    Default

    hint, dont use iframes.



  5. #5
    Join Date
    Feb 2006
    Location
    Bristol
    Posts
    4,164
    Tokens
    0

    Latest Awards:

    Default

    im a noob at coding so i dont know how else to do it, i dont know php or anything, unless i use that <include> thing where it includes a certain page. dont know hot to do it though



    If you have any queries or questions, just PM me!

    :eusa_thin

  6. #6
    Join Date
    Aug 2007
    Posts
    721
    Tokens
    0

    Default

    Quote Originally Posted by Pepsi View Post
    im a noob at coding so i dont know how else to do it, i dont know php or anything, unless i use that <include> thing where it includes a certain page. dont know hot to do it though
    I'm not sure, but you could try this:

    <?php
    include ('file.php');
    ?>

  7. #7
    Join Date
    Feb 2006
    Location
    Bristol
    Posts
    4,164
    Tokens
    0

    Latest Awards:

    Default

    where would i put that in the code?



    If you have any queries or questions, just PM me!

    :eusa_thin

  8. #8
    Join Date
    Jun 2007
    Location
    Kilmarnock
    Posts
    3,227
    Tokens
    50

    Latest Awards:

    Default

    Quote Originally Posted by God.. View Post
    I'm not sure, but you could try this:

    <?php
    include ('file.php');
    ?>
    Don't listen to him.. Thats basically just another way of linking up 2 directory's.
    CPU i5 3570 @ 4.2 GHz | Mobo GigaByte Z77D3H | RAM 8GB | GPU AMD Radeon 6870 | OS Win 8 64-bit | HD 1TB HD and 128GB SSD | Wheel Logitech G27

  9. #9
    Join Date
    Aug 2005
    Location
    Newcastle
    Posts
    1,417
    Tokens
    0

    Latest Awards:

    Default

    Quote Originally Posted by Pepsi View Post
    im a noob at coding so i dont know how else to do it, i dont know php or anything, unless i use that <include> thing where it includes a certain page. dont know hot to do it though

    I would use includes (as the person above sujested) It saves time when editing. (It's basically like an IFrame in theory, as an Iframe is getting a page from the directory, as is an include.

    If you do use "<?php include (" "); ?>" then your pages will need to have the extension .php , make sure your host can handle php first.

    IFrames are a waste of space now, they take a long time to load plus, if you're wanting to move into XHTML, it will not be valid. If you have a problem understanding include, simply google it and there will be masses of information.



  10. #10
    Join Date
    Feb 2007
    Location
    Essex, England
    Posts
    1,392
    Tokens
    0

    Latest Awards:

    Default

    I'm with Craig on that one.


Page 1 of 2 12 LastLast

Posting Permissions

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