GeekIMO

GeekIMO *
Please login or register.

Login with username, password and session length
 

  • Home
  • Help
  • Search
  • Login
  • Register

  • GeekIMO »
  • Software »
  • Programming Discussion & Issues »
  • HTML Logo Placement Problem?
« previous next »
  • Reply
  • Print
Pages: 1   Go Down

Author Topic: HTML Logo Placement Problem?  (Read 267 times)

Offline Cloud

  • Administrator
  • Guest
  • Posts: 870
  • Geek-Ups: +14/-0
    • View Profile
    • Forge Team
HTML Logo Placement Problem?
« on: October 05, 2008, 11:09:20 PM »
  • Quote
Ok so I have 2 logos, One that says homepage and one that says Current projects. The homepage logo should be on the homepage and it is. The Current projects one should be on current projects but when I click on current projects it isn't.
TAKE A LOOK, CLICK ME
« Last Edit: October 06, 2008, 02:08:34 PM by 1 »
Report to moderator   Logged

Offline i-CONICA

  • Administrator
  • Guest
  • Posts: 8
  • Geek-Ups: +0/-0
    • View Profile
    • FileQuake.com
Re: HTML Logo Placement Problem?
« Reply #1 on: October 05, 2008, 11:14:09 PM »
  • Quote
That's because the current projects is in another directory, Like i said in the other post about relative paths, it's no longer got the correct path to the style sheet.

change
Code: [Select]
<link href="style.css" rel="stylesheet" type="text/css" />to
Code: [Select]
<link href="../style.css" rel="stylesheet" type="text/css" />in the currentprojects/index.html page

Then read up on relative paths!  ;)
Report to moderator   Logged

Offline Cloud

  • Administrator
  • Guest
  • Posts: 870
  • Geek-Ups: +14/-0
    • View Profile
    • Forge Team
Re: HTML Logo Placement Problem?
« Reply #2 on: October 05, 2008, 11:31:01 PM »
  • Quote
but I want the logo to change. On the style it uses the same header.
Report to moderator   Logged

Offline i-CONICA

  • Administrator
  • Guest
  • Posts: 8
  • Geek-Ups: +0/-0
    • View Profile
    • FileQuake.com
Re: HTML Logo Placement Problem?
« Reply #3 on: October 05, 2008, 11:38:06 PM »
  • Quote
Ok so do the above step first of all.

Then open style.css, change
Code: [Select]
#header {
     width:750px;
     height:341px;
     margin-left:25px;
     background-image:url(images/header.jpg);
     display:block;
}
to
Code: [Select]
#headerhome {
     width:750px;
     height:341px;
     margin-left:25px;
     background-image:url(images/header.jpg);
     display:block;
}
#headercp {
     width:750px;
     height:341px;
     margin-left:25px;
     background-image:url(images/headercp.jpg);
     display:block;
}
now open the site home page, change
Code: [Select]
id="header"to
Code: [Select]
id="headerhome"
and open the current projects page and change
Code: [Select]
id="header"to
Code: [Select]
id="headercp"
Now the home page's header id will follow headerhome to find header.gif and in the current projects page, the header id headercp will follow to find the image headercp.gif which your about to create and upload.

 :)
Report to moderator   Logged

Offline Cloud

  • Administrator
  • Guest
  • Posts: 870
  • Geek-Ups: +14/-0
    • View Profile
    • Forge Team
Re: HTML Logo Placement Problem?
« Reply #4 on: October 05, 2008, 11:55:58 PM »
  • Quote
Yeh it works!
Report to moderator   Logged

  • Reply
  • Print
Pages: 1   Go Up
« previous next »
  • GeekIMO »
  • Software »
  • Programming Discussion & Issues »
  • HTML Logo Placement Problem?
 

+ Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:

  • Powered by SMF 2.0 RC3 | SMF © 2006–2010, Simple Machines LLC
  • Sitemap
  • RSS
  • WAP2

Page created in 0.087 seconds with 16 queries.