xposegrafix
asked on
A smile css menu with different width
Can anyone please code this simple css menu. Each link must have different width. And please can the other words come on a different line as shown in the demo picture of the menu.
Thank you
menu-Demo.jpg
Thank you
menu-Demo.jpg
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
here you go... i placed the images in a folder called menu... adjust the paths as needed.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></title>
<style type="text/css">
#container {
width:500px;
}
#oneone {
width:76px;
float:left;
}
#twotwo {
width:99px;
float:left;
}
#threethree {
width:107px;
float:left;
}
#fourfour {
width:131px;
float:left;
}
#fivefive {
width:87px;
float:left;
}
</style>
</head>
<body>
<div id="container">
<div id="oneone"><img src="menu/1.jpg" width="76" height="50" /></div>
<div id="twotwo"><img src="menu/2.jpg" width="99" height="50" /></div>
<div id="threethree"><img src="menu/3.jpg" width="107" height="50" /></div>
<div id="fourfour"><img src="menu/4.jpg" width="131" height="50" /></div>
<div id="fivefive"><img src="menu/5.jpg" width="87" height="50" /></div>
</div>
</body>
</html>
menu.zip
ASKER
Okay I will look into it right now and get back to you. Thank you rbudj.
Open in new window
menu.jpg