Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Screen Resolution Code?
Old 08-14-2005, 08:36 PM Screen Resolution Code?
Tablemaster's Avatar
Average Talker

Posts: 17
Location: FL
Trades: 0
Hi friends.

Is there html code that can be used to change the size of my web page(800x600, 1024x768 etc.)based on the screen resolution settings of visitors?

~Peace.
__________________

Please login or register to view this content. Registration is FREE
Tablemaster is offline
Reply With Quote
View Public Profile Visit Tablemaster's homepage!
 
 
Register now for full access!
Old 08-15-2005, 03:52 AM
chrishirst's Avatar
Missing! presumed drunk.

Posts: 41,515
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
No and sort of,

Specify your page element widths in % and it will flow to fit the browser viewport.
__________________
Chris. ->> Links are advertising NOT optimising!! <<-
A foolish consistency is the hobgoblin of little minds
Thought for today:- I SEO the only industry where all the cowboys are Indians?
chrishirst is offline
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 08-15-2005, 06:27 AM
asm
Extreme Talker

Posts: 217
Location: UK.Lancashire(true)
Trades: 0
you can probably specify the width of the page dynamically with JavaScript. I would google it and see if there is one that you can use.
asm is offline
Reply With Quote
View Public Profile Visit asm's homepage!
 
Old 08-15-2005, 07:20 AM
Harvey's Avatar
Super Spam Talker

Posts: 901
Name: Harvey C
Location: Brighton, UK
Trades: 0
Personally, I would make a site that's compatible with all reasonable screen res - ie. as chrishirst said, use % widths.

To do this with tables, make the width of the table whatever % of the screen you want it to fill. Slice up any images you might have as headers, leaving space in between each one.

I suggest you take a look at w3schools or something, as you don't seem too familiar with these. Would also tell you how to do it with straight CSS, but I have no idea!

If you want to stay in the dark ages and do it the long-winded, inconvenient way, I'd recommend javascript. Try googling for "javascript", and then on the main sites, search for "resolution". However, this will not directly change the "size of your your webpage" as requested, but redirect the user to a differently sized page/directory. I don't recommend this, as it'll mean having to redesign your site for several different resolutions.

Edit: Has anybody else noticed the irony of this post? You call yourself tablemaster, yet you've missed out on the easiest way to solve this problems - tables (or css...)
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

Last edited by Harvey; 08-15-2005 at 07:23 AM..
Harvey is offline
Reply With Quote
View Public Profile
 
Old 08-15-2005, 11:30 AM
Tablemaster's Avatar
Average Talker

Posts: 17
Location: FL
Trades: 0
Lol........My problem is with the height & width of my tubes......

<table width="90%" background="http://dreamer.serverextremehosting.com/FONDOS/Back12.gif">

<tr><td><img width="20%" height="100%" src="http://dreamer.serverextremehosting.com/GradTubes/09a.jpg">

<td align="center">

<font sise=5 color=gold>Why My Tubes Dissapear?</font>

<td><img width="20%" height="100%" src="http://dreamer.serverextremehosting.com/GradTubes/09a.jpg">

<tr></td></table>

Any time that I try to used the code above....my tube disappear!...

~ Peace.
__________________

Please login or register to view this content. Registration is FREE

Last edited by Tablemaster; 08-16-2005 at 11:36 AM..
Tablemaster is offline
Reply With Quote
View Public Profile Visit Tablemaster's homepage!
 
Reply     « Reply to Screen Resolution Code?
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.15850 seconds with 12 queries