473,320 Members | 1,936 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

how to place two images in one ul tag

119 100+
Hi,

I have a navigation menu, in that i have submenus. for that i used gradient image as background. i sliced that images into three as top.gif, middle1.gif and bottom.gif. since it it grow in all the menus based on there items.

here i placed sample code of that

Expand|Select|Wrap|Line Numbers
  1.  
  2. #navigation ul li ul{background: url(images/top1.gif) top center no-repeat;}
  3. #navigation ul li ul li {display: block;width:157px;z-index:99;background: url(images/middle1.gif) top center repeat-y;vertical-align:top;}
  4.  
  5.  

now the problem is i have to add the bottom image. i dont know where to add that image.

Can any one help me in this please.

Thanks and Regards

Magesh N
May 28 '09 #1
1 3354
harshmaul
490 Expert 256MB
A few solutions....

Firstly..... put an empty li tag at the bottom with the footer image in it.. and give it its own class name....

Use a div instead of a ul, and in side that div... have a head div, middle div and a footer div.... and in the middle div put the ul.

If you show me your html i'll tell you what i would do.... or provide me with a link
Jun 2 '09 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: pablo | last post by:
Dear NG'ers, I want to keep my images at a certain position that should change when the text is enlarged or shrunk with the button on the toolbar? What event is triggered when resizing text in...
4
by: Dacian | last post by:
Hi, I´m trying to place a javascript navigation menu inside a cell of a table in my page, the problem is that the constructor of the menu object has parameters for menu positioning and size and...
9
by: josvanr | last post by:
HI I'm working on a site http://www.josvanriswick.nl/nieuw in which i use absolute positioning. On my pc at home i didn't notice, but now, as the site is on air and loading images is a bit...
4
by: Tom Cat | last post by:
Hi, I'm trying to move my site from table layout to div/span CSS layout. I have a chunk of text and images within a div tag. At the end of that chunk, but still within the div tag, is an HR. ...
236
by: Andrew Rawnsley | last post by:
Anyone out there using beta 2 in production situations? Comments on stability? I am rolling out a project in the next 4 weeks, and really don't want to go though an upgrade soon after its released...
2
by: ALI-R | last post by:
Hi I've created a bunch user comtrols for the footer,header,navigation bar of a webpage ,I have two problems: 1) All the controls are in the folder "Control" of the root and all the images...
10
by: Iain | last post by:
Hi All My apologies if this appears to be simple to some of you but I have very little experience of javascript and I cannot work this one out, The code below is a nice piece of code I found...
1
by: jlt206 | last post by:
This code <?php include("counter.php")?> on the webpage produces the count number. (function code below) I want to place the current number into a variable $MemberNo or into a FormField to be sent...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.