/    Sign up×
Community /Pin to ProfileBookmark

Screen Resolution Knocking my Pages out of alignment

Hi,

I was hoping somone can remaind me what to do, I haven’t used HTML in some time and have forgotten most things. I have designed various pages in html, but if the page is viewed on a screen with different resolution settings (ie. designed in 11024 x 768 viewed in 1152 x 864) the page shows up out of alignment. What can I do to prevent this from happening ?

Thanks
P

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@phpnoviceJan 20.2005 — The only solution is to use absolute positioning and/or fixed widths on your container elements.
Copy linkTweet thisAlerts:
@para_sightauthorJan 20.2005 — H there,

Thanks for this, but can you elobrate a little please.

Thanks

P
Copy linkTweet thisAlerts:
@phpnoviceJan 20.2005 — Just as a small example:
<i>
</i>&lt;body&gt;
&lt;div style="width:700px;"&gt;

&lt;!-- put all your HTML content here --&gt;

&lt;/div&gt;
&lt;/body&gt;
×

Success!

Help @para_sight 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.7,
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,
)...