October 5, 201016 yr Hi guys, I've created a menu in CSS and two items display just fine but one seems out of place. I can't figure out why, here's a picture: And my css for that portion is: p:first-letter{ text-transform: uppercase; } p { color: #424242; font-family: "Adobe Caslon Pro", "Hoefler Text", Georgia, Garamond, Times, serif; letter-spacing:0.1em; text-align:center; margin: 40px auto; text-transform: lowercase; line-height: 145%; font-size: 14pt; font-variant: small-caps; } TWITTER HEADLINE font-family: "Adobe Caslon Pro", "Hoefler Text", Georgia, Garamond, Times, serif; font-style: italic; color: #424242; } a { font-style: normal; font-variant: small-caps; text-decoration: none; color: #afafaf; font-size: 14px; } .desc { position:absolute; right:280px; top:0px; } .pic{ float:left; margin:0 15px 15px 0; border:5px solid white; width:200px; height:250px; } .pic a{ width:200px; height:250px; text-indent:-99999px; display:block; } div.nomargin{ margin-right:0px; } #container{ width:890px; margin:20px auto; } .contact { position:absolute; right:0px; top:0px; } .about { position:absolute; right:140px; top:0px; } Yes, it's messy but I just want it to work for now! Any ideas anyone? Thanks!
October 5, 201016 yr is it possibly to do with this rule... TWITTER HEADLINE font-family: "Adobe Caslon Pro", "Hoefler Text", Georgia, Garamond, Times, serif; font-style: italic; color: #424242; } It just seems a little out of place to me.
October 5, 201016 yr I'd need to see the HTML for the menu before I can tell you exactly why, but looking at your CSS I can see you don't have correct syntax after this part: TWITTER HEADLINE Can you paste the HTML also, or even better a live link? Darren
Create an account or sign in to comment