用户名: 密码:
新用户注册
监管者: toedder 
 BrainKing design

Learn how to customize BrainKing's view layer and share your CSS experiences.

Useful links
Wikipedia - for general information on what CSS is, why it is useful, and a short introduction on how to use it.
W3Schools - for a tutorial and a reference on CSS.
W3C - for detailed and advanced information for those who are interested.
CSS Zen Garden - for some trickery and demonstration of what is possible with CSS


讨论板列表
状态: 所有人能发表
帖子搜索:  

8. 六月 2007, 21:47:13
coan.net 
题目: Dice Game - Dice on top of screen
OK, I recently got a new widescreen monitor which is nice, but is a "cheaper" one and has left up/down resolution - meaning I have to scroll down in every one of my dice game each time I make a roll - VERY annoying.

So, I'm trying to figure out how to put the dice up top with my .css file.

Here is the code: <form action="DoMove" method="post" id="rollDiceForm" name="rollDiceForm">

I tried different things like:

name[value="rollDiceForm"] { position: fixed; top: 50px; left: 190px; }
#rollDiceForm { top: 50px; left: 190px; }
.rollDiceForm { top: 50px; left: 190px; }

So is there a way to move the whole form? What am I missing? (note: The place to put it is just an example - once I can move it, I will try to find where it looks best... that is where I have the submit button. Would also like to find a way to outline the form in a box - again, things I can play around with once I figure out how to move it.)

Having the move button near the top has really allowed me to play faster when I sit down and play. Being able to have the dice near the top will speed up those game for me also.

日期和时间
在线的朋友
最喜欢的讨论板
朋友群
每日提示
Copyright © 2002 - 2024 Filip Rachunek, 版权所有
回顶端