HighDots Forums  

css - linking to header image

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss css - linking to header image in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
VinnieVee
 
Posts: n/a

Default css - linking to header image - 06-01-2006 , 05:18 PM






Hello,
I'm building a Web site using CSS. I refer to the header image file within
the #header part of my CSS - "background-image:
url(../images/header_birnweb.jpg);
background-repeat: no-repeat; "
Then I merely create a header division in my HTML file: <div
id="header"></div>

But now my client wants to link to the the header image to the site index
page. How do I do that?

Thanks,
Lee:cool;


Reply With Quote
  #2  
Old   
Bryan Ashcraft **AdobeCommunityExpert**
 
Posts: n/a

Default Re: css - linking to header image - 06-01-2006 , 06:11 PM






You could put a transparent gif in the header div and use it to create the
link.

--
Bryan Ashcraft (remove brain to reply)
Web Application Developer
Wright Medical Technologies, Inc.
=============================
Macromedia Certified Dreamweaver Developer
Adobe Community Expert (DW) :: http://www.adobe.com/communities/experts/


"VinnieVee" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hello,
I'm building a Web site using CSS. I refer to the header image file
within
the #header part of my CSS - "background-image:
url(../images/header_birnweb.jpg);
background-repeat: no-repeat; "
Then I merely create a header division in my HTML file: <div
id="header"></div

But now my client wants to link to the the header image to the site index
page. How do I do that?

Thanks,
Lee:cool;




Reply With Quote
  #3  
Old   
Shane H
 
Posts: n/a

Default Re: css - linking to header image - 06-01-2006 , 06:32 PM



Other than a transparent image nested inside the DIV, I'm not too sure of
any other way.

One question: is there a reason you're doing it like that, instead of using
the <img> tag? Cleanliness? Ease?

Just curious ...

--
Shane H
shane (AT) NOSPAMavenuedesigners (DOT) com
http://www.avenuedesigners.com

=============================================
Proud GAWDS Member
http://www.gawds.org/showmember.php?memberid=1495

Delivering accessible websites to all ...
=============================================


"VinnieVee" <webforumsuser (AT) macromedia (DOT) com> wrote

Quote:
Hello,
I'm building a Web site using CSS. I refer to the header image file
within
the #header part of my CSS - "background-image:
url(../images/header_birnweb.jpg);
background-repeat: no-repeat; "
Then I merely create a header division in my HTML file: <div
id="header"></div

But now my client wants to link to the the header image to the site index
page. How do I do that?

Thanks,
Lee:cool;




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.