![]() | | ||||||||
| | #1 |
| Active Warrior Join Date: Nov 2008
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
|
How can I get my header to display from left to right so it can display on all resolutions and browsers.(so there is no sidescroller bars) (without making it all blurred) My brother told me there is a code.... I kinda want my header to be like. wholsaletrafficsystem[dot]com - I hope I'm allowed to post links as an example :P |
|
I'm only good at keyword researching :P
| |
| | |
| | #2 |
| Advanced Warrior War Room Member Join Date: Feb 2008 Location: Escondido, CA. Becase San Marcos just wasn't hot enough.
Posts: 510
Thanks: 35
Thanked 56 Times in 55 Posts
|
There isn't a specific code that does what you want. What you need to do is design your site with % widths, not specific pixel sizes. Your header image will, of course, be a set dimension (the header for the site you referenced is 450px), and the outer dimensions of the page will be dynamic.
|
| | |
| | #3 |
| HyperActive Warrior War Room Member Join Date: Jul 2002 Location: South Carolina, USA.
Posts: 180
Thanks: 7
Thanked 14 Times in 12 Posts
|
The blue gradient is a a very narrow image (2x150px) set to repeat across the top of the page so it will fill the entire width of the browser window. If you make your browser narrower than 900px though you'll see that the left/right scroll bar appears because the content table is set at 900px.
|
|
Barbara Wilson http://www.ecoverdesigns.com | |
| | |
| | #4 | |
| Active Warrior Join Date: Nov 2008
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
| Quote:
I'm sorry for my complete noobishness but could you please tell me how to do that? I'm using Photoshop And Xsitepro More specifically, how can I "set to repeat my header across the top of the page so it will fit the entire width of the window" P.S Forgot to say thanks! - Just excuse my noobishness
| |
|
I'm only good at keyword researching :P
| ||
| | |
| | #5 |
| HyperActive Warrior War Room Member Join Date: Jul 2002 Location: South Carolina, USA.
Posts: 180
Thanks: 7
Thanked 14 Times in 12 Posts
|
Put this in the head of your page: <style type="text/css"> body { background-image: url(images/bkg.gif); background-repeat: repeat-x; } </style> where bkg.gif is the image of your gradient In the site you referenced this image is 2px wide and 150px long but the length is going to depend on how long your gradient is. |
|
Barbara Wilson http://www.ecoverdesigns.com | |
| | |
| | #6 |
| Active Warrior Join Date: Nov 2008
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
|
I put that code in there and nothing happened + I dont understand |
|
I'm only good at keyword researching :P
| |
| | |
| | #7 |
| Active Warrior Join Date: Nov 2008 Location: michigan
Posts: 56
Thanks: 3
Thanked 7 Times in 7 Posts
|
I will help you with your problem. I just need you to PM me if you want my help I will take a look at what you have and we'll get everything working. The advice that you where given, while it would work, is not the best way to do it. I do not want any money just let me know if you want my help? |
| | |
| | #8 |
| HyperActive Warrior War Room Member Join Date: Jul 2002 Location: South Carolina, USA.
Posts: 180
Thanks: 7
Thanked 14 Times in 12 Posts
|
Yacko - Did you create your bkg.gif image and put it in your images folder? mr_banks - Well, I wouldn't do it this way either - I'd use css. But this seemed the easiest way to get it working for Yacko. How would you do it? I'm always eager to learn a better way to do something. |
|
Barbara Wilson http://www.ecoverdesigns.com | |
| | |
| | #9 |
| Active Warrior Join Date: Nov 2008
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
|
Sadly, I can't P.M
|
|
I'm only good at keyword researching :P
| |
| | |
| | #10 | |
| Active Warrior Join Date: Nov 2008
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
|
Here is my code if that will help you guys: Quote:
| |
| | |
| | #11 | |
| Active Warrior Join Date: Nov 2008
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
|
This is a post from another site which I posted on . Maybe that'll also help you guys Quote:
| |
|
I'm only good at keyword researching :P
| ||
| | |
| | #12 |
| Active Warrior Join Date: Nov 2008
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
|
It would be, really really nice if someone could actually HELP me >_<
|
|
I'm only good at keyword researching :P
| |
| | |
| | #13 |
| Advanced Warrior War Room Member Join Date: Feb 2008 Location: Escondido, CA. Becase San Marcos just wasn't hot enough.
Posts: 510
Thanks: 35
Thanked 56 Times in 55 Posts
|
So what exactly is the problem at this point? What have you done? What changed when you did that? If you're expecting your header IMAGE to expand and contract based on screen resolution, you're going to be disappointed. |
| | |
| | #14 | |
| Active Warrior Join Date: Nov 2008
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
| Quote:
I simply want the header to go from LEFT to RIGHT without making side stroller bars. I DONT CARE HOW ITS DONE, I just want it done .
| |
|
I'm only good at keyword researching :P
| ||
| | |
| | #15 |
| Advanced Warrior War Room Member Join Date: Feb 2008 Location: Escondido, CA. Becase San Marcos just wasn't hot enough.
Posts: 510
Thanks: 35
Thanked 56 Times in 55 Posts
|
What's your website? wholsaletrafficsystem dot com (as you typed it in your OP) doesn't resolve, so I went to wholesaletrafficsystem dot com/. There are no horizontal scroll bars there at 1024x768. On the other hand, the code there doesn't seem to match what you posted. Without better info, it's going to be hard to help. |
| | |
| | #16 |
| Active Warrior Join Date: Nov 2008
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
|
That's not my website. I simply want my header like that! From left to right. If you read my post, maybe you'd realize. What info do I need? I simply want my header to go from left to right without making side scroller bars. THE CODE IS FOR MY WEBSITE. What other info do you want, I've given you my code. I need steps to take to get my header like wholesaletrafficsystem.com |
|
I'm only good at keyword researching :P
| |
| | |
| | #17 |
| Advanced Warrior War Room Member Join Date: Feb 2008 Location: Escondido, CA. Becase San Marcos just wasn't hot enough.
Posts: 510
Thanks: 35
Thanked 56 Times in 55 Posts
|
Let's see your CSS. And I'd suggest throttling back a little on your attitude if you want help from people |
| | |
| | #18 |
| Active Warrior Join Date: Nov 2008
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
|
I apologize. It would be appreciated if I read my post >_<. Anyways, I don't have CSS, I just have made a photoshop header... Please explain :\.... My website is... www.qwikweightloss.com/pooga/challange.html |
|
I'm only good at keyword researching :P
| |
| | |
| | #19 |
| HyperActive Warrior War Room Member Join Date: Jul 2002 Location: South Carolina, USA.
Posts: 180
Thanks: 7
Thanked 14 Times in 12 Posts
|
Your header and page is 1280px wide - there's going to be left/right scroll bars for everyone with their resolution set lower than 1280x768.
|
|
Barbara Wilson http://www.ecoverdesigns.com | |
| | |
| | #20 |
| Active Warrior Join Date: Nov 2008
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
|
Okay. I know that. But at wholesaletrafficsystem.com - They have their header adjust from left to right with no side scrollers. (no matter what the resolution etc.) The question is how do I get it like that. Is there a code? Is there some special trick? What are the steps I need to take in order to get my website like that? Surely it can't be that hard if everybody is doing it. As I've said, if you view wholesaletrafficsystem.com at all resolutions, their header appears identically. I'm asking HOW do they do that. I really don't mean to offend but not one person has answered my question properly Thanks |
|
I'm only good at keyword researching :P
| |
| | |
| | #21 |
| HyperActive Warrior War Room Member Join Date: Jul 2002 Location: South Carolina, USA.
Posts: 180
Thanks: 7
Thanked 14 Times in 12 Posts
|
Actually Yacko - I did answer your question 3 days ago. Also, I've read your thread at the other forum and several people over there gave you various methods for handling this. You do have a css style sheet. It's named xsp_style.css. In that file is a rule for BODY. Make that definition read like this: BODY { FONT-SIZE: 8pt; MARGIN: 0px; COLOR: #000000; FONT-FAMILY: Tahoma, Sans-Serif; BACKGROUND-COLOR: #ffffff; background-image: url(bkg.gif); background-repeat: repeat-x; background-position: top; } This is adding the 3 lines for the background - background-image, background-repeat and background-position. Upload your edited css file. Make a new image from a blank part of your header that's 2 or 3 px wide and the full height of 150 px. You'll have a very thin image that's black with the small border of gold at the bottom. Name this image bkg.gif and upload it into your images folder. This is the way the site you referenced in your OP was set up. You're not actually stretching the header - this adds a background that matches your header background and makes it appear that the header is filling the entire browser window - left to right. |
|
Barbara Wilson http://www.ecoverdesigns.com | |
| | |
| | #22 |
| Advanced Warrior War Room Member Join Date: Feb 2008 Location: Escondido, CA. Becase San Marcos just wasn't hot enough.
Posts: 510
Thanks: 35
Thanked 56 Times in 55 Posts
|
The header image at WTS is only 450px wide. The rest of what you see is background. So, as long as you view that site at something above 450px, you won't get scroll bars. The browser just fills in the background as needed. Most people use resolutions of 1024px wide or less. Seems like you're designing at 1280, so YOU don't get scroll bars, but most of the rest of the world will. |
| | |
| | #23 | |
| Active Warrior Join Date: Nov 2008
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
|
Finally, I think we've hit bullseye. I've figured I actually do have a CS file thanks to Barbara. :]. But the problem isn't solved yet... Where do I specify those details... >_< Quote:
| |
|
I'm only good at keyword researching :P
| ||
| | |
| | #24 |
| Advanced Warrior War Room Member Join Date: Feb 2008 Location: Escondido, CA. Becase San Marcos just wasn't hot enough.
Posts: 510
Thanks: 35
Thanked 56 Times in 55 Posts
| |
| | |
| | #25 |
| Active Warrior Join Date: Nov 2008
Posts: 32
Thanks: 2
Thanked 1 Time in 1 Post
| |
|
I'm only good at keyword researching :P
| |
| | |
| | #26 | |
| HyperActive Warrior War Room Member Join Date: Jul 2002 Location: South Carolina, USA.
Posts: 180
Thanks: 7
Thanked 14 Times in 12 Posts
| Quote:
Here - BODY{MARGIN-LEFT: 0px;MARGIN-RIGHT: 0px;MARGIN-TOP: 0px;MARGIN-BOTTOM: 0px;BACKGROUND-COLOR: #FFFFFF;FONT-SIZE: 8pt; COLOR: #000000; FONT-FAMILY: Tahoma, Sans-Serif;} | |
|
Barbara Wilson http://www.ecoverdesigns.com | ||
| | |
![]() |
|
| Tags |
| back, header, website |
| Thread Tools | |
| |
![]() |