NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page CSS Code for IE and Firefox.

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search
5 members in live chat ~  


Reply
 
LinkBack Thread Tools
Old 10-24-2009, 12:55 PM THREAD STARTER               #1 (permalink)
Senior Member
Join Date: Dec 2007
Location: Toledo, Ohio
Posts: 1,810
Debt.tv is a splendid one to beholdDebt.tv is a splendid one to beholdDebt.tv is a splendid one to beholdDebt.tv is a splendid one to beholdDebt.tv is a splendid one to beholdDebt.tv is a splendid one to beholdDebt.tv is a splendid one to beholdDebt.tv is a splendid one to behold
 




CSS Code for IE and Firefox.


Style Sheet Code differences for IE and Firefox...
Ok, Here is my css code.

ISSUE #1

#restaurantlistings {
Position:relative;
top: 0px;
left:0px;
border-bottom:3px dotted grey;
padding-bottom:5px;

}

Looks fine in firefox but in IE the dotted border doesn't show??

ISSUE #2

ul#zmenudowntown {
position:relative;
top:2px;
left:-40px;
list-style-type: none;
text-decoration: none;
text-align: left;
white-space:nowrap;
float:left;
margin-top:20px;
font-family: Georgia, "Times New Roman", Times, serif;
font-size:16px;
}

Again, looks great in Firefox but in IE I am getting the bullets??
????: NamePros.com http://www.namepros.com/programming/618750-css-code-for-ie-and-firefox.html

Help please!!!

Eric
__________________
Domains for Sale
CompareTV.com | MyOnlineBiz.com | BeautifulBabyContest.com | 5050RaffleTickets.com | My-Mortgage.com | ChicagoSuburbs.org | Pop-up-blocker.com | MyMortgagePayment.com | VirginiaBeachRentalCars.com | BookingByOwner.com | SBKC.com | IUYS.com |
Debt.tv is online now   Reply With Quote
Old 10-25-2009, 10:27 AM   #2 (permalink)
Senior Member
Join Date: Sep 2006
Location: London, UK
Posts: 1,900
Erdy has a reputation beyond reputeErdy has a reputation beyond reputeErdy has a reputation beyond reputeErdy has a reputation beyond reputeErdy has a reputation beyond reputeErdy has a reputation beyond reputeErdy has a reputation beyond reputeErdy has a reputation beyond reputeErdy has a reputation beyond reputeErdy has a reputation beyond reputeErdy has a reputation beyond repute
 



Hi,

Regarding the first issue, specify border bottom colour like this:

#restaurantlistings {
Position:relative;
top: 0px;
left:0px;
padding-bottom:5px;
border-bottom-width: 3px;
border-bottom-style: dotted;
border-bottom-color: #999999;
}

The second issue did not happen on my computer with IE6. I don't know why it happened on yours. But I would remove the ul from the rule name and just leave the id. This might solve the problem. Try this:

#zmenudowntown {
position:relative;
top:2px;
left:-40px;
list-style-type: none;
text-decoration: none;
text-align: left;
white-space:nowrap;
float:left;
margin-top:20px;
font-family: Georgia, "Times New Roman", Times, serif;
font-size:16px;
}

By the way, there are a few things in this second rule that don't make sense. For instance the "float left" doesn't have any effect on an unordered list if you apply it to the ul tag. Instead it should be applied to the li tag. Then it will force the list items to line up horizontally. Also you can move the list style type to li tags. Here is the new version with two rules (the first one for ul and the second one for li)
????: NamePros.com http://www.namepros.com/showthread.php?t=618750

#zmenudowntown {
position:relative;
top:2px;
left:-40px;
text-decoration: none;
text-align: left;
white-space:nowrap;
margin-top:20px;
font-family: Georgia, "Times New Roman", Times, serif;
font-size:16px;
}
#zmenudowntown li {
list-style-type: none;
float:left;
}

Cheers
Erdinç
Erdy is offline   Reply With Quote
Old 10-25-2009, 08:22 PM THREAD STARTER               #3 (permalink)
Senior Member
Join Date: Dec 2007
Location: Toledo, Ohio
Posts: 1,810
Debt.tv is a splendid one to beholdDebt.tv is a splendid one to beholdDebt.tv is a splendid one to beholdDebt.tv is a splendid one to beholdDebt.tv is a splendid one to beholdDebt.tv is a splendid one to beholdDebt.tv is a splendid one to beholdDebt.tv is a splendid one to behold
 




thank you

Rep'd

---------- Post added at 11:22 PM ---------- Previous post was at 11:06 PM ----------

Originally Posted by Erdinc View Post


????: NamePros.com http://www.namepros.com/showthread.php?t=618750
By the way, there are a few things in this second rule that don't make sense. For instance the "float left" doesn't have any effect on an unordered list if you apply it to the ul tag. Instead it should be applied to the li tag. Then it will force the list items to line up horizontally. Also you can move the list style type to li tags. Here is the new version with two rules (the first one for ul and the second one for li)

#zmenudowntown {
position:relative;
top:2px;
left:-40px;
text-decoration: none;
text-align: left;
white-space:nowrap;
margin-top:20px;
font-family: Georgia, "Times New Roman", Times, serif;
font-size:16px;
}
#zmenudowntown li {
list-style-type: none;
float:left;
}

Cheers
Erdinç
I tried to change the float but it messed it all up. The float works where I have it, probably due to bad code someplace else. I am using dreamweaver and my checks seem to be coming out ok.

Thank you for all your help.

Eric
__________________
Domains for Sale
CompareTV.com | MyOnlineBiz.com | BeautifulBabyContest.com | 5050RaffleTickets.com | My-Mortgage.com | ChicagoSuburbs.org | Pop-up-blocker.com | MyMortgagePayment.com | VirginiaBeachRentalCars.com | BookingByOwner.com | SBKC.com | IUYS.com |
Debt.tv is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


 
All times are GMT -7. The time now is 02:32 PM.

Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger