Horrible horrible horrible
Hi. This website I am building only looks good in 800x600 resolution. But when I change it then it then only looks good in 1024 X 738. I have not been able to tweak it to look good in both. I don't know why I am having so many problems. Any suggestions?
Renegade posted this at 04:36 — 17th September 2003.
He has: 3,022 posts
Joined: Oct 2002
Yes, please provide a link.
Megan posted this at 13:22 — 17th September 2003.
She has: 11,421 posts
Joined: Jun 1999
The one you linked to there seems to be okay. What you might want to try is building your site in a table with a width fixed at about 760 pixels. This way your site will look the same in all screen resolutions. Once you become more comfortable with tables you can develop them to scale while still working at different resolutions.
What are you using to build your pages? It helps if you know HTML really well - then you can have more control over your code.
Megan
Connect with us on Facebook!
jammin posted this at 16:48 — 17th September 2003.
They have: 222 posts
Joined: Sep 2002
if you have a version that works good in different screen sizes, then have a page that will redirect you based on resolution.
<script LANGUAGE="JavaScript">
// <!--
var ScrnSize = "UnCommon"
if (navigator.appVersion.indexOf("4.") != -1 &&
navigator.appName.indexOf("Explorer") != -1) {
ScrnSize = screen.width + "x" + screen.height;
}
if (navigator.appVersion.indexOf("4.") != -1 &&
navigator.appName.indexOf("Netscape") != -1) {
ScrnSize = screen.width + "x" + (screen.height + 19); //Netscape sees 19 pixels less on Height
}
// End -->
</script>
there that code should return the screen size for a person, just use that to rediect them based on that resolution.
thats just on solution i think you might be better off fixing the page so that it qworks in two resolutions.
anyone can do any amount of work provided it isnt the work they are supposed to be doing.
Renegade posted this at 05:10 — 18th September 2003.
He has: 3,022 posts
Joined: Oct 2002
With some browesers it helps if you put the quotation marks around the thing you are trying to set.
e.g. width=100% should be width="100%"
They are rendered differently.
But I don't really see whats wrong. Sorry.
nasanu posted this at 13:12 — 18th September 2003.
They have: 37 posts
Joined: Mar 2003
Really? I did not know this. What browsers treat them differently and how is the output on the screen different? I am guessing its a opera or some other sub browser that has the problem since I have never noticed it in mozilla or IE.
http://nasanu.com
Renegade posted this at 12:12 — 19th September 2003.
He has: 3,022 posts
Joined: Oct 2002
I've seen different results with different browsers with different and same sites. I'm not too sure as to why it happens. Happened to me once with my sites. Was using IE to view it (in the same session and on other days). I was just being lazy one time and discovered that so yeah, umm always put in the quotes
Abhishek Reddy posted this at 00:20 — 20th September 2003.
He has: 3,348 posts
Joined: Jul 2001
doctype may influence how the browsers handle these things. I'm guessing Renegade was using xhtml (strict?), so browsers, particularly IE, can get fussy.
Renegade posted this at 03:11 — 20th September 2003.
He has: 3,022 posts
Joined: Oct 2002
I was using XHTML Transitional. And yes, DOCTYPE might influence too, I never thought of that...
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.