1 Replies - 422 Views - Last Post: 05 October 2012 - 05:46 AM

#1 axelrhal  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 04-October 12

Need to make five images = 100% page width.

Posted 04 October 2012 - 03:00 PM

I havent found anything that looks like what i want, but im almost sure theres a way to do what i want. i have a link bar split into 5 seperate images, and a banner on top of that.
the banner was simple,
width="100%" />


the height of every seperate link image is 35, but the width of each one is different.
basically im asking is there a way, without figuring the ratio of every seperate image to the whole, to make all 5 = 100%

i realize my code may be sloppy, im still very new to this.

this is the 5 right now
<body>

<a href="Index.html"><img src="home.png" width="101" height="35" /></a>
<img src="portfolio.png" width="200" height="35" />
<img src="servoces.png" width="199" height="35" />
<img src="about.png" width="170" height="35" />
<img src="contact.png" width="165" height="35" />
</body>



Is This A Good Question/Topic? 0
  • +

Replies To: Need to make five images = 100% page width.

#2 AceKYD  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 33
  • Joined: 01-July 12

Re: Need to make five images = 100% page width.

Posted 05 October 2012 - 05:46 AM

From my deduction, looks like you wanna use the images as a link or should i say navigation bar. There are many ways to do this depending on what you want, you could use a list or just float the images in a div
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1