|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Setting Resolution threw HTML
I need help in setting my screen size for my website the website only appears correct with a certain size i was wondering if i could get an editable code for the page to only open at a certain size for all users
~Thanks |
|
#2
|
||||
|
||||
|
You should try and learn how to make web sites that don't have this restriction.
You can left or center align the site in the available resolution. So let's say your site only looks good at 600px, but my screen resolution is 1024px. Code:
<body> <div style="width:600px;margin-left:auto;margin-right:auto"> <!--your site code--> </div> </body> Code:
<head>
<script language="javascript">
window.open('sized_page.html','NewWindow','width=600,height=400');
</script>
</head>
|
|
#3
|
|||
|
|||
|
you can ask the user which version of the site they want to use. and then use cookies to remember.
the versions like 800x600 and 1024x768. second one just has extra images or a wider table. or something to fill the screen Last edited by wannabe : July 23rd, 2003 at 04:59 PM. |
![]() |
| Viewing: Dev Shed Forums > Other > Beginner Programming > Setting Resolution threw HTML |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|