Board index PBase HTML and Style Sheets Banner html?

HTML and Style Sheets

Banner html?

Customize your galleries.
digipets
 
Posts: 9

Banner html?

Post Fri Oct 31, 2003 12:06 pm


I'd like to put a banner image at the top of my page. I was told I had to put the image into my inbox and make the inbox private...and given some html that didn't work.
Can someone post the html to make a banner appear at the top of the page?
TIA.
Isabel

srijith
Moderator
 
Posts: 2321
Location: Amsterdam


Post Fri Oct 31, 2003 12:54 pm


I assume that you want this banner to be present in all galleries. If so, the easiest way would be to add this banner image as background image in your CSS body tag, like this:
Code: Select all
BODY{
margin-top: 0px;
background-image:url(http://www.pbase.com/image/XXXXXXX/original.jpg);
background-repeat:no-repeat;
background-position:0px 0px;
}

Do change the 0px value and replace XXXXX with numbers of your preference.

goldcoin
 
Posts: 18


Post Fri Oct 31, 2003 7:53 pm


Isabel You go first....please!

I've been trying to figure out how to just change that creepy gray to another color.
Phyllis was so sucessful, and it looks great. Then saw the banner post, that also has great appeal.......

Will keep watching yours....
GoldCoin

digipets
 
Posts: 9


Post Sat Nov 01, 2003 8:08 pm


Thanks! Actually I'd like the banner just on the first page with thumbs of all the galleries. Can you give me a for instance of how many pixels to enter if I make the banner 800 pixels wide?
Thanks again.
Isabel

srijith wrote:I assume that you want this banner to be present in all galleries. If so, the easiest way would be to add this banner image as background image in your CSS body tag, like this:
Code: Select all
BODY{
margin-top: 0px;
background-image:url(http://www.pbase.com/image/XXXXXXX/original.jpg);
background-repeat:no-repeat;
background-position:0px 0px;
}

Do change the 0px value and replace XXXXX with numbers of your preference.

pstewart
 
Posts: 810


Post Sat Nov 01, 2003 8:49 pm


Goldcoin, it's really easy to change background colors. Here is how I did it in the Karen1109 stylesheet to turn the gray into green. I just found the number for a green I liked on this site: http://www.w3schools.com/html/html_colors.asp , then changed the old "background" color which appears right under "BODY" to #336666, which is the green I chose. Then I saved this version. Once you get the code pasted in the edit box, you can change colors all you like... I changed some font and link colors too, such as replacing the old "caption" color with #003333.

/*karen1109 stylesheet, modified by Phyllis Stewart*/

.caption {
font-size : 10pt;
color : #003333;
font-style : italic;
}

BODY{

background : #336666;

srijith
Moderator
 
Posts: 2321
Location: Amsterdam


Post Sun Nov 02, 2003 12:02 am


digipets wrote:Actually I'd like the banner just on the first page with thumbs of all the galleries. Can you give me a for instance of how many pixels to enter if I make the banner 800 pixels wide?

You can use one stylesheet for yout root gallery and another for the rest of your individual galleries.

AS for the pixel value, it defines the X,Y co-ordinates to place the banner, (0,0) being the top left hand corner of the screen. So maybe 10,10 would do?

jasmee98
 
Posts: 33


Post Sun Nov 02, 2003 7:59 pm


digipets wrote:Thanks! Actually I'd like the banner just on the first page with thumbs of all the galleries.


You could put the banner in your discription of the one page you want it to be displayed. You would use HTML in your description to post your banner.

for example:

Code: Select all
<p align="center">
<img border="0" src="http://www.pbase.com/image/YOUR IMAGE/original.jpg" width="xxx" height="yyy"></p>


YOUR IMAGE being your banner and xxx yyy being it's dimentions.

-Jay

isabel95
 
Posts: 172

thanks, Jasmee!

Post Tue Nov 04, 2003 11:55 am


Finally, code that worked...and it was easy too.
Just one more question...as you can see, the test banner (not the final one of course) is skewed to the left. How can I move it over?
Thanks so much! http://www.pbase.com/isabel95
Isabel :D

isabel95
 
Posts: 172

Re: thanks, Jasmee!

Post Tue Nov 04, 2003 11:58 am


I just changed the style sheet to a black background so you can't see the misaligned image!
Isabel

isabel95 wrote:Finally, code that worked...and it was easy too.
Just one more question...as you can see, the test banner (not the final one of course) is skewed to the left. How can I move it over?
Thanks so much! http://www.pbase.com/isabel95
Isabel :D

jasmee98
 
Posts: 33

Where's the banner?

Post Fri Nov 07, 2003 3:37 pm


Been a couple days since I was able to sit in front of my PC.

Went to your site: http://www.pbase.com/isabel95

I don't see a banner. Did you remove it??

-Jay

isabel95
 
Posts: 172


Post Wed Dec 10, 2003 1:54 pm


Yes, Jay. I did remove the banner. I wasn't happy with the way it looked.
Isabel

terriwu
 
Posts: 28


Post Fri Dec 12, 2003 9:50 am


Isabel, I put a very simple banner on my first page. Looks like this:
http://pbase.com/terriwu

scarfdoggie13
 
Posts: 1


Post Thu Aug 16, 2007 6:02 am


like this?


<a href="http://music.yahoo.com/promo-29644410"><img src="http://bukwild.com/clients/trs_promo/468x60a.jpg" width="468" height="60" border="0" l.."http://music.yahoo.com/promo-29644410"></a>

dang
 
Posts: 3780


Post Thu Aug 16, 2007 6:58 am


digipets wrote:
I was told I had to put the image into my inbox and make the inbox private..


Actually, No. You can make the gallery "hidden", but not private. If it's private, you'll most likely get a small "red x" box. :wink:

andrys
 
Posts: 2701


Post Thu Aug 16, 2007 2:07 pm


dang wrote:digipets wrote:
I was told I had to put the image into my inbox and make the inbox private..


Actually, No. You can make the gallery "hidden", but not private. If it's private, you'll most likely get a small "red x" box. :wink:


Well, it's terminology... It's actually called 'not-public' here, which
also can be seen as 'private'... And then the more restricted
galleries are the ones that are password-protected.

I use non-public galleries a lot. Only people who have the URLs will tend
to ever access them. Nor are they that enticing, actually.

Next

Board index PBase HTML and Style Sheets Banner html?

Who is online

Users browsing this forum: No registered users and 1 guest