creating new div class + making images links

This is a discussion on "creating new div class + making images links" within the PHP Forum section. This forum, and the thread "creating new div class + making images links are both part of the Program Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Program Your Website > PHP Forum

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Jun 18th, 2006, 16:46
New Member
Join Date: Jun 2006
Location: london
Age: 23
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
creating new div class + making images links

hi

i want to divide my header area into two so that the main logo on the left links back to the main blog page (not essential) and the rss symbol on the right links to the feed for my entries (more important)
here are two pictures to illustrate what i mean:
fannymagnate.com/helpexample.png
fannymagnate.com/helpexamplediv.png
the site at the moment: fannymagnate.com/blog
i am guessing i need to make the header smaller and create a new div next to it, into which i would put the rss symbol, but i don't know how to this. i also have no idea how to make the images link to something

thank you in advance

ben
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Jun 19th, 2006, 03:04
herkalees's Avatar
Highly Reputable Member
Join Date: Jul 2005
Location: Massachusetts, USA
Age: 87
Posts: 576
Thanks: 0
Thanked 0 Times in 0 Posts
Re: creating new div class + making images links

html:
Code: Select all
<div id="headerLogo"><a href="index.php"><img src="path/to/sitelogo.jpg" alt="Go to home page" /></a></div>

<div id="headerRSS"><a href="rss_thing.rss"><img src="path/to/rsslogo.jpg" alt="Subscribe to RSS feed" /></a></div>

<div id="content">
--- All your site content goes in here. ---
</div>
css:
Code: Select all
#headerLogo {float: left;}
#headerRSS {float: right;}
#content {clear: both;}
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Tags
creating, div, class, making, images, links

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Class of images... mental blank here... minute44 Web Page Design 6 Nov 7th, 2007 14:37
Creating links to .exe's on a CD Trickyrick Starting Out 11 Aug 29th, 2007 04:34
Is it possible to align images in a div class? AdRock Web Page Design 9 Jul 30th, 2006 23:11
creating images in php benbacardi PHP Forum 7 Jul 20th, 2005 03:59
making links... benbacardi Classic ASP 1 May 18th, 2005 08:12


All times are GMT. The time now is 23:27.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved