Welcome to Tech Support Forum home to more then 136,000 problems solved. Issues have included: Spyware, Malware, Virus Issues, Windows, Microsoft, Linux, Networking, Security, Hardware, and Gaming Getting your problem solved is as easy as:
1. Registering for a free account
2. Asking your question
3. Receiving an answer

Registered members:
* Get free support
* Communicate privately with other members (PM).
* Removal of this message
* See fewer ads.
* And much more..

 



Want to know how to post a question? click here Having problems with spyware and pop-ups? First Steps
Go Back   Tech Support Forum > Design Forum > Web Design & Programming
User Name
Password
Site Map Register Donate Rules Blogs Mark Forums Read


Web Design & Programming Discussion of web design, and server-side & client-side scripting

Reply
 
LinkBack Thread Tools
Old 07-16-2009, 05:04 PM   #1 (permalink)
Watching from the shadows
 
Der Rabe's Avatar
 
Join Date: Jun 2002
Location: Currently In Michigan
Posts: 1,140
OS: XP Sp3, Vista sp1, 2003 sp2


Send a message via AIM to Der Rabe Send a message via Yahoo to Der Rabe
Website Banner fit to screen HELP!!!

I havent set up a website in a while and I am in need of setting one up. Here is my main problem, I am working with frames and I have a top frame and 2 bottom frames. The top frame is for the website banner. How do I make it so that the banner covers the entire top frame. Meaning if the window is maximized the banner will expand to fill the frame and if the window is restored to normal size the image shrinks itself to fill the frame that is at that size? I hope that makes sence. Basically I want it to stretch or contract depending on browser size to fill the top frame all the time.

I have a minor other issue about linking frames. I am using the left frame as a links frame and I want the links to open in the bottom right when they are clicked. How do I find out the name of that frame to point the link.
Der Rabe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Important Information
Join the #1 Tech Support Forum Today - It's Totally Free!

TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free.

Join TechSupportforum.com Today - Click Here

Old 07-16-2009, 06:05 PM   #2 (permalink)
Design Team
 
DJ-Zep's Avatar
 
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)

My System

Re: Website Banner fit to screen HELP!!!

Okay Der Rabe, easy solve for these two questions.

For your first question, you should use width and height parameters with percentages in order to fill the frame. The only drawback with this option is that browsers will handle this differently and your banner is prone to distortion and loss of width-to-height proportion.
Here's the code (assuming you're using XHTML 1.0):
Code:
<img src="location" alt="" width="100%" height="100%" />
As far as your second question goes, you have to first name the frame and then point your links to it. You can name your frame by using the name= attribute. I always call my main content frame content, but since you are using a specific frame we can name it bottomright.
Here's an example of the name= attribute in context:
Code:
<frame src="home.htm" name="bottomright">
After you have named your content frame, it is now time to point all of the navigation links to this frame. You can do this by using the target= attribute.
Here's how your links should look:
Code:
<a href="aboutus.html" target="bottomright">About Us</a>
Just change the value of the target according to what you name your bottom right frame.
__________________
Nice music blog

Nvu || Notepad++ || Apache || PHP || Keep TSF Alive

"The great thing about a computer notebook is that no matter how much you stuff into it, it doesn't get bigger or heavier."
DJ-Zep is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-16-2009, 06:09 PM   #3 (permalink)
Watching from the shadows
 
Der Rabe's Avatar
 
Join Date: Jun 2002
Location: Currently In Michigan
Posts: 1,140
OS: XP Sp3, Vista sp1, 2003 sp2


Send a message via AIM to Der Rabe Send a message via Yahoo to Der Rabe
Re: Website Banner fit to screen HELP!!!

thank you very much i figured it was something simple i was missing
Der Rabe is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Old 07-18-2009, 07:12 AM   #4 (permalink)
God (TSF Enthusiast)
 
ahmorrow's Avatar
 
Join Date: May 2009
Location: Jeffersonville, IN
Posts: 897
OS: Ubuntu 9.10 [Karmic Koala]

My System

Send a message via AIM to ahmorrow Send a message via Yahoo to ahmorrow
Re: Website Banner fit to screen HELP!!!

Another one solved before I could get to it. I'm a failure!!!

Seriously, we've got to start marking these as solved :-P
__________________
If I have not responded to a post in 24 hours or more, PM me with a link to the thread and I'll get back to you. I do not help via PM/IM/Email.
ahmorrow is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit!
Reply With Quote
Reply


Thread Tools

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




All times are GMT -7. The time now is 11:43 PM.



Copyright 2001 - 2009, Tech Support Forum
Home Tips Plus | Outdoor Basecamp | Automotive Support Forum

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 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85