home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 3169
Discussions: 188,374, Posts: 2,243,437, Members: 232,603
Old October 14th, 2007, 04:34 AM   Digg it!   #1 (permalink)
Senior Member
 
phrozen_dreamz's Avatar
 
Join Date: Aug 2002
Location: Bellevue, WA
Posts: 795
How to keep aspect ratio at all resolutions

Hi, my girlfriend is building her website. She's having a problem with the coding.
There's an image on the bottom right that she wants to keep in the same spot no matter what the screen size is. How can she do that? Thanks in advanced! ! !

OH, and she's using dreamweaver 8 to build it.




__________________
When you began, we ended.

phrozen_dreamz is offline   Reply With Quote
Old October 14th, 2007, 03:58 PM     #2 (permalink)
Senior Member
 
phrozen_dreamz's Avatar
 
Join Date: Aug 2002
Location: Bellevue, WA
Posts: 795
ttt

phrozen_dreamz is offline   Reply With Quote
Old October 15th, 2007, 12:33 AM     #3 (permalink)
Senior Member
 
evereddie's Avatar
 
Join Date: Feb 2004
Location: North Carolina
Posts: 541
Is this photo on a seperate layer?

evereddie is offline   Reply With Quote
Old October 15th, 2007, 01:12 AM     #4 (permalink)
Banned
 
Keymaker's Avatar
 
Join Date: Jan 2005
Location: Loveland, CO
Posts: 5,492
Blog Entries: 2
Send a message via ICQ to Keymaker Send a message via Yahoo to Keymaker
iframe?

http://www.w3schools.com/tags/tag_iframe.asp

Source chart could help in dissecting it

Last edited by Keymaker : October 15th, 2007 at 01:14 AM. Reason: Source chart
Keymaker is offline   Reply With Quote
Old October 15th, 2007, 01:17 AM     #5 (permalink)
Super Stealthy Moderator
 
RicheemxX's Avatar
 
Join Date: Jan 2003
Location: Outside the box
Posts: 4,554
Blog Entries: 4
Send a message via Yahoo to RicheemxX
I see three images set inside a table, and that table isn't the only thing that doesn't scale. All of her layers on the bottom won't scale I'm guessing because the positions are set absolutely


*edit: I think there are 5 layers on the bottom an embedded mp3 being one but yeah the layers are set with absolute positions. BTW dealing with layers and css is not my thing today.

