ul, ol inconsistencies
Whether you're a seasoned veteran or a struggling beginner, Web Radiance is the web development and web design forum for you. You'll find answers to all your HTML, CSS, SEO, and Programming needs. Pull up a chair and stay awhile.
ul, ol inconsistencies
#1
Posted 26 April 2007 - 10:06 AM
#2
Posted 26 April 2007 - 12:26 PM
After that, though, you should then define what you want what the ul, ol, and li's will do. Like so...
* {margin:0; padding:0}
ul, ol {padding-left:1.5em;}
li {margin:.25em .5em;}
etc.
#3
Posted 26 April 2007 - 03:24 PM
Edit - can't reproduce what I was talking about right now... I guess I will come back when I run in to it.
This post has been edited by sam: 26 April 2007 - 04:05 PM
#5
Posted 26 April 2007 - 10:08 PM
This post has been edited by sam: 26 April 2007 - 10:28 PM
#6
Posted 27 April 2007 - 01:59 AM
* {
margin: 0;
padding: 0;
list-style: none;
}
#7
Posted 27 April 2007 - 04:57 AM
sam, on Apr 26 2007, 11:08 PM, said:
There certainly are, and while I'm not entirely sure of the hows and whys, I do know that using a Strict DOCTYPE helps the browser to render the code in ways more expected to you.
If it's convenient for you to change the DOCTYPE, it can't hurt, at the very least to see if it solves this one problem you're having.
#8
Posted 27 April 2007 - 10:12 AM
Thanks Ryan that piece of code is always up top my style sheets by default.
#9
Posted 27 April 2007 - 10:25 AM
sam, on Apr 27 2007, 11:12 AM, said:
Thanks Ryan that piece of code is always up top my style sheets by default.
Ahar, I didn't know there were anchors in there... this might help ya: http://www.456bereastreet.com/archive/2006...st_items_in_ie/
#10
Posted 27 April 2007 - 05:32 PM
#11
Posted 27 April 2007 - 06:01 PM
#12
Posted 27 April 2007 - 06:39 PM
#13
Posted 27 April 2007 - 11:34 PM
sam, on Apr 27 2007, 07:39 PM, said:
I'm way too tired at the moment to look into his method, but I can tell you that anywhere it says 'display: block;' in the CSS, is what is doing it. If not 'display: block;', then it is some other block-level value. Removing that will remove the effect you mentioned, but then it may ruin the IE6 fix.
May I ask why you'd like only the text to be clickable? In general, the more of a target area you can give to your visitors, the better.
#14
Posted 28 April 2007 - 07:10 PM
#15
Posted 24 September 2011 - 01:20 PM


Help
MultiQuote










