/    Sign up×
Community /Pin to ProfileBookmark

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.

to post a comment
HTML

4 Comments(s)

Copy linkTweet thisAlerts:
@LJKDec 29.2005 — 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
Copy linkTweet thisAlerts:
@rsmayze01authorDec 29.2005 — 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.
Copy linkTweet thisAlerts:
@ray326Dec 29.2005 — Did you try the links I gave you? Those tools show you exactly what to do by example.
×

Success!

Help @rsmayze01 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...