473,382 Members | 1,717 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

Fit to browser code

Hey all,

So, I'm attempting my first web site coded in HTML (and not using a
web page editor thingy), and have encountered my first of what I
expect to be many, many problems :-) I have my background image, and
other images on the page, and I'm wondering if there is any way for
the computer to detect the user's browser setting and adjust my page
contents to fit their window. As in, if a user sees my site in a
screen resolution of 800x600, the whole page fits that window with
needing to implement scroll bars, and if someone else views the page
in 1024x768, they see the page without needing scroll bars. Is there
any way to do this without having to create 2 or 3 completely
different sites for the specific screen resoultion? Did any of the
above make sense? :-) If I should be looking for a javascript, where
can I find it? Or if it would be better off as a flash site, how the
hell do I do that?!?! :-) I'm new to this world of coding, whether it
be simplistic HTML or something far more sinister. Help would be very
much appreciated.

Thanks!!!!
~L.
Jul 20 '05 #1
6 13334
lo*****@ozconnect.net.au wrote:
I'm wondering if there is any way for
the computer to detect the user's browser setting and adjust my page
contents to fit their window.


http://www.allmyfaqs.com/faq.pl?AnySizeDesign

--
David Dorward http://dorward.me.uk/
Jul 20 '05 #2


lo*****@ozconnect.net.au wrote:
So, I'm attempting my first web site coded in HTML (and not using a
web page editor thingy)
Your statement doesn't make sense to me. Maybe you're confusing a markup
language with an application.
I'm wondering if there is any way for
the computer to detect the user's browser setting and adjust my page
contents to fit their window.


Yes. <URL:http://www.htmlhelp.com/faq/html/all.html#screen-size>

Thor

--
http://thorweb.anta.net/
Jul 20 '05 #3
lo*****@ozconnect.net.au wrote:
and I'm wondering if there is any way for
the computer to detect the user's browser setting and adjust my page
contents to fit their window. As in, if a user sees my site in a
screen resolution of 800x600, the whole page fits that window with
needing to implement scroll bars, and if someone else views the page
in 1024x768, they see the page without needing scroll bars.


Yes... just let HTML and browsers' renditions of it do what comes
naturally, instead of trying to force a particular size on it. No need
to "detect the user's browser setting"... text will re-wrap to the
window width by default if you don't do something that prevents this.

--
== Dan ==
Dan's Mail Format Site: http://mailformat.dan.info/
Dan's Web Tips: http://webtips.dan.info/
Dan's Domain Site: http://domains.dan.info/

Jul 20 '05 #4
lo*****@ozconnect.net.au wrote:

I'm wondering if there is any way for
the computer to detect the user's browser setting and adjust my page
contents to fit their window.


html does this by default as long as you don't do anything dumb to stop it
doing so

--
eric
www.ericjarvis.co.uk
"live fast, die only if strictly necessary"
Jul 20 '05 #5

<lo*****@ozconnect.net.au> wrote in message
news:ol********************************@4ax.com...
Hey all,

So, I'm attempting my first web site coded in HTML (and not using a
web page editor thingy), and have encountered my first of what I
expect to be many, many problems :-)


Not the least of which are the struggles you have with the nomenclature.
;-)
--
Karl Core

At times one remains faithful to a cause only because its opponents do not
cease to be insipid.
Friedrich Nietzsche

eightninethree AT eightninethree.com
Jul 20 '05 #6
Daniel R. Tobias wrote:
lo*****@ozconnect.net.au wrote:
and I'm wondering if there is any way for
the computer to detect the user's browser setting and adjust my page
contents to fit their window. As in, if a user sees my site in a
screen resolution of 800x600, the whole page fits that window with
needing to implement scroll bars, and if someone else views the page
in 1024x768, they see the page without needing scroll bars.


Yes... just let HTML and browsers' renditions of it do what comes
naturally, instead of trying to force a particular size on it. No need
to "detect the user's browser setting"... text will re-wrap to the
window width by default if you don't do something that prevents this.

<body BG image=""> ,but you need to compr. this first to make your web-
site faster.(and uploaded ftp the image too)
Jul 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Szar | last post by:
JS noob. I've seen plenty of browser detection scripts but they all seem to be slightly different and don't really fit my needs. I have various places where if the browser is IE I'd like to display...
16
by: Java script Dude | last post by:
To all Mozilla JS Guru's (IE dudes welcome), I have spent the last three years developing complex DHTML applications that must work in IE 5.5sp2+ but I use Mozilla 1.3+** to do all my...
12
by: Kepler | last post by:
How do you get the height of the client browser in IE? Both document.body.clientHeight and document.body.offsetHeight return the height of the document. If the page is long and there's a vertical...
17
by: lawrence | last post by:
How is it possible that the question "How do I detect which browser the user has" is missing from this FAQ: http://www.faqts.com/knowledge_base/index.phtml/fid/125 and is only here on this...
6
by: hb | last post by:
Hi, Would you please tell me how to detect if the client's browser is closed? I need such event to trigger a database modification. Thank you hb
4
by: Peter Larsen | last post by:
Hi, I want to be able to show a file browser embedded on a form - a browser which is similar to the browser you get by SHBrowseForFolder(). Is that possible ? Thank you in advance. BR Peter...
5
by: Bill Cohagan | last post by:
I'm having some serious difficulties with my ASP.Net 2.0 app rendering in Safari 2.0.3. The most immediate problem is that the menu control doesn't seem to work at all, particularly the use of...
15
by: CMM | last post by:
So I'm half way through overseeing a large project in ASP.NET 2.0. My superiors have decided that it would be nice if we ensured the site worked on all the major platforms (as they see it: IE,...
5
by: jeremy | last post by:
I have an ASP.Net 2.0 application running on Windows Server 2003. The application displays properly in Internet Explorer, however, when I use a browser control embedded in a .net form, I get an...
0
by: etnaelk | last post by:
Hi all, I have a real bugger of a problem that I just haven't been able to figure out. I am working on writing my own proxy server in C# using TcpListener, TcpClient, HttpWebRequest/Response and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.