Board index PBase HTML and Style Sheets Centering header in main description

HTML and Style Sheets

Centering header in main description

Customize your galleries.
sheila
 
Posts: 1303

Centering header in main description

Post Wed Aug 18, 2004 1:18 am


I have worked out how to center/centre the text in the description in the main gallery but I cannot figure out how to center the header "Sheila Smart : Photographer". When I tried to do the same to the header, I lost the large text. I did a search but couldn't find this info.

Thanks in anticipation.
Sheila
Sheila Smart
Canon 5D Mark III; 17-40L; 24-70 f/2.8L; 70-300 f.4-5.6 L USM; 135 f/2L; 100 f/2.8 macro; 8-15 f/4 L fisheye

Blog: http://sheilasmartphotography.blogspot.com/

srijith
Moderator
 
Posts: 2321
Location: Amsterdam


Post Wed Aug 18, 2004 6:30 am


Just to check, in your CSS file, you have
Code: Select all
h2 {
        ..........
        text-align: Left;
        ..........
}

Did you try changing the text-align to center?

sheila
 
Posts: 1303


Post Wed Aug 18, 2004 8:14 am


Srijith to the rescue, yet again. Changing it to center worked. Thanks Srijith.

Cheers
Sheila
Sheila Smart
Canon 5D Mark III; 17-40L; 24-70 f/2.8L; 70-300 f.4-5.6 L USM; 135 f/2L; 100 f/2.8 macro; 8-15 f/4 L fisheye

Blog: http://sheilasmartphotography.blogspot.com/

sheila
 
Posts: 1303


Post Sat Aug 28, 2004 11:37 pm


Srijith

I had changed the CSS to center which looks fine but I noticed today that when logged out, seeing the galleries as a visitor, the text is to the left again - but not when I am logged in. Any ideas?

Cheers
Sheila
Sheila Smart
Canon 5D Mark III; 17-40L; 24-70 f/2.8L; 70-300 f.4-5.6 L USM; 135 f/2L; 100 f/2.8 macro; 8-15 f/4 L fisheye

Blog: http://sheilasmartphotography.blogspot.com/

srijith
Moderator
 
Posts: 2321
Location: Amsterdam


Post Sun Aug 29, 2004 9:54 am


sheila wrote:Srijith

I had changed the CSS to center which looks fine but I noticed today that when logged out, seeing the galleries as a visitor, the text is to the left again - but not when I am logged in. Any ideas?

Cheers
Sheila

Strange.. I dont seem to see the problem at my side, logged in or logged out the title is shown in the center. Could it be some browser cache issue? I cant think of any reason why the title will not be centered for a guest, since those HTML codes are common to everyone who views the galleries.


Board index PBase HTML and Style Sheets Centering header in main description

Who is online

Users browsing this forum: ClaudeBot and 1 guest