2 Replies - 627 Views - Last Post: 01 July 2013 - 06:24 PM

#1 sweetiepie13  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 01-July 13

I need to replicate a website page for a college course.

Posted 01 July 2013 - 06:04 PM

<html>
<head><link rel="stylesheet" type="text/css" href="style.css"></head>
<body>
<div style="background-image:url(mainBack.gif)">

</div>
</body>
</html>

/*my background image won't show up*/
Is This A Good Question/Topic? 0
  • +

Replies To: I need to replicate a website page for a college course.

#2 laytonsdad  Icon User is offline

  • Cheese and Sprinkles
  • member icon

Reputation: 441
  • View blog
  • Posts: 1,870
  • Joined: 30-April 10

Re: I need to replicate a website page for a college course.

Posted 01 July 2013 - 06:19 PM

Is the image in the same directory as this file?
Was This Post Helpful? 0
  • +
  • -

#3 andrewsw  Icon User is online

  • Fire giant boob nipple gun!
  • member icon

Reputation: 3524
  • View blog
  • Posts: 12,032
  • Joined: 12-December 12

Re: I need to replicate a website page for a college course.

Posted 01 July 2013 - 06:24 PM

Alternatively, your div has no content and, therefore, no height.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1