Preserved Topic: html: <li> tag ? |
|
---|---|
Author | Thread |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 11-17-2001 13:23 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 11-17-2001 13:51
hehe |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 11-17-2001 16:11
GRUMBLE: I have done something similar (I didn't want such big indents in unordered lists - that default is pretty large) - I haven't checked my code but off the top of my head I would do this: code: li {
|
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 11-17-2001 20:07 |
Paranoid (IV) Inmate From: Canada, Toronto |
posted 11-18-2001 02:01 |
Maniac (V) Inmate From: there...no..there..... |
posted 11-19-2001 15:01
What about if you just use the code: • ? |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 11-19-2001 15:42
Yes it is possible to make a bullet with graphics or special characters but the advantage of LI is that it introduces structural elements to your page. You could if you liked use nothing but P and/or DIV tags for virtually everything on your page but that wouldn't help browser used by the blind and search engine robots so it is best to use HTML elements that give the page structure (like headers and lists) and use CSS to make them look the way you want. Or at least that is my opinion. |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 11-19-2001 16:23
This is something I had a huge headache with last year. I tried many CSS solutions, but the fact is that Netscape (including Mozilla!) includes a certain amount of indentation that still exists even at margin: 0. 0 in IE on the other hand sets your list flush with the rest of the elements. You can achieve the same effect in NS by setting a NEGATIVE margin, but that will make it go off the edge in IE. |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 11-19-2001 17:53
That leads me to a question. Has anyone ever tried aligning an image to the left of a <ul>? My bullets get chopped off by the image. An example is here. Note that the list starts to the top right of the photo (like it should), but that the bullets are chopped off by the photo. I've thought about putting a little intro paragraph before the list, but different resolutions means I'd have to make sure it (paragragh) was long enough for higher resolutions. I hate to specify a specific CSS setting for that list, because the part after the photo won't look right. |
Maniac (V) Mad Scientist with Finglongers From: Cell 53, East Wing |
posted 11-19-2001 19:31
Hmmm looks like there is no easy solution. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 11-19-2001 21:02 |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 11-20-2001 00:01 |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 11-20-2001 01:13
Emp, it's really not complicated the way I do it. All my styles go into my main stylesheet which is loaded in every browser (that way the styles also show in Dreamweaver). |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 11-20-2001 01:22
Y0 pugzly, the stylehseet is designed so the list lines up pretty close in IE. |