We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

Website problems on microsoft publisher

Hi all,

Would appreciate your help. I have designed a website on microsoft publisher, fairly basic but I am just learning. My problem is that when I preview what it will look like when live it is aligned to the left. I have no idea how or if I can centre it. Also can anyone advise of any other user friendly website design products that may be more suitable,

Thanks for your help.

Comments

  • isofa
    isofa Posts: 6,091 Forumite
    It's not really a very good application to create websites in and unless you are competent with HTML you'll not be able to tweak it as you want. It'll create inefficient code and essentially a bad website.

    Look at sometime like the free Kompozer, or if you have some cash, Dreamweaver, but you'll need to be prepared for a steep learning curve.
  • Thanks. I will check them options out.
  • moneyuser
    moneyuser Posts: 1,085
    Part of the Furniture 1,000 Posts Combo Breaker
    Forumite
    Can you not just select what you want to be centered and then click the center icon on the toolbar?

    You might want to look into the DIV tag as that can be used to center pages.
  • on the editing page it is centred, but when i go to web page preview it is left aligned. Thanks for the tips. Not sure how to look at the DIV tag as mentioned by moneyuser.
  • -TangleFoot-
    -TangleFoot- Posts: 4,673
    Part of the Furniture Combo Breaker
    Forumite
    Kevin_1973 wrote: »
    Not sure how to look at the DIV tag...
    You'd need to examine the HTML directly. Your favoured web design application should give you the option to do this, but you can just as easily view (and edit) the raw code in Notepad or Wordpad instead.
  • moneyuser
    moneyuser Posts: 1,085
    Part of the Furniture 1,000 Posts Combo Breaker
    Forumite
    edited 4 October 2009 at 5:10PM
    Below is some simple html that has a box centered in the page. Most of it is style info and the main html is at the bottom. It uses the DIV tag. Copy and paste it into a text file and save the file with a html extension. You'll be able open it to see what it looks like.

    It should be pretty straightforward to add your own content inside the main box within publisher.

    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
                          
    
    <html>
    <head>
    
      <title>My Website</title>
      <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
    
    <!-- <link rel="stylesheet" type="text/css" href="index.css"> -->
    <STYLE type="text/css">
    
    body 
    {
        margin-top:0px;
        text-align: center;
        background-color: #fff;
    }
    
    #container
    {    
        background: #F5F5FF;
        margin: 0 auto;
        width: 740px;
        text-align: left;
        border:1px solid #000;
    }
    
    #maincontent 
    {
        background: #F5F5FF;
        /*border: 1px solid #000;*/
        width: 560px;
        /*float: right;*/
        margin-top:1px;
        margin-bottom:2px;
        margin-right:2px;
        padding-top: 4px;
        color: #000;
        font-weight: normal; 
        font-size: 13px; 
        font-size: normal; 
        font-family: arial, verdana, tahoma; 
        text-decoration: none;
    }
    </STYLE>
    
    
    </HEAD>
    <BODY>
    <div id="container">
    
    
        <div id="maincontent" >
        Content goes here
        <BR><BR><BR><BR><BR><BR>
        
        
        </div>
    </div>
    </BODY>
    </HTML>
    
  • isofa
    isofa Posts: 6,091 Forumite
    ^ I'd say for someone using publisher, editing code might be a bit of a jump forward!
  • moneyuser
    moneyuser Posts: 1,085
    Part of the Furniture 1,000 Posts Combo Breaker
    Forumite
    isofa wrote: »
    ^ I'd say for someone using publisher, editing code might be a bit of a jump forward!
    He won't need to edit the code directly. Once he's copied and pasted the code in the above box and saved it as a html file he can open the file in publisher and add the bits and pieces he wants to just like normal. :)
  • isofa
    isofa Posts: 6,091 Forumite
    I doubt publisher is creating proper CSS code either... Sorry I'm not trying to throw obstacle in the way, but as far as HTML editors go, Word and Publisher are at the bottom of the pile for clean and efficient code.
This discussion has been closed.
★ ★ ★ Meet your Ambassadors

Categories

  • All Categories
  • 356K Banking & Borrowing
  • 255K Reduce Debt & Boost Income
  • 456.3K Spending & Discounts
  • 248.5K Work, Benefits & Business
  • 606.4K Mortgages, Homes & Bills
  • 179.1K Life & Family
  • 264.2K Travel & Transport
  • 1.6M Hobbies & Leisure
  • 16.2K Discuss & Feedback
  • 37.7K Read-Only Boards
Quick Search

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.