Hi, I am trying to my web site have the resolution of 1024X768
How can I do that?
Hi, I am trying to my web site have the resolution of 1024X768
How can I do that?
Code:body{ padding:3px; height:1024px; width:768px;}
When you say "I want to have the resolution of..." that could mean one of two things... either what Chris suggested, to change the width and height of the parent window, or you could resize the window, using the window.resize(x,y) function. Either way won't change the effect having a different screen resolution takes on a web page though. The font may be smaller, icons, tables, etc.
- Mike
You shouldn't do this: fixed-width layouts look daft at some resolutions, and for fixed-height layouts the text will overflow if it is too big.
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
That's why I like using percentages for my layouts.
- Mike
Bookmarks