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:
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
34 / Male / Flag
Joined: Aug 2005
O.P. removing the dot off <li>
anyone know how i can remove the dot off the <li> tag, i need to remove it for a website nav bar::

http://methos2.skarz.co.uk/JCC2

thanks!
formerly methos
12-16-2005 05:02 PM
Profile PM Web Find Quote Report
user27089
Disabled Account


Posts: 6321
Joined: Nov 2003
Status: Away
RE: removing the dot off <li>
I don't know if this will work, but it might:

code:
li{
visibility: hidden;
}


I've never tried it or anything, it's just an attempt, so yeah... Give it a go.
12-16-2005 05:10 PM
Profile PM Find Quote Report
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
34 / Male / Flag
Joined: Aug 2005
O.P. RE: removing the dot off <li>
quote:
Originally posted by traxor
li{
visibility: hidden;
}

it hides the writing as well :rofl: atleast it got rid of the dots! hahaha... good try though/
formerly methos
12-16-2005 05:11 PM
Profile PM Web Find Quote Report
Plik
Veteran Member
*****

Avatar

Posts: 1489
Reputation: 46
35 / Male / –
Joined: Jun 2004
RE: removing the dot off <li>
code:
list-style-type: none;
apply that to the ul element that contains the li's
12-16-2005 05:14 PM
Profile PM Find Quote Report
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
34 / Male / Flag
Joined: Aug 2005
O.P. RE: removing the dot off <li>
thanks mate! works a treat!
formerly methos
12-16-2005 05:37 PM
Profile PM Web Find Quote Report
Jhrono
Veteran Member
*****


Posts: 1791
Reputation: 25
33 / Male / Flag
Joined: Jun 2004
RE: removing the dot off <li>
notice : the site looks dodgy on opera, the hover effects on the menu get displaced ..

Screenshot :
[Image: attachment.php?pid=578430]

.jpg File Attachment: hover.JPG (8.13 KB)
This file has been downloaded 1004 time(s).
12-16-2005 07:12 PM
Profile E-Mail PM Find Quote Report
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
34 / Male / Flag
Joined: Aug 2005
O.P. RE: removing the dot off <li>
hmm.... thanks, didnt notice that, i dont have opera, thanks for the tip
formerly methos
12-16-2005 10:23 PM
Profile PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: removing the dot off <li>
quote:
Originally posted by Madman
code:
list-style-type: none;
apply that to the ul element that contains the li's
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)

The syntax for normal lists is:
<ul>
    <li>
    <li>
    <li>
</ul>

Or instead of <ul> (unordered list) use <ol> (ordered list). Those lists always have idents in the form of bullets, numbers, etc...

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.

Thus all this can be done with normal basic HTML which every browser understands, no stylesheet manipulation or anything fancy is needed...

This post was edited on 12-17-2005 at 06:21 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-16-2005 11:14 PM
Profile PM Find Quote Report
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
34 / Male / Flag
Joined: Aug 2005
O.P. RE: removing the dot off <li>
quote:
Originally posted by CookieRevised
All this can be done with normal basic HTML, no stylesheet manipulation is needed...

The proper syntax is:
<ul>
    <il>
    <il>
    <il>
</ul>

or instead of <ul> (unordered list) use <ol> (ordered list). Those lists always have idents in the form of bullets, numbers, etc...

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 definiation itself. They have the same ident as in a normal list.

wow, learn something new everyday, thanks for that! ive been manipulating the <ul> all day to get it to work as well! thanks!
formerly methos
12-16-2005 11:16 PM
Profile PM Web Find Quote Report
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: removing the dot off <li>
[OFF TOPIC]
There are also other list forms, eg:

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

or

<dir>
  <li>
  <li>
  <li>
</dir>

;)

PS: Oh, and the site menu works nicely in Netscape btw, no errors (except for the broken links of course).

[/OFF TOPIC]

This post was edited on 12-16-2005 at 11:25 PM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
12-16-2005 11:24 PM
Profile PM 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