![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| 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: * 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 |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Watching from the shadows
|
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. |
|
|
|
| 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 |
|
|
#2 (permalink) |
|
Design Team
Join Date: Mar 2006
Location: Philadelphia
Posts: 1,541
OS: Windows Vista Home Premium (x64)
|
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%" /> Here's an example of the name= attribute in context: Code:
<frame src="home.htm" name="bottomright"> Here's how your links should look: Code:
<a href="aboutus.html" target="bottomright">About Us</a>
__________________
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." |
|
|
|
|
|
#4 (permalink) |
|
God (TSF Enthusiast)
Join Date: May 2009
Location: Jeffersonville, IN
Posts: 897
OS: Ubuntu 9.10 [Karmic Koala]
|
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. |
|
|
|
![]() |
| Thread Tools | |
|
|