Board index PBase HTML and Style Sheets adding a border to my rootpage

HTML and Style Sheets

adding a border to my rootpage

Customize your galleries.
abdulsharif
 
Posts: 205

adding a border to my rootpage

Post Thu Mar 25, 2004 4:17 am


all i want is a border that says welcom to my website on the top...like this site says "paul keates imagry"
http://www.pbase.com/paul_keates/root

thats all i want, and i still want to keep my original background...how do i do that?

http://www.pbase.com/soulbrotha4620
PLEASE visit my webpage:
http://www.pbase.com/abdulsharif

srijith
Moderator
 
Posts: 2321
Location: Amsterdam


Post Thu Mar 25, 2004 5:25 am


Paul Keats uses the following CSS code to achieve this.
Code: Select all
h2 {
        border: rgb(255, 102,51) 2px solid;
        border-left: 1px none;
        border-right: 1px none;
        border-top: 1px none;
        margin-bottom: 1em;
        margin-left: -10px;
        margin-right: 0px;
        padding: 15px;
        width: 99%;
        display: block;
        background: rgb(0, 0, 0);
        color:  rgb(255, 160, 1);
        font-size: 18px;
        font-weight: bold;
        letter-spacing: 4px;
        text-align: center;
        height: 21px;
        position: relative;

}

h2:first-letter
{
  color: rgb(255, 102, 51);
  font-style: bold;
  font-size: 22pt;
}


You might want to play around with the colors etc to get your style.

abdulsharif
 
Posts: 205


Post Sat Mar 27, 2004 4:55 am


it didn't really work...does it only work in IE explorer? because i have netscape browser and it looked terrible...
PLEASE visit my webpage:
http://www.pbase.com/abdulsharif

pmphotos
 
Posts: 33

Do this...

Post Wed Mar 31, 2004 5:24 am


in your root gallery description - check the box underneath that says you are using html in your description and put a <h2> before your description and a </h2> after it.

abdulsharif
 
Posts: 205


Post Fri Apr 02, 2004 11:13 pm


thanks! if finally worked..looks nice to..
PLEASE visit my webpage:
http://www.pbase.com/abdulsharif


Board index PBase HTML and Style Sheets adding a border to my rootpage

Who is online

Users browsing this forum: ClaudeBot, DotBot [Bot] and 1 guest