The Lodge is members-only design/dev videos and Office Hours.

Next Office Hours Session: "Implementing an SVG Icon System" Nov 30 - 6:00 PM Eastern

Properly placing a div

  • # March 10, 2013 at 3:11 pm


    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]( “picture”) I made in Paint.

    Here is my code so far.

    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 ).

    # 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.

There's a whole bunch of content on CSS-Tricks.

Search for Stuff   •   Browse the Archives

Get the Newsletter ... or get the RSS feed