Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Margins/padding now taking in.... wait for it....IE 6/7
Old 08-09-2007, 12:26 PM Margins/padding now taking in.... wait for it....IE 6/7
DrSeuss's Avatar
Skilled Talker

Posts: 60
Name: Matt
Trades: 0
Now, should be NOT in the subject

Now IE 6 & 7 seem to be ignoring my margins/padding...

This is the page I am having trouble with

this is the only CSS I changed:

li.sixphaseapproach{
list-style: url(images/bullet.gif);
text-align: justify;
margin: 0px 25px 20px 25px;
padding: 0px 25px 0px 0px;
}

and the html:

HTML Code:
<ul>
<li class="sixphaseapproach"><span class="sixphase">Meet </span>and listen to your management team and department managers to develop a comprehensive program with suggested solutions that are achievable within your timelines</li>

<li class="sixphaseapproach"><span class="sixphase">Develop </span>a design solution utilizing our CAD specialists to create a complete under-standing of your  equipment and floor space requirements within a precise integration plan</li>

<li class="sixphaseapproach"><span class="sixphase">Present </span>and review a design solution with all key team members from each department to ensure all programming needs have been met</li>

<li class="sixphaseapproach"><span class="sixphase">Review </span>and acknowledge the order process and confirm critical time lines for project management schedules</li>

<li class="sixphaseapproach"><span class="sixphase">Install </span>product and systems solution in accordance with customer&rsquo;s time line</li>

<li class="sixphaseapproach"><span class="sixphase">Complete </span>project and conduct personnel training program as specified</li>
</ul>
Please help

Last edited by DrSeuss; 08-09-2007 at 12:36 PM.. Reason: Tried to edit subject or dlete post...
DrSeuss is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 08-09-2007, 12:51 PM Re: Margins/padding now taking in.... wait for it....IE 6/7
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,938
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
I find it's easier just to use padding and no margins. Browsers behave more consistently with padding.

Something like this:

padding: 0px 50px 20px 25px;
margin: 0;

See what happens when you do that.

The other alternative is that your sixphase text is a different size, although I don't think it's really playing in.

Mind you, it's not really IE in this case that's responsible...you're clearly using Dr*amw*av*r. Using editors like that will get you into these types of situations more often than not.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Old 08-09-2007, 02:15 PM Re: Margins/padding now taking in.... wait for it....IE 6/7
DrSeuss's Avatar
Skilled Talker

Posts: 60
Name: Matt
Trades: 0
Well I am using Dreamweaver, but I am also editing the html and wrote the CSS myself.

The problem is when I use padding, it only adds space between the bullet image, and the text. It does not add space before the bullet...

I need there to be a fair amount of space before the bullet, and a small space between the bullet and the text, and then an even amount of space between the text and the right object.

25px (bullet image) 5px (text) 25px

If it wasn't IE causing the problem, then why does it work fine in FF and Opera?
DrSeuss is offline
Reply With Quote
View Public Profile
 
Old 08-09-2007, 03:15 PM Re: Margins/padding now taking in.... wait for it....IE 6/7
LadynRed's Avatar
Defies a Status

Posts: 10,016
Location: Tennessee
Trades: 0
Have you tried putting a left margin on the UL to push the whole thing over ?
I'd also make the suggestion that you put a width on your UL equal to the white space you have on the left side.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 08-09-2007, 04:03 PM Re: Margins/padding now taking in.... wait for it....IE 6/7
DrSeuss's Avatar
Skilled Talker

Posts: 60
Name: Matt
Trades: 0
OK, here is what I have now:

ul{
margin: 10px 0px 20px 20px;
width: 540px;
}
li.sixphaseapproach{
list-style: url(images/bullet.gif);
text-align: justify;
margin: 0px 0px 20px 25px;
padding: 0px 25px 0px 0px;
}

Looks great in IE7 and FF... weird thing is... in IE6 my bullet images are chopped off on the left side??? see here in IE6



Margins look great though LOL
DrSeuss is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Margins/padding now taking in.... wait for it....IE 6/7
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 1.36278 seconds with 12 queries