Jump to content


Photo

One more question about lists..


  • Please log in to reply
6 replies to this topic

#1 dannel77

dannel77
  • Members
  • PipPip
  • Member
  • 22 posts

Posted 05 August 2006 - 10:04 AM

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]

#2 silentwf

silentwf
  • Members
  • PipPip
  • Member
  • 10 posts

Posted 05 August 2006 - 01:14 PM

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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
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>)

#3 AndyB

AndyB
  • Staff Alumni
  • Advanced Member
  • 5,465 posts
  • LocationToronto

Posted 05 August 2006 - 01:25 PM

Understanding DOCTYPE and what difference it makes (and why).

http://alistapart.com/stories/doctype/
Legend has it that reading the manual never killed anyone.
My site

#4 dannel77

dannel77
  • Members
  • PipPip
  • Member
  • 22 posts

Posted 08 August 2006 - 07:47 PM

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

#5 dannel77

dannel77
  • Members
  • PipPip
  • Member
  • 22 posts

Posted 08 August 2006 - 09:36 PM

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?

#6 moberemk

moberemk
  • Members
  • PipPipPip
  • Advanced Member
  • 695 posts

Posted 08 August 2006 - 10:24 PM

Let me guess. You set something to have a 100% width, but it's within something that itself is not 100% width, right?
Disclaimer: No matter how harsh I may be, I'm always IMO only.

#7 dannel77

dannel77
  • Members
  • PipPip
  • Member
  • 22 posts

Posted 09 August 2006 - 12:08 PM

Problem solved :) Found some code on the net:

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




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users