Page 3 of 3 FirstFirst 123
Results 21 to 22 of 22

Thread: Mock-up versus my CSS

  1. #21
    Join Date
    Jul 2011
    Posts
    113
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by sam9713 View Post
    Yeah a much easier way would have been just to use divs, that way you can customize the padding and margins easier and it always works out fine! Nice site though
    Can you clarify the div comment? Is there a way to keep the type (SecondaryNav) type, work with the rollover, and get the cameras to rollover as well, without the DW rollover?

    Thank you for the compliment on the site ... It's my first one done somewhat "right"...

  2. #22
    Join Date
    Jul 2011
    Posts
    113
    Thanks
    15
    Thanked 0 Times in 0 Posts

    Default

    Ok, I am working on making the rollovers better... I have not updated the site, as it's currently functional, but for reference sake, here is the url: http://richieadams.comClick image for larger version. 

Name:	Screen shot 2012-10-04 at 4.07.19 PM.jpg 
Views:	139 
Size:	14.4 KB 
ID:	4788. However, attached is a screen grab of what happens when I have the following code:

    HTML Code:
    <nav class="SecondaryNav">
        <ul>
            <li class="first" ><a class="vimeo" href="http://player.vimeo.com/video/50409873?">Live Action&nbsp;</a><br>A quick look at my work as a director, which includes commercials, corporate videos, short films, and my first feature film.</li>
            <li class="second" ><a class="vimeo" href="http://player.vimeo.com/video/50410101?">Main Title Design&nbsp;</a><br>
              A compilation of main title design, network title design, theatrical branding, and motion picture advertising for film and
     television.</li>
            <li class="third" ><a class="vimeo" href="http://player.vimeo.com/video/50409872?">Broadcast Design/Graphics&nbsp;</a><br>A compilation of 2D & 3D motion graphic animation, special montage sequences, branding & identity, title graphics for feature films, network television, commercials and the web.</li>
            <li class="fourth" ><a class="vimeo" href="http://player.vimeo.com/video/50406488?">RRC (Co.Reel)&nbsp;</a><br>A collective look at work done through my company, including live action direction & production, main title design for film and television, and graphics for the web and TV.</li>
        </ul>
    </nav>
    Code:
    nav.SecondaryNav ul {
    	list-style: none;
    	width: 100%;
    }
    
    nav.SecondaryNav li {
    	display: inline;
    }
    
    nav.SecondaryNav li a{
    	font-family: Century, "Century Schoolbook", Garamond, "Times New Roman", Palatino, serif;
    	font-size: 17pt;
    	text decorations: none;
    	list-style-type: none;
    	color: #000;
    	background: url(../images/camera_icon.png) bottom right no-repeat;   
    }
    
    nav.SecondaryNav li a:hover{color:#999; background:url(../images/camera_icon_grey.png) no-repeat}
    
    nav.SecondaryNav li.first {width:18%; font-family: Century, "Century Schoolbook", Garamond, "Times New Roman", Palatino, serif; font-size:10pt;padding-right: 10px;}
    nav.SecondaryNav li.second {width:23%; font-family: Century, "Century Schoolbook", Garamond, "Times New Roman", Palatino, serif; font-size:10pt; padding-right: 4px;}
    nav.SecondaryNav li.third { width:34%; font-family: Century, "Century Schoolbook", Garamond, "Times New Roman", Palatino, serif; font-size:10pt; padding-right: 5px;}
    nav.SecondaryNav li.fourth { width:23%; font-family: Century, "Century Schoolbook", Garamond, "Times New Roman", Palatino, serif; font-size:10pt}

Similar Threads

  1. IE7 borked layout versus other browsers
    By PhxVyper in forum CSS
    Replies: 1
    Last Post: 08-20-2010, 02:21 PM
  2. Replies: 5
    Last Post: 01-29-2009, 10:08 AM
  3. CSS versus Frames
    By jackii_8 in forum CSS
    Replies: 1
    Last Post: 01-16-2008, 03:18 AM
  4. <b> versus <strong>
    By John_fresh in forum HTML
    Replies: 13
    Last Post: 03-24-2007, 01:05 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •