/    Sign up×
Community /Pin to ProfileBookmark

Divs positioning depending on screen resolution

Hi everyone,
I’ve been going through the forum to find this topic more specifically to my situation, and don’t know if I’ve found the answer. So, alas, I perhaps am re-asking the same question.

Here’s my site re-design:
[URL]http://mynameischance.com/2006[/URL]

Take a look at my code for this frame:
[URL]http://mynameischance.com/2006/news-index.htm[/URL]

You’ll see that I have a main graphic for each main site ‘category’. Inside this graphic there’s a div and within that div an i-frame for my category specific content.

As you might suspect, this looks just peachy in 1024. But 1280 and what not, it of course gets screwy. My apologies to the 800×600 folk, but I’m anticipating that this is just simply less the norm.

I’m not that familiar with layers (div), and styles and this is really my first foray. I realize it’s the absolute positioning that is doing me in; the problem is I’m not sure how to rectify this.

If the “image” resides in the table, and is simply centered, it moves depending on the screen. I’d love the layer to do the same. I tried to create a ‘parent div’ with relative positioning but that didn’t seem to work either.

A note about my site’s intent: I specifically intended not to design a lowest common denominator site because of my want to showcase my artistic side (and I DEFINITELY didn’t want to go the flash route). I realize as well this comes with limitations. I just want (and hope) to know if this particular issue is doable.

So, apart from doing a site page for each resolution, or (as many seem to shudder) re-size the browser using some js hooey, any thoughts?

Thanks so much, I very much appreciate your help…!
Chance

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@ray326Mar 22.2006 — Try using % positioning on the inset.
Copy linkTweet thisAlerts:
@mynameischanceauthorMar 22.2006 — Yea, I tried that, but it only seems to (sort of) work on firefox. it doesn't on IE.

God, IE is annoying! ha
×

Success!

Help @mynameischance 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.1,
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: @Yussuf4331,
tipped: article
amount: 1000 SATS,

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

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