dcsimg
www.webdeveloper.com
Results 1 to 5 of 5

Thread: how do you positioning main site features

  1. #1
    Join Date
    Dec 2005
    Posts
    2

    how do you positioning main site features

    hi all, im new here.My problem is probably very simple. If you look at
    "http://www.w3schools.com/default.asp" or "http://www.webfreshdesign.co.uk/internetservices/ecommerce.shtml", you will notice that the main menu's are neatly positioned to the left with the main site contents in the centre. How do you do that?

    I tried a table for the main menu and a table for the main site contents but i cant align the table for the main site contents so its along side the main menu table.

    Is it possible to use CSS to use absolute positioning for the tables? if so, how? or is there an easier simpler or better method?

    Please help me out. This has been literally bugging me for years.

  2. #2
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715

  3. #3
    Join Date
    May 2004
    Location
    dobson ave.
    Posts
    694
    Hi -
    It's hard for those who haven't tried anything but a table-based
    layout approach to relearn using a content-separate-from-style method
    - but it's definitely worth a try...

    Start with the basic flow of a document - from top to bottom, starting
    after the body tag with block-level elements displayed below one another
    and inline tags side-by-side. Select tags that best reflect the content:
    div's for page areas, h# for section titles, p's for chunks o' text, etc.

    Then, add some inline, internal or external css styles to alter the appearance
    of the information: placement, color, margins, padding, font & size, link
    hover effects, etc. Select them using class="" id="", by location, or just by name,
    and remember that external, linked style sheets containing all styles is
    the easiest way to make changes later on: and to truly separate content from
    appearances.

    If you need to float divs to the right [as it sounds in your example - with one being for mn. content and a larger width and the second for navigation and a smaller width to total the width of their 'parent' tag] - be sure to clear them, afterwards.

    Good luck,
    El

  4. #4
    Join Date
    Dec 2005
    Posts
    2
    thanks for the help. Generally speaking, how does one position site contents generally. Because when i use tables, (i.e. one for the main menu, and one for the main contents) i cannot position those tables where i want them. How do you move tables?

    All i need to know is how do you split up a site so that you can type something on one side so it doesnt overlap the other. Like on microsoft word, you have a "column" feature which splits up the page.

    Thanks again.
    Last edited by rsmayze01; 12-29-2005 at 12:57 PM.

  5. #5
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    Did you try the links I gave you? Those tools show you exactly what to do by example.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles