Jump to content


Photo

Need help with a banner situation!


  • Please log in to reply
6 replies to this topic

#1 spider1649

spider1649
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 12 August 2006 - 06:50 PM

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

#2 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 12 August 2006 - 07:00 PM

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:

<div id='banner'></div>

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

Legend has it that reading the manual never killed anyone.
My site

#3 spider1649

spider1649
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 12 August 2006 - 07:02 PM

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;

#4 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 12 August 2006 - 07:05 PM

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?
Legend has it that reading the manual never killed anyone.
My site

#5 spider1649

spider1649
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 12 August 2006 - 07:07 PM

I tried to post on there forums but no one got back to me and the search has brought me to you guys

#6 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 12 August 2006 - 11:09 PM

Let's have a link to the site/page where you have the problem.
Legend has it that reading the manual never killed anyone.
My site

#7 spider1649

spider1649
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 12 August 2006 - 11:16 PM

the86th.com




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users