[Design with CSS 3738] Re: Why div align failed with Safari 5.05 for Windows

Thursday, May 31, 2012

buyz,

The following div of nav is not right-aligned. Also, my previous code
works as expected for Firefox 12 (that is, the div is right-aligned
but not for Safari). And also, for the scripting language I'm using
for the app, # is a special character, it is escaped via prefixing
another one to it, I tried both ##menu and #menu to no avail (for div
alignment), hmm, not sure what's going on. Thanks.

DOM loaded
=======
<html>
<head>
<title>Quick Notes Access by Subject</title>
<style>
#menu {
float: right;
text-align: right;
background-color: #EFF9FC;
}
</style>
</head>

<body>


<div id="nav" class="menu">
<a href="fancyNote.cfm">Add Note</a>    
<a href="logout.cfm">Logout</a>
<br/>
</div>
</body>
</html>

On May 31, 12:57 pm, buyz lots <buyzl...@gmail.com> wrote:
> Looks like your are applying those attributes to a class that does not exist (.menu)  Use #log instead of .menu (I assume that is the div you are trying to float.)  Also, remove the inline style from div#log for two reason, #1 inline styles are a bit gross, #2 align is not a css property.
> On May 31, 2012, at 12:36 PM, justaguy wrote:
>
>
>
>
>
>
>
> > .menu

--
--
You received this because you are subscribed to the "Design the Web with CSS" at Google groups.
To post: css-design@googlegroups.com
To unsubscribe: css-design-unsubscribe@googlegroups.com

0 comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Copyright © 2010 Web Design | Free Blogger Templates by Splashy Templates | Layout by Atomic Website Templates

Vida de bombeiro Recipes Informatica Humor Jokes Mensagens Curiosity Saude Video Games Animals Diario das Mensagens Eletronica Rei Jesus News Noticias da TV Artesanato Esportes Noticias Atuais Games Pets Career Religion Recreation Business Education Autos Academics Style Television Programming Motosport Humor News The Games Home Downs World News Internet Design Entertaimment Celebrities 1001 Games Doctor Pets Net Downs World Enter Jesus Mensagensr Android Rub Letras Dialogue cosmetics Genexus lasofia thebushrajr wingshock tripedes gorduravegetal dainfamia dejavu-transpersonal jsbenfica republicadasbadanas ruiherbon iranianforaryans eaystcheyl fotosdanadir Só Humor Curiosity Gifs Medical Female American Health Madeira Designer PPS Divertidas Estate Travel Estate Writing Computer Matilde Ocultos Matilde futebolcomnoticias girassol lettheworldturn topdigitalnet Bem amado enjohnny produceideas foodasticos cronicasdoimaginario downloadsdegraca compactandoletras newcuriosidades blogdoarmario arrozinhoii