Har efter lång tid och flera projekt senare äntligen hunnit sitta lite mer med denna skapelse.
Lite ändringar har gjort att boken kommer ev. ha en meny på vänster sida om sig. Har därför lagt ner en del krut på att fixa en stabil bok, och trotts dina förmaningar bestämt mig för att ha den i 5 delar
booktop
leftpage - rightpage - rightside
bookbottom
Har också gjort texten på var sida som egna divar.
Vad jag undrar är om du har någon kritik, förutom att jag just gjort den i 3 delar ?
koden ser nu ut såhär :
<body bgcolor="#ffffff">
<div id="wrapper">
<div id="header">
<div id="logo">
<img src="images/book_layout/loggo.jpg" alt="" height="212" width="475" border="0"/>
</div>
<div id="topimgright">
<img src="images/book_layout/top_img.gif" alt="" height="211" width="309" border="0"/>
</div>
</div>
<div id="menu">
<ul>
<li class="current_page"><a href="#">Hem</a></li>
<li><a href="#">Om Saga</a></li>
<li><a href="#">Kontakta Oss</a></li>
</ul>
</div>
<div id="page">
<div id="booktop">booktop</div>
<div id="bookPages">
<div id="leftPage">
<div id="leftPageText">Text</div>
</div>
<div id="rightPage">
<div id="rightPageText">Text</div>
<div id="rightSide"></div>
</div>
</div>
<div id="bookbottom"></div>
</div>
<div id="sidebar">Sidebar</div>
</div>
</BODY>
/* http://meyerweb.com/eric/tools/css/reset/ v1.0 | 20080212 */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,caption{border:0;outline:0;font-weight:inherit;font-style:inherit;font-size:100%;font-family:inherit;vertical-align:baseline;margin:0;padding:0;}/* remember to define focus styles! */:focus{outline:0;}body{line-height:1;color:#000;background:#FFF;}ol,ul{list-style:none;}/* tables still need 'cellspacing="0"' in the markup */table{border-collapse:separate;border-spacing:0;}caption,th,td{text-align:left;font-weight:normal;}blockquote:before,blockquote:after,q:before,q:after{content:"";}blockquote,q{quotes:"" "";}
body {
font-family: Arial, Helvetica, sans-serif;
font-size: 13px;
background-color:#452300;
}
#wrapper {
margin:auto;
background-color:#452300;
width:960px;
}
#header {
height: 213px;
background: #8F7859 url(../images/book_layout/top_bg.jpg) repeat-x left bottom;
}
#menu {
height: 84px;
background: #3D1C00 url(../images/book_layout/menu_bg.jpg) repeat-x left bottom;
}
#menu ul {
}
#menu li {
}
#menu li a {
color: #FCFDDF;
float: left;
height: 37px;
padding: 13px 30px 0px 30px;
font-size: 1.4em;
font-weight: bold;
}
#menu li a:hover {
background: #333333;
color: #fff;
}
#menu .current_page a {
background: url(../images/book_layout/img04.gif) repeat-x;
}
#menu .inside_page a:hover {
background: url(../images/book_layout/img04.gif) repeat-x;
}
#page {
float:left;
width:750px;
height: 600px;
margin-left:0px;
text-align:center;
}
#sidebar{margin-left:740px;
width:220px;
background-color:#006666;
}
#booktop {
height: 37px;
background: #3366CC url(../images/book_layout/book_top.gif) no-repeat left top;
width: 750px;
margin:auto;
}
#bookPages {
width: 750px;
height: 460px;
background: #917859 url(../images/book_layout/img06.gif); ;
margin:auto;
text-align:left;
}
#leftPage{
float: left;
width:330px ;
height: 460px;
background: #FF6600 url(../images/book_layout/book_left_side.gif) no-repeat left top;
}
#leftPageText{
float: left;
padding-top:0px;
margin-left:30px;
width:300px ;
height: 450px;
min-height: 450px;
float: left;
background-color:#FF6600;
}
#rightPage{
margin-left:348px;
width: 330px;
height: 460px;
background: #FF6600 url(../images/book_layout/book_middle.gif) no-repeat left top;
}
#rightPageText{
float: left;
padding-top:0px;
margin-left:30px;
width:300px ;
height: 450px;
min-height: 450px;
background-color:#FF6600;
}
#rightSide{
margin-left:352px;
width: 50px;
height: 460px;
background: #FF6600 url(../images/book_layout/book_right_side.gif) no-repeat left top;
}
#bookbottom {
clear:both;
height: 43px;
background: #3366CC url(../images/book_layout/book_foot.gif) no-repeat left bottom;
margin:auto;
width:750px;
}
/*debug för att se vart sidorna ligger*/
#leftPage, #rightPage{background-color:#FFFF00;}
Det ligger ute på http://www.tales.nu/book.php