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.
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
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.
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.
Last edited by rsmayze01; 12-29-2005 at 12:57 PM.
Did you try the links I gave you? Those tools show you exactly what to do by example.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)