Rory Bernstein wrote:
>> Rory Bernstein wrote:
>>     
>>> Now I have a new problem with this template:
>>> http://rorybernstein.com/francesca_proto/book1.html
>>>
>>> I added a 2nd set of previous/next buttons, which should go all the way out 
>>> at the right end of the content (scrolling right).
>>> Rory
>>>
>>>       
>> body {
>> width: 4800px/*add*/;
>> }
>>
>> /*add new selector*/
>> #prev_next a {
>> float:right;
>> color: #000;
>> text-decoration: none;
>> }
>>
>> If the width above is an unknown variable from page to page I think 
>> you'll need a programming language to calculate it. However, someone 
>> else on the list may know a way to do this with CSS.
>>
>> Best,
>> ~d
>>     
>
> Thank you for this D. 
> Yes, the width would change from page to page, and I'd need the prev/next 
> button to always be at the proper location as that width changes. There must 
> be some way to get the structure of the divs right, so that the width created 
> by the book images can be used by the prev/next buttons? That is what I am 
> trying to do, but I have not got it yet...
> R
>
>
>   


I suppose you could assign a different id to the body declaration for 
each page?
html
<body id="a01">
<body id="a02">
<body id="a03">
/*and so on*/
CSS
body#a01 {width: 4800px/*add*/;}/*add new selector*/
body#a02 {width: 3600px/*add*/;}/*add new selector*/
body#a03 {width: 2900px/*add*/;}/*add new selector*/
/*and so on*/

/*add new selector*/
#prev_next a {
float:right;
color: #000;
text-decoration: none;
}






-- 
desktop
http://chelseacreekstudio.com/
mobile
http://chelseacreekstudio.mobi/

______________________________________________________________________
css-discuss [cs...@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to