I'm working on my own site - a long overdue project and I have come up with a design I'm really happy with. However, the design has a torn edge look at the bottom of the header with three tabs coming out from it.
Expand|Select|Wrap|Line Numbers
- div.header
- {
- width : 100%;
- margin-left : auto;
- margin-right : auto;
- margin-top : 0px;
- }
- div.header a.logo
- {
- display : block;
- height : 102px;
- width : 100%;
- margin-left : auto;
- margin-right : auto;
- margin-top : 0px;
- background-image : url("../images/njd_logo.png");
- background-repeat : no-repeat;
- background-position : left;
- }
- /* 2.2 Navigation layout */
- div.navigation
- {
- position : relative;
- width : 50%;
- float : right;
- height : 75px;
- top : -40px;
- z-index : -1;
- }
- div.navigation ul
- {
- display : inline;
- float : right;
- margin-right : 25px;
- }
- div.navigation li
- {
- display : inline;
- list-style : none;
- margin-right : 10px;
- }
The trouble I have is that the li items need to be clickable.
Expand|Select|Wrap|Line Numbers
- <div class="header">
- <?=anchor("nathanjamesdavies/"," ","title='return home' class='logo'")?>
- <div class="navigation">
- <ul>
- <li><?=anchor("nathanjamesdavies/project/1", "<img src='/../images/webdev_link.png' title='web–dev' alt='web–dev'/>", "title='web–dev'")?></li>
- <li><?=anchor("nathanjamesdavies/project/2", "<img src='/../images/appdev_link.png' title='app–dev' alt='app–dev'/>", "title='app–dev'")?></li>
- <li><?=anchor("nathanjamesdavies/project/3", "<img src='/../images/ticktock_link.png' title='tick–tock' alt='tick–tock'/>", "title='tick–tock'")?></li>
- </ul>
- </div>
- </div>
(I'm using CodeIgniter hence the anchor function). I could really do with some help getting this to layout and function as I want. It's proving to be a real pain.
Thanks
nathj