/    Sign up×
Community /Pin to ProfileBookmark

Looking for suggestions on positioning elements

Hello. was wondering if anyone had a better or more “robust??” way of doing what i did(always seems like i go the long way around things.) anyway, before i forget, there is the site [url]http://www.davidfells.com/~microfix/index.htm[/url]. the issue i’m concerned with is the grey contact area at the bottom of the left column. its id is “Contact”. i’ve used javascript to keep both the left and the right column the same length and to force that “Contact” section to stay at the bottom. i’m rather new at using the DOM to manipulate html elements so the marginTop property of the style object is all i could think of to use for top spacing on that Contact div. you’ll notice that i created a variable called “topSpacing” and set it equal to the height of the right column – the heights of everythign else in that left column div and i subtracted an extra 11px from everythign just to get things lined up.. anyway you might be able to understand it better if you ignore everything i’ve just said :rolleyes: and just check out the source yourself. i’m basicaly just wondering if theres a more elegant way of doing what i just did. thanks a million in advance
j

to post a comment
JavaScript

1 Comments(s)

Copy linkTweet thisAlerts:
@knivesDec 02.2005 — your designs was good..i think it better to place at the center and make all thing resizeable.. but it is to smal when you use 1124 -1280 resolution. try to go this link www.dcfa.nl resize the window they have resizeable website and resolution independent.
×

Success!

Help @takmais 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 6.17,
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: @nearjob,
tipped: article
amount: 1000 SATS,

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

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...