Grow your CSS skills. Land your dream job.

Properly placing a div

  • # March 10, 2013 at 3:11 pm

    Hey,

    I was wondering how I could get this small piece of contact information in nav or holder div so it appears at the top like this [picture](http://oi45.tinypic.com/ipqoo7.jpg “picture”) I made in Paint.

    Here is my code so far.
    http://cdpn.io/iDeKh

    You can ignore the #slider. I’m going to place a slideshow there of images.
    P.S. If anyone has a good place to find a detailed slider that is clickable in areas please comment below!

    Thank you everyone for your help. Your a huge save.

    # March 10, 2013 at 7:33 pm

    Here ya go. I would consider making your code a little more semantic, and getting rid of unnecessary divs and elements. (i.e. #nav ul li a could be changed to just #nav a using HTML5 ). http://cdpn.io/Jeogq

    # March 10, 2013 at 8:57 pm

    Thanks matt it works exactly how I wanted it to! The only thing I have a problem with now is I guess… Not really fixable. I’m picky about editing and it looks different in dreamweaver now xD. I’ll have to imagine the way it looks in the browser.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".