businessman332211@hotmail.com Posted May 15, 2006 Share Posted May 15, 2006 Most browsers are reading the padding for my lists www.freelancebusinessman.comI am confused, you can see my stylesheet there, I am confused I specify margin-left:0px, 0em, meaning I tried them both, some browsers are reading it some are not, and the problem is, I want them all to have a little space from the left wall, on all the browsers, I have never had it ignore or misread my padding styles for lists before. Link to comment Share on other sites More sharing options...
aspnetguy Posted May 15, 2006 Share Posted May 15, 2006 what is your code? What browsers are ? what browsers aren't? Please give some more details. Link to comment Share on other sites More sharing options...
businessman332211@hotmail.com Posted May 15, 2006 Author Share Posted May 15, 2006 none of them but ie are displaying it right, it's like there ignoring my paddings all together. It's starting to get me angry, I am about to smash the monitor. Just got out of one fix, into another one.#mainnav {width: 200px;background-color:#666666;margin:0.5em;border-color:#333333;border-style:double;float:left;}#mainnav h3{font-family:Verdana, Arial, Helvetica, sans-serif;font-size:12px;text-align:center;}#mainnav ol{list-style-type:none;padding:auto;}#mainnav a:link{color:#000000;font-family:Verdana, Arial, Helvetica, sans-serif;font-size:12px;}#mainnav a:visited{color:#000066;}#mainnav a:hover{color:#999999;text-decoration:none;font-weight:bold;}#mainnav a:active{} Link to comment Share on other sites More sharing options...
aspnetguy Posted May 15, 2006 Share Posted May 15, 2006 the only place I see you setting padding is here #mainnav ol{list-style-type:none;padding:auto;} Where do you need the padding??? Do you have a link to the example page...it would be much easier to solve if we could actualy see what you mean. Link to comment Share on other sites More sharing options...
businessman332211@hotmail.com Posted May 15, 2006 Author Share Posted May 15, 2006 the only place I see you setting padding is here #mainnav ol{list-style-type:none;padding:auto;} Where do you need the padding??? Do you have a link to the example page...it would be much easier to solve if we could actualy see what you mean. <{POST_SNAPBACK}> It wasn't padding before that. I used the other selectors, it's auto because that is what I was trying then, www.freelancebusinessman.com I need it to simply remove the padding from the left, and allow me to set it, all the other browsers, keep ignoring my padding rules. Link to comment Share on other sites More sharing options...
aspnetguy Posted May 15, 2006 Share Posted May 15, 2006 FireFox seems to be handling it correctly while IE is not. Play witht he margin margin:0.5em; see if it makes a differencetry adding this after the above line margin-left:0px;padding-left:0px; Link to comment Share on other sites More sharing options...
businessman332211@hotmail.com Posted May 15, 2006 Author Share Posted May 15, 2006 FireFox seems to be handling it correctly while IE is not. Play witht he margin margin:0.5em; see if it makes a differencetry adding this after the above line margin-left:0px;padding-left:0px; <{POST_SNAPBACK}> finally got it, what's wierd, is when I did it fast, coded it fast, it was all correct, validated excetera, the browser misread it, I HAD to specify left:0, the bottom:whatever, then reposition left after that to the way I wanted when I wentmargin-left:0.6em;margin-bottom:0.5em;it didn't read it right, when I did margin-left:0em;margin-bottom:0.5em;it registered that then picked it up as I repositioned it, very strange. Link to comment Share on other sites More sharing options...
aspnetguy Posted May 15, 2006 Share Posted May 15, 2006 it might be an IE caching problem...check your Internet Options to see how the caching is set. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now