What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » removing the dot off <li>

Pages: (2): « First « 1 [ 2 ] Last »
removing the dot off <li>
Author: Message:
rav0
Veteran Member
*****

Avatar
i have an avatar

Posts: 1419
Reputation: 29
34 / Male / Flag
Joined: Aug 2003
RE: removing the dot off <li>
The menu and dir elements are now deprecated, in favour of ul.

Also, the method that Madman posted is entirely correct, end does not need a stylesheet, it can be applied directly to the element, although if you already have a stylesheet, it will most likely be easier to add it to the stylesheet.

Further, the unstyled rendering of dl varies more across browsers than does that of ul and ol.

PS CookieRevised, you've posted il instead of li in your first example.

This post was edited on 12-17-2005 at 06:33 AM by rav0.
| [Image: dorsh] |

(\ /)
(O.o)
(> <)

This is Bunny. Copy Bunny into your signature to help him on his way to world domination
12-17-2005 06:25 AM
Profile E-Mail PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15519
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: removing the dot off <li>
quote:
Originally posted by rav0
Also, the method that Madman posted is entirely correct
I didn't say it was wrong.

quote:
Originally posted by rav0
and does not need a stylesheet, it can be applied directly to the element, although if you already have a stylesheet, it will most likely be easier to add it to the stylesheet.
The syntax used by Madman IS for stylesheets, it is not standard basic HTML. Note that you still use a "stylesheet" so to speak, even if you put the elements directly into the tags.

Styles can be applied in a seperate file, in an inline sheet or directly to elements. Though, all methods activate the use of styles, which isn't basic HTML anymore.

And that was my whole point of the post. The HTML syntax is to use "type=" which is compatible to the lowest version of HTML. So you do not need to revert to using styles and the new syntax at all, which will only be compatible with browser where stylesheets are enabled and are reconized (though, now almost all do of course).

Of course, if you already have a stylesheet, or already using other styles, by all means use the new method. But my point is that you do not explicitly need to use this new style just only for this. In general, basic HTML can do far more than what is believed (and often renders quicker also, not to mention it is far more compatible.) ;)

quote:
Originally posted by rav0
PS CookieRevised, you've posted il instead of li in your first example.
oops... fixed... thanks.
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-17-2005 06:36 PM
Profile PM Find Quote Report
Nathan
Veteran Member
*****

Avatar
Yeah, "large dimensions" ;)

Posts: 2984
Reputation: 76
– / Male / Flag
Joined: Apr 2005
RE: removing the dot off <li>
quote:
Originally posted by The Website

excess of 240km/h (50mph)

[offtopic]
Sorry if I'm bieng picky but shouldn't that say 150mph?
[/Offtopic]
Touch Innovation - touch friendly programs/applications for the windows mobile!


12-17-2005 06:58 PM
Profile E-Mail PM Web Find Quote Report
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
33 / Male / Flag
Joined: Aug 2005
O.P. RE: removing the dot off <li>
lol, probably, but its not me that has wrote the content, im only the desinger ;)

:o is it just me or does the drop down menu not work in IE?!?! why is this so? is the JS not compatible or something?

This post was edited on 12-17-2005 at 07:22 PM by stoshrocket.
formerly methos
12-17-2005 07:01 PM
Profile PM Web Find Quote Report
surfichris
Former Admin
*****

Avatar

Posts: 2365
Reputation: 81
Joined: Mar 2002
RE: removing the dot off <li>
quote:
Originally posted by CookieRevised
only since HTML version whatever. In other words, not all browsers might support it.

Note: you don't need to create a stylesheet only for that. the type= is a supported element of the <ul> or <ol> tags. For <ul> it can be "disc", "circle", "square" (these are the only totally all-round supported values. any other value requires a higher version of HTML or whatever). For <ol>, the value of type= can be "A", "a", "I", "i", or "1" (again, these are the only basic totally all-round supported values, unless your page is in HTML version whatever)
If you're using a web browser which was designed in 1999, then maybe it has a few bugs.

However, before you go posting that, i'd suggest you go checking your sources. The type attribute is DEPRECATED in HTML 4.0 even.

It may work, but is a deprecated tag which in the future will not be supported by any standards and browsers may drop support for it (especially with things like XHTML 2.0).

It was deprecated in favour of the list-style and list-style-type attributes of CSS.  Methos2 is designing a site relying on the heavy use of CSS for style information. If a visitor was to visit his site without CSS enabled (or text based browser), and the type attribute was specified, then the list items would NOT appear for the menu and users would probably not be able to establish that that block of text was actually a menu.
quote:
Originally posted by CookieRevised

To have the same effect but without the bullets, numbers, etc, you need to create a definition list instead of a normal list:

<dl>
    <dt>
    <dd>
</dl>

Where <dt> is the term being used in the definition and <dd> the definition itself. They have the same ident as in a normal list.
However, they are designed for definitions, not lists of ordinary data. You shouldn't use them unless you're defining something.
quote:
Originally posted by CookieRevised
[OFF TOPIC]
There are also other list forms, eg:

<menu>
  <li>
  <li>
  <li>
</menu>

or

<dir>
  <li>
  <li>
  <li>
</dir>
Of which are also deprecated back in HTML 4.0.

http://www.w3.org/TR/REC-html40/struct/lists.html
12-18-2005 10:44 AM
Profile PM Find Quote Report
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
33 / Male / Flag
Joined: Aug 2005
O.P. RE: removing the dot off <li>
can anyone see why the drop down menu doesnt work within IE?? :'(
formerly methos
12-18-2005 07:31 PM
Profile PM Web Find Quote Report
Plik
Veteran Member
*****

Avatar

Posts: 1489
Reputation: 46
34 / Male / –
Joined: Jun 2004
RE: removing the dot off <li>
quote:
Originally posted by Methos2
can anyone see why the drop down menu doesnt work within IE?? :'(
Becuase IE doesnt support the :hover attribute in CSS on anything but anchor elements.

Edit. Ah i see your trying to use the nifty javascript script, see my other post :P

This post was edited on 12-18-2005 at 07:52 PM by Plik.
12-18-2005 07:36 PM
Profile PM Find Quote Report
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
33 / Male / Flag
Joined: Aug 2005
O.P. RE: removing the dot off <li>
but this  works in IE.... why not mine?
formerly methos
12-18-2005 07:44 PM
Profile PM Web Find Quote Report
Plik
Veteran Member
*****

Avatar

Posts: 1489
Reputation: 46
34 / Male / –
Joined: Jun 2004
RE: removing the dot off <li>
quote:
Originally posted by Methos2
but this  works in IE.... why not mine?
Because juzzi's nifty js script exists and yours 404's :P
http://methos2.skarz.co.uk/JCC2/nifty.js - 404
http://www.msgweb.nl/shared/nifty - A javascript file
12-18-2005 07:50 PM
Profile PM Find Quote Report
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
33 / Male / Flag
Joined: Aug 2005
O.P. RE: removing the dot off <li>
no wonder... lol.... ill look into it, thanks!
formerly methos
12-18-2005 07:53 PM
Profile PM Web Find Quote Report
Pages: (2): « First « 1 [ 2 ] Last »
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On