Code:
<style type="text/css">
<!--
body {
    background-image: url(http://www.patcha.th.gs/web-p/atcha/images%5Cgraphic%5Cbg01.jpg);
}
.style1 {
    font-family: "Kristen ITC";
    font-size: 10px;
}
#Layer1 {
    position:absolute;
    width:365px;
    height:115px;
    z-index:1;
    left: 589px;
    top: 572px;
}
#Layer2 {
    position:absolute;
    width:127px;
    height:37px;
    z-index:2;
    left: 343px;
    top: 622px;
}
.style54 {
    font-family: "Kristen ITC";
    font-size: xx-small;
    color: #000000;
}
.style63 {color: #F95760}
.style7 {
    font-size: 10px;
    color: #F95760;
    font-family: "Kristen ITC";
}
.style65 {font-family: "Kristen ITC"; font-size: xx-small; color: #000000; font-style: italic; }
#Layer3 {
    position:absolute;
    left:452px;
    top:667px;
    width:112px;
    height:23px;
    z-index:3;
}
.style66 {font-family: "Kristen ITC"; font-size: 10px; color: #FF0000; }
.style68 {color: #0000FF}
#Layer4 {
    position:absolute;
    left:340px;
    top:480px;
    width:193px;
    height:100px;
    z-index:4;
}
#Layer5 {
    position:absolute;
    left:500px;
    top:598px;
    width:31px;
    height:10px;
    z-index:4;
}
-->
__________________
“Every question involves someone having to work for an answer, isn't it about time you did your share”
"Whatever you want to do, do it now. There are only so many tomorrows."

Last edited by RicheemxX : October 15th, 2007 at 01:32 AM.
RicheemxX is offline   Reply With Quote
Old October 15th, 2007, 01:25 AM     #6 (permalink)
Banned
 
Keymaker's Avatar
 
Join Date: Jan 2005
Location: Loveland, CO
Posts: 5,492
Blog Entries: 2
Send a message via ICQ to Keymaker Send a message via Yahoo to Keymaker
Here is the link. http://patcha.th.gs/

Here is a picture of what I got in the source chart and what it looks like on my screen @ 1680 * 1050. (note, I chose the selection of the window.) The html in the .zip is the whole source code.
Keymaker is offline   Reply With Quote
Old October 15th, 2007, 01:39 AM     #7 (permalink)
Banned
 
Keymaker's Avatar
 
Join Date: Jan 2005
Location: Loveland, CO
Posts: 5,492
Blog Entries: 2
Send a message via ICQ to Keymaker Send a message via Yahoo to Keymaker
I have also noticed that a lot of content is coming from here computer? Is she hosting the page form her own server or something? I see a spacer image of 1 X 1, but it doesn't seem to appear. I would see it because I run a script in Grease monkey to show 1 X 1 images (allowing image pre loading).
Keymaker is offline   Reply With Quote
Old October 15th, 2007, 02:01 AM     #8 (permalink)
Senior Member
 
phrozen_dreamz's Avatar
 
Join Date: Aug 2002
Location: Bellevue, WA
Posts: 795
ohh maybe I forgot about it!... I host it from a Thai hosting.

And thanks for all comments... I appreciate it. I will try to work on it .....just wanna let you guys know... I am a new web mastress

Last edited by phrozen_dreamz : October 15th, 2007 at 02:03 AM.
phrozen_dreamz is offline   Reply With Quote
Old October 15th, 2007, 03:10 PM     #9 (permalink)
Super F@D Folder
 
Join Date: Jun 2004
Posts: 5,004
Send a message via AIM to sr71000
Are you coding by hand or are you using the wysiwyg editor in dream weaver? If you're coding by hand you really need to rethink your coding style when building a page like this. When building a center column page like this you want to take a div, set it's width, and then set margin-left and margin-right to auto using css. Then ALL your content goes in that div!
sr71000 is offline   Reply With Quote
Old October 15th, 2007, 07:42 PM     #10 (permalink)
Senior Member
 
phrozen_dreamz's Avatar
 
Join Date: Aug 2002
Location: Bellevue, WA
Posts: 795
I use Dreamweaver8 .. what I wanna do is.. I set the pixel dimensions for my layers. I want my layers to auto change regardless the window size. I don't know about CSS....well.. maybe I need to read about Css it's kinda advance for me.. I just wanted to start from basic right now but seems like I need more advance knowledge to fix my problem Thanks alot! everybody!

Pat
phrozen_dreamz is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Looking for software to crop 16:9 aspect ratio? Zoltar Graphic Design and Digital Photography 4 April 5th, 2006 05:21 PM
Aspect Ratio in Maximus DVD? Redwolf Multimedia and Audio 0 June 10th, 2002 06:55 PM
PowerDVD 4.0 aspect ratio problem VERT Applications and Operating Systems 8 May 27th, 2002 08:58 PM
Blockbuster, DVD and aspect ratio... crazyray IMO Community 4 February 27th, 2002 11:03 PM
PowerDVD and keep-aspect-ratio with DIVX/AVI/MPEG DutchMaster Multimedia and Audio 6 February 5th, 2002 05:43 PM

Most Active Discussions
Is It Just Me? (2881)
The United States Debt (20)
Looks like Burris will get his Sena.. (7)
Upgrading RAM (5)
I think I just killed my computer w.. (24)
Folderchat Weekday thread (436)
Antec 300 bulk purchase? (11)
Worth the upgrade?? (14)
Titan quest and Immortal Throne, an.. (17)
Recent Discussions
CPU wont boot (3)
Best digital camera for under 2.. (13)
Building first computer, will t.. (2)
Folderchat Weekday thread (436)
Help with an Ati Radeon HD 4850.. (22)
get this error, "res://C:\.. (73)
Problem with boot and motherboa.. (0)
MS to offer free Windows 7 upgr.. (1)
System Security Virus (20)
Blackberry Storm, Gears of War .. (1)
Core 2 Quad Q9550 system (3)
COWBOOM Ripoff! Used Laptop w/$.. (4)


All times are GMT -4. The time now is 07:35 PM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28