Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-05-2012, 01:52 AM   PM User | #1
kingofsparta
New to the CF scene

 
Join Date: Jul 2012
Location: Bellevue, WA
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
kingofsparta is an unknown quantity at this point
DREAMWEAVER: extra whitespace in list links

I am trying to build my first website here, but internet explorer 6.0 is giving me a really hard time with compatibility. When I use dreamweaver CS5.5 to test for compatibility, it always says that there is extra whitespace in my list links, which is going to cause a very likely problem in IE 6.0. Can someone please help me with this? Here is my CSS and HTML code...

HTML:

Code:
<div id="toplinks">
<ul>
<li><a href="../Index.html">Home</a></li>
<li><a href="../About.html">About Us</a></li>
<li><a href="../Forms.html">Forms</a></li>
<li><a href="../Contact.html">Contact Us</a></li>
</ul>
</div>
CSS:

Code:
#toplinks
{
	width: 100%;
	float: left;
	margin: 10px 0 0 0;
	padding-left: 0;
	background-color:#333;
	border: 1px solid #ccc;
}

#toplinks ul
{
	list-style-type:none;
}

#toplinks a
{
	display: block;
	margin-left: 15%;
	padding-bottom:13px;
	text-decoration: none;
	font-weight: bold;
	color: #FFF;
	font-family: palatino "Palatino Linotype", "Book Antiqua", Palatino, serif;
	font-size:17px; 
	float: left;
}
kingofsparta is offline   Reply With Quote
Old 07-05-2012, 05:55 AM   PM User | #2
aaronhockey_09
Regular Coder

 
Join Date: Dec 2010
Posts: 411
Thanks: 21
Thanked 55 Times in 55 Posts
aaronhockey_09 is an unknown quantity at this point
To be perfectly honest, unless your designing for a government client, or some site like that. I wouldnt bother to much about making sure it works in IE6.

That being said, add a conditional statement for IE6, and do some trial and error.
Check out this link.

http://www.quirksmode.org/css/condcom.html

use it like this
Code:
<!--[if IE 6]>
Add your separate ie6 styesheet here. 
<![endif]-->
Cheers
aaronhockey_09 is offline   Reply With Quote
Old 07-06-2012, 05:08 PM   PM User | #3
kingofsparta
New to the CF scene

 
Join Date: Jul 2012
Location: Bellevue, WA
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
kingofsparta is an unknown quantity at this point
Thank you for the suggestion!
kingofsparta is offline   Reply With Quote
Reply

Bookmarks

Tags
browser compatibility, css, dreamweaver, html

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 09:20 PM.


Advertisement
Log in to turn off these ads.