Jump to content

Archived

This topic is now archived and is closed to further replies.

dannel77

One more question about lists..

Recommended Posts

Another thing I was wondering about.. I took a screenshot of the page I'm working with, to show how the bullets (diamonds) of the <ul><li> list in Firefox are tilted slightly upwards, in IE they appear right to the left of the text (as they should), what could be causing this?  :-\
Also Firefox seems to have a problem displaying a real disc instead of a "diamond", any way to solve this? The master_style.css contains: li{list-style: disc; } 

[attachment deleted by admin]

Share this post


Link to post
Share on other sites
W3C...ah yes...W3C
Basically in IE, they have a bunch of customized tags and attributes THAT ONLY WORK ON IE!

So the problem is just compatibility, I suggest you add something like this to your website
[code]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
[/code]
for "loose.dtd", there are the options of "transitional" (or was it transition?) and "strict"
add that to the VERY top of your code (before <HTML>)

Share this post


Link to post
Share on other sites
Understanding DOCTYPE and what difference it makes (and why).

http://alistapart.com/stories/doctype/

Share this post


Link to post
Share on other sites
Thanks guys!! When I added that DOCTYPE line to all the pages (probably item_list.php that was important) the problem was solved!  :)

Share this post


Link to post
Share on other sites
One problem left... with the changes made I get a horizontal scrollbar at the bottom of the page in IE and I can't remove it.. How do I solve this?

Share this post


Link to post
Share on other sites
Let me guess. You set something to have a 100% width, but it's within something that itself is not 100% width, right?

Share this post


Link to post
Share on other sites
Problem solved :) Found some code on the net:

html {
overflow-x: hidden;
overflow-y: auto;
}

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.