the links on my nav bar dont work please help!

  • (2 Pages)
  • +
  • 1
  • 2

16 Replies - 787 Views - Last Post: 22 July 2014 - 12:11 PM

#16 jamesmarkham94  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 19
  • Joined: 25-March 14

Re: the links on my nav bar dont work please help!

Posted 22 July 2014 - 11:56 AM

View Postandrewsw, on 22 July 2014 - 11:45 AM, said:

You will then need to bring your h2 element up:
h2 {
    position: absolute;
    bottom: 0;
    left: 0;
    /*width: 100%; - this is the default for a block-level element anyway */
}


Not that p-tags do not have a width attribute, use css.

what do you mean i need to bring it up? sorry if im being stupid i only started doing web design for the first time a couple of weeks ago so dont know an awful lot
Was This Post Helpful? 0
  • +
  • -

#17 andrewsw  Icon User is offline

  • It's just been revoked!
  • member icon

Reputation: 3608
  • View blog
  • Posts: 12,393
  • Joined: 12-December 12

Re: the links on my nav bar dont work please help!

Posted 22 July 2014 - 12:11 PM

Well maybe you don't need to move the h2 higher up, over the image, because I don't know how big your image is. On this topic, you should always use the width and height attributes (in the HTML) for images, if you know these measurements; this allows the correct size to be allowed for when the page is rendered - and it makes it easier for someone to help you if they know the size of the images.
Was This Post Helpful? 0
  • +
  • -

  • (2 Pages)
  • +
  • 1
  • 2