Jump to content
Alex16

alinhar botoes à direita

Recommended Posts

Alex16

boas, tenho aqui um problema com estes botões, queria colocalos á direita no canto superior de uma tabela mas não estou a conseguir alguma dica?

													<head>											 							<style>											 							 											 							 											 							#menu li{											 							position:relative;											 							float: left;											 							list-style: none;											 							margin: 0;											 							padding:0;											 							}											 							 											 							#menu li a{											 							width:60px;											 							height: 30px;											 							display: block;											 							text-decoration:none;											 							text-align: center;											 							line-height: 30px;											 							background-color: #666666;											 							color: white;											 							}											 							 											 							#menu li a:hover{											 							background-color: #666666;											 							border-radius: 10px; <!--cantos redondos -->											 							}											 							 											 							 											 							</style>											 							</head>											 							 											 							<body>											 							<div id="menu">											 							<ul>											 							<li>											 							<a href="#nogo">Entrar</a>											 							</li>											 							 											 							<li>											 							<a href="#nogo">Registar</a>											 							</li>											 							</ul>											 							</div>											 							</body>											 							</html>

Edited by yoda

Share this post


Link to post
Share on other sites
HappyHippyHippo

usa as tags do geshi (se não sabes como, dá uma vista de olhos no menu inferior onde diz ajuda)

depois de meteres o teu código dentro das tags, tenta apresentar o código indentado


IRC : sim, é algo que ainda existe >> #p@p

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.