Hi all,
Graphic designer here hell bent on learning web design with a question probably asinine for all those viewing but vexing to me for the last week.
I have a site beautifully designed ([URL=”http://kovcreation.com/”]can be seen here as a static jpeg
I have many questions concerning this project but I’ll keep this thread focused on the code for positioning images on the navbar. I have the buttons (67px by 14px) and sidebar (36px by 594px) all measured out and have tried a few different semantics to accomplish this but all for not. The images always end up stacking in the top left corner.
[code=html]<body>
<div id=”butttons”>
</div>
<div id=”nav”>
<img src=”images/layout/images/Side_nav.png”/>
</div>
<div id=”butttons”>
<div id=”nav_Home”>
<img src=”images/layout/images/Home.png”/>
<div id=”nav_Portfolio”>
<img src=”images/layout/images/Portfolio.png”/>
<div id=”nav_Contact”>
<img src=”images/layout/images/Contact.png”/>
</div>
</body>
And then this is the Refferenced style sheet
[code=html]
#nav {
position: absolute;
top: 0px;
left: 0px;
}
div.nav_side {
background-image: url(imageslayoutSide_nav.gif);
background-repeat: no-repeat;
background-position: top center;
width: 36px;
height: 594px;
}
#buttons {
position: absolute;
background-repeat: no-repeat;
background-position: top center;
top: 500px;
left: 36px;
}
.nav_home {
background-image: url(imageslayoutHome.gif);
background-repeat: no-repeat;
background-position: top center;
position: absolute; top: 552; left: 35;
width: 67px;
height: 14px;
}
.nav_Portfolio {
background-image: url(imageslayoutPortfolio.gif);
background-repeat: no-repeat;
background-position: top center;
position: absolute; top: 566; left: 35
width: 67px;
height: 14px;
}
.nav_Contact {
background-image: url(imageslayoutcontact.gif);
background-repeat: no-repeat;
background-position: top center;
style=”position: absolute; top: 580; left: 35;”/>
width: 67px;
height: 14px;
}
I literally just started learning Html /CSS / Java a month ago; spare no details!
ANY help with ANY (text formatting, background gradient that adjusts relative to a screen size, rollovers on the nav etc…) part of putting this site together will be more appreciated then most can fathom. I’d be willing to exchange some graphic work if any of you stuck this out to the end with me.