View Full Version : screen resolution + browser problem !
AmrJusTin
08-27-2010, 02:47 AM
1st this is my page :
http://wwearab.com/site
with all screen resolution except 1280*768 ( my one ) the page is viewable incorrectly !!
also I can't view my page correctly with FireFox or Google Chrome .. it appears ok only with Internet Explorer ..
is there a way to resize my page to be correctly viewable with any s.resolution ?
and is there another way :p to fit my page with Chrome and FireFox ?
( Note : I'm using Microsoft Front Page 2003 in editing my page )
thx in advance ..
djr33
08-27-2010, 04:12 PM
Honestly, the problem may be frontpage: it develops for internet explorer, so your situation is not surprising. In general, any html generating application will not be as good as a human writing html code. If you want a perfect site, you will need to make it yourself. With enough time and effort, you may be able to create a good site using frontpage, but personally I don't think it is worth the extra time/effort. Why not just learn html?
And in order to "fix" this, you will need to edit the html directly. Because of that, it makes sense to just work with the html first, rather than doing two steps.
AmrJusTin
08-28-2010, 02:05 AM
but i think that there is a solution at least for the resolution problem ..
i wanna a code that make my page in the center of the window ..
molendijk
08-28-2010, 07:49 PM
If it's a div that you want to center, there's an easy solution that works in all modern browsers. Example:
<div style="position: absolute; left:50px; right:50px; top: 50px; bottom: 50px; background: yellow">
Your centered page.
</div>
There's a workaround for IE6, but I don't know if this is what you want.
===
Arie Molendijk.
AmrJusTin
08-29-2010, 03:43 AM
thx alot .. but I have alot of (DIVs) .. What's going on ?
and what about the Background ? I wanna to resize it to be auto resized with all screen resolutions ..
molendijk
08-29-2010, 03:36 PM
You can apply the same technique to all the divs, using the pixel-values you want for each div.
You can put the background in a div and apply the technique to it.
The advantage of this method is precisely what you want: being independent of the screen resolution.
===
Arie.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.