| We hope you enjoy your visit. You're currently viewing our forum as a guest. This means you are limited to certain areas of the board and there are some features you can't use. If you join our community, you'll be able to access member-only sections, and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you're already a member please log in to your account to access all of our features: |
| Title.; Dunno if itll be hard or not. | |
|---|---|
| Tweet Topic Started: May 23 2005, 08:25 PM (297 Views) | |
| solinent | May 23 2005, 08:25 PM Post #1 |
![]()
Member
![]() ![]() ![]() ![]() ![]()
|
Yeah, well since I don't have the time(or patience) to update ALL then headers on my site(meaning things between <h1> tags) I want to do something with them. I have a templated header, so the things between the two <title> tags are allwasy the exact same. Now, I want to make them different. I need to figure out what is inbetween the <h2> tags(the first ones on the page... and i need to write it into the header. So if I went to the page "guides" and the first <h2> tag was like this: <h2>Guides</h2> I want the title header to be (websitename) :: Guides Is that possible? Also, if it can be done with a server-side script(preferably asp). Thanks for your help! |
![]() |
|
| Jory | May 24 2005, 05:08 AM Post #2 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Dunno if it can be done serverside. Think you should just use external CSS. w3schools there CSS tutorial tells you how to do that in one of the first pages. |
![]() |
|
| solinent | May 24 2005, 08:06 AM Post #3 |
![]()
Member
![]() ![]() ![]() ![]() ![]()
|
What do you mean? I know how to use external css, but what's that gotta do with it? |
![]() |
|
| Dennis | May 24 2005, 10:24 AM Post #4 |
|
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Here is how I do it: Create a config.php file, and add this to it:
Then, at the top of each page, add this:
Then, in the section of the page, add this:
Just repeat that for each page. That's how I do it. |
![]() |
|
| solinent | May 24 2005, 11:37 AM Post #5 |
![]()
Member
![]() ![]() ![]() ![]() ![]()
|
sry even though php is installed, all my pages are asp ![]() (and i have a template.look below) |
![]() |
|
| 1 user reading this topic (1 Guest and 0 Anonymous) | |
| « Previous Topic · Technology Chat · Next Topic » |
| Track Topic · E-mail Topic |
10:45 AM Jul 11
|




![]](http://b1.ifrm.com/0/1/0/p601690/pipright.png)




10:45 AM Jul 11