Jump to content

Archived

This topic is now archived and is closed to further replies.

spider1649

Need help with a banner situation!

Recommended Posts

Well heres the problem I have created a banner and when ever I make my screen resolution a different size it hides a quarter of the banner. I have tried changeing the php to table to absolute and then I even tried several things in the style sheet which include

background-repeat: no-repeat
background-position: (all positions)
background-attachment: fixed and scroll

I tried these any many different combinations and couldnt get it to work if you have any suggestions that would be great thanks

Spyder

Share this post


Link to post
Share on other sites
Assuming you aren't using a mess of position:relative and position:absolute in your layout, there's no reason why something as simple as this wouldn't work:

[code]<div id='banner'></div>[/code]

And the CSS:
[code]
#banner {
height:190px; /* adjust to suit */
margin:0;
background-image:url(../images/mybanner.jpg);
background-position: top left;
}[/code]

Share this post


Link to post
Share on other sites
I assume you know about e107 I am using that and it looks somewhat like this

.x1lorep{
background-repeat: repeat-x;
width: 100%;
background-image: url(images/Background/86banner.jpg);
font-size: 20px;
color: #B0C4DE;

Share this post


Link to post
Share on other sites
And - now that we know you're using a third party script - what does it suggest on their forum as the solution to your problem?

Share this post


Link to post
Share on other sites
Let's have a link to the site/page where you have the problem.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.