Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Search in titles only
Search in HTML CSS only
Search
Advanced Search
Forums
Product Launch
Updates
Today's Posts
Member List
Calendar
Home
Forum
Topic
HTML CSS
how to align the page according to the viewer's resolution
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
anusha77
New Member
Join Date:
Oct 2007
Posts:
7
#1
how to align the page according to the viewer's resolution
Nov 15 '07, 02:16 PM
hi can you please tell me how to align a webpage according to the viewer's resolutions. tks
drhowarddrfine
Recognized Expert
Expert
Join Date:
Sep 2006
Posts:
7434
#2
Nov 15 '07, 02:40 PM
html/css cannot do this, unless you mean centering the page according to the browser size.
Comment
Post
Cancel
anusha77
New Member
Join Date:
Oct 2007
Posts:
7
#3
Nov 15 '07, 02:51 PM
Originally posted by
drhowarddrfine
html/css cannot do this, unless you mean centering the page according to the browser size.
yes centering the page according to the brower size, but how do i do it???
Comment
Post
Cancel
drhowarddrfine
Recognized Expert
Expert
Join Date:
Sep 2006
Posts:
7434
#4
Nov 15 '07, 02:54 PM
Horizontally is easy with CSS in most cases. To the outer most container:
#container{
margin:0 auto;
}
Vertical centering is more complicated.
Comment
Post
Cancel
Previous
template
Next
Working...
Yes
No
OK
OK
Cancel
👍
👎
☕
Comment