473,394 Members | 1,778 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,394 software developers and data experts.

UL w/ Image Bullets forcing overlap on image

76
I've struggled with this for over a week now with much annoyance. The issue I'm having is that the text from the unordered list is overlapping the image. I've tried using a float on the image but it ends up shoving the text down to the bottom, I've tried removing the margins on the UL and it does help -some- but not enough. I've tried removing the image from the list-style and that while it works creates a whole new issue of ....the customer wants the pretty bulleted list. Any advice/direction would be appreciated.

CSS
Expand|Select|Wrap|Line Numbers
  1. ul {
  2.     list-style: disc url(/images/style/bullet.gif) outside;
  3.     margin-left: 8px;
  4.     padding-left: 24px;
  5.     width: 500px;
  6.     margin-top: 0px; 
  7. }
  8. li {
  9.     padding: 0px;
  10. }
  11.  
HTML
Expand|Select|Wrap|Line Numbers
  1. <img src="/_images/photos/TestPhoto1.jpg" border="0" align="right"/>
  2.       <ul>
  3.         <li>use prad crue A ty it of triog trad buse me cio trof </li>
  4.         <li>of trole Phic r as cri A dolog micic sold nol a Pic pre traid tren Ph. H., it of of ne fas as </li>
  5.         <li>of hic of tre buot dens a of be the hic Bionit rous a busio trus itmen “Hit wer Emen puza priold meno </li>
  6.         <li>trazi buse re knolog tric vit assuct truct re of mograid true cre renef triend </li>
  7.         <li>lograd its wher cief buse Chicien a logaide it repric so criciol nold, whicid. </li>
  8.         <li>mencid briencra g trolog de wit pro y Dien tradencit buser suct triole ader Dir truend of She pric cas re fienctrog thic re? </li>
  9.         <li>tropme its of tras se budems of a prok triolog traidep wit pre a prienct it   idepiddem. </li>
  10.         <li>Raid of wher le, trits of Flend tre go hole wit of re ad trior folog vold M.D.   Unictrio gicien traider of pider der a crog lesud trait its ho trado usit of y   sen no pre eits tren faits trasso of brider fusens re ficien wase do; aide cit   yof briend treff </li>
  11.         <li>foldenct of hict its glem trit whicts I a gol tricien truens of of traidgai cren   der pult a se </li>
  12.         <li> nef do le aser tric a</li>
  13.         <li>On vas its prold it aso mic deprog A suer solog who suciens yo a doludene Flogy </li>
  14.       </ul>
  15.  
Feb 20 '09 #1
1 3871
TheServant
1,168 Expert 1GB
You want to use the css property: list-style-image.
If that doesn't work here is a resource which is a different approach which you might want to consider: background bullets.
Failing that you could add actual images in your lists like: this guy.
Feb 20 '09 #2

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

Similar topics

1
by: Hugo de Payns | last post by:
Happy newyear first of all; I am experimenting with a list and some images; the problem is text and the (LI)image are never outlined, or the image is higher than the text, or the image is below...
3
by: coolsti | last post by:
I need some help here. I am making an application which allows a user to look at a series of picture files one at a time, and enter the outcome of various visual tests to a database. The...
2
by: barbara_dave | last post by:
Hi, all, I have a form which has a picturebox control on the top and several buttons on the bottom. I want to change the form size smaller at run time and let all buttons display overlap the...
3
by: benn600 | last post by:
I'm in the process of taking an old table laden, poor code design web site and updating it to a modern day, mostly standards compliant design with only CSS where possible. I'm not having trouble...
3
by: Martijn Mulder | last post by:
When I populate a ToolStrip with ToolStripButtons with a .png-image on it, will Windows understand the transparency of the .png file?
5
by: Roy Smith | last post by:
Be kind to me, I'm a CSS newbie... I've been playing with drupal, building a web site (hyc-test.org). I started with the "sky" theme, but didn't like the way it rendered list items in menus. ...
3
by: vunet | last post by:
When I use image as a bullet within LI element I have different image positioning results in Firefox and IE6. IE6 puts the image on top and far from left LI's border. Firefox puts it nicely in the...
4
by: Annalyzer | last post by:
It seems that adding * {margin: 0; padding: 0} to my css prevents IE7 from displaying the bullets on my <ul>. When I remove * {margin: 0; padding: 0} the bullets show up just fine, but of course, I...
8
by: webster5u | last post by:
Hi, I'm encounter a problem here. I hope somebody able helping me. i'm put a "log out" hyperlink overlap a image and that particular image is inside a table cell. I also try align the hyperlink on...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.