StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-11-2010, 06:40 AM
romu romu is offline
Registered User
Genesis Member
 
Join Date: Nov 2008
Location: Nantes, France
Posts: 35
Default Need some advices about HTML & CSS

Hi all,
I'm pretty close to have completed my web site re-design using the BlackCanvas theme. But, I have some issues, and as I'm not an HTML/CSS expert, I hope to get some help here.

Please, have a look at the following page: http://www.romuphoto.fr/love/en-travaux/

My problem is about the navigation arrows on the right, the code is pretty simple:

PHP Code:
<div id="navigate">
  <?php $wp_query->is_single true?>
  <div id="previous"><?php previous_post'%''&lt;''' ?></div>
  <div id="next"><?php next_post'%''>''' ?></div>
</div>
And the associated CSS is:

Code:
#navigate
{
    float: left;
    width: 300px;
    font-size: 2.0em;
    font-weight: bold;
    background: #373633;
    border: 1px solid #5B4C49;
    height: 30px;
     display: block;
}

#previous,
#next
{
    vertical-align: middle;
    text-align: center;
     display: block;
    margin-top: 5px;
}

#previous
{
    float: left;
    border-right: 1px solid #5B4C49;
    width: 149px;
}

#next
{
    float: right;
    width: 149px;
    border-left: 1px solid #5B4C49;
}


#previous:hover,
#next:hover
{
    background: #7A5E53;
}

#navigate a:hover
{
    text-decoration: none;
}
I would like to get the following result:
- when the mouse is over, the whole rectangle (next/previous) background is changed
- the whole rectangle (next/previous) is clickable

I've the feeling I'm pretty close to achieve such a result, but I'm stuck, I don't know what to do, except asking for some help.

Thanks.
 

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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
visual and html modes both html Lyn General Discussion 1 07-28-2010 04:24 PM
Where's the html? rePete General Discussion 6 02-07-2009 08:07 AM


All times are GMT -5. The time now is 08:37 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.