jlhaslip
Mar 28 2007, 04:03 AM
Unordered lists are one of the three list types in (x)html. The others are Ordered Lists and Definiton Lists. The w3c page of information about lists is here They all behave the same as (x)html elements, but there are some differences between them. Read the Specification page linked above to know more that you need to know about them. Only difference between html4 and xhtml is the tags must be lower-case and closed for xhtml to be valid. Ordered Lists have numbers preceding them. Paste the following code into a file and display it in your Browser to see the effect. CODE <ol> <li>list item here</li> <li>list item here</li> </ol> Unordered Lists have other identifying character preceding them. Paste the following code into a file and display it in your Browser to see the effect. CODE <ul> <li>list item here</li> <li>list item here</li> </ul> Definition lists are similar to Unordered Lists, but the unique characteristic of DL's is that DL's allow for more than one sub-level of detail under them. CODE <dl> <dt>dt item here</dt> <dd>dd item here</dd> </dt> <dt>dt item here</dt> <dd>dd item here</dd> <dd>dd item here</dd> </dt> </dl> Notice how the second <dt> has an additional <dd> under the same <dt>? Can't do that with OL's or UL's *unless you nest them*, which is an option, of course. Ordered List Example hereUnordered List Example hereDefinition List Example hereAnd the (numbers or images preceding the lists) can be removed by declaring "{ list-style-type: none; }" in the style declaration for them. These example pages have little styling on them. They are pretty much default styling. Adjust them with padding and margin to suit your needs. Simple, huh? A major point to notice is that Lists are block items by default, so they DO NOT require a wrapping DIV around them. A View > Source of that link with an example of nested UL's here will show that the UL can be given an ID and targetted by the CSS, classed, Floated or otherwise positioned the same as a div without any wrapper around it. Cool, huh? eh! So save your div's for where you need them. Lists aren't on that list... (pun intended).
Reply
Saint_Michael
Mar 28 2007, 04:35 AM
Well to add a bit to the DL tags, in way those would be use primary as a way to set up a definition of a word and it source, something like this: word This is the meaning of the word and where it comes from. .I do believe dictionary.com is using that tag, although I haven't verified that, but it would seem plauseiable to use it. Of course their are many other reasons, primaryily used for organzing information, heck you can even use this to set up work citations on a website if your doing a research project.
Reply
rize619
Jun 23 2007, 05:44 PM
hey how to set margin in lists ... like left margin ...margin b/w lists.?
Reply
Recent Queries:--
valid nested unordered lists - 1416.45 hr back.
Similar Topics
Keywords : lists, unordered, nested, layout, tricks
- Mine And Kansuke's Website Layout
(5)
Css Layout Help
need help with my layout (8) http://billy61.trap17.com/divs/modulemaker.php i am rewriting my layout in divs instead of
tables. the problem i have, is i need the divs with the "L" and "R" in them to extend all the way
down to the bottom of the "content" div. also, what do i need to do to center the entire thing on
the webpage? and it appears as though the top center div extends down into the middle div by
like... maybe 5 px... is this just an illusion or is it really happening? this is the source html
for the page: CODE <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional....
What Do You Think About My Layout-image?
(2) Hello. So I made this layout image, and I would like to hear what you think about it. I did not
spend to much time, but some. Most of the time was used to find images, and apply a vintage effect.
I think it came out okey, but that is my opinion. I am not to good with photoshop, and you can say
that it looks a bit "piczo-ish". Haha, new word. /tongue.gif" style="vertical-align:middle"
emoid=":P" border="0" alt="tongue.gif" /> Anyway, I can say that the "theme" is a bit related to
poverty, and such things. I am not quite happy about the blending some places. It is quite....
Even More! Firefox Tricks For Your Firefox Needs
(0) You could say that this topic was a reason why this topic is here. So I did some web surfing and
found this awesome website that really gets some good customization to your Firefox browser. Just
a small note that you will be working mostly in the about:config page so just open a new tab and of
course open this topic up or the website that this info is coming from. Sessions QUOTE
Session restore Fx 2.0 only: As a blogger and web mail user, it breaks my heart to recount how many
times I've composed a long post or email message, then accidentally closed t....
Relationship Advice
tricks to protect your heart hehe (4) hey /smile.gif" style="vertical-align:middle" emoid=":)" border="0" alt="smile.gif" /> everybody
is in love with love but most of us have suffered from break ups before, I never imagined love could
hurt so much until my ex, and now I prefer being single... I hate crying, I hate missing someone, I
hate being miserable and am sure you do too,lol so lets just help each other here.... One thing to
avoid is parent problem believe me,its the hardest... If you're going out with someone and his
parents are totally against it, try getting away from the relationship especi....
Nasty Windows Tricks Using Vbs Codes
blue screen of Death, Instant Shutdown, Endless Notepads (13) The CMD Codes- to use, open up notepad and copy and paste the code into the notepad. name the file
(anyname).vbs (to make a .vbs file, when u save it or save as, it will ask u for a name and which
type u want it, so choose all file then just name it as a .vbs file) then just click on the file u
just made *NOTE* these codes do not stay on forever, they just stay on until the person shuts off
the computer. The registry delete is one that PERMANETLY deletes files on the computer that cannot
be recovered. this will DESTROY the computer -The blue screen of Death *The Blue....
More Useful Laptop Tips And Tricks
(4) So have you used andd abused your laptop and now you have problems that will drive you insane and
spend hours up hours of talking with tech people? Well hopefully these tips and tricks will help
you get a more stable, faster, and even a efficient working computer running again. QUOTE 1.
Your Wi-Fi network is now dog-slow. If it's not a network outage, you likely have interference.
Try relocating your router to shield it from disruptions such as microwave use or calls from a
cordless phone. Or you may be on a crowded channel. Change the channel via your route....
Tricks With Php Variables
(10) You probably are thinking at this moment why I am posting some tricks with variables. Well, there
are many useful things a variable can do for us. For one they can actually be used to create simple
games. They also can be used to produce a random result in a page. Another great use is shoutboxes.
Well here are some cool variable effects. Adding Multiple Strings We can use strings to create
great effects. Example: CODE <?php $var1="Hello person.";
$var2=str_replace("person","world",$var1); echo $var1."
&....
Nice Clean Php Layout Coding.
Learn a nice neat way to code your layouts with php (7) There are basically two main ways to code your php. Method 1) Creating a php document with an html
look. The you throw in include tags all over the place. Its unorganized, and you have lots of stray
files hidden in folders and scattered in your base directory. Its difficult to organize, and you
make mistakes easily. Example: This document would be called index.php Whatever
Banner or something Some content here. Mostly along the lines of You might ask what
the problem was? Well, those include tags tend to multiply, and so do all those unne....
Windows Vista™ Tip Sheet
Tips and Tricks (6) View: http://mstpblog.blogspot.com/2007/07/windo...-tip-sheet.html Taken from Microsoft
Technology Playground QUOTE Windows Vista is designed for businesses of all sizes and across all
industries. Windows Vista will make a difference in any business setting. Windows Vista also helps
PC users to be more effective in their work by offering improved connectivity with advanced
integration across technologies, networks, and systems, as well as providing them with quick access
to better organized information. Tips & Tricks Folder Navigation 1. Getting around your PC ....
Five Of The Dirtiest Malware Tricks
(4) I was going through my usual Yahoo security news and I though I post this up and hopefully shed some
new light on protecting yourself from malware QUOTE Don't mind me--I'm only here to
break your PC: It's like sending in a different scout each time to open the gate for the rest
of the invaders. The "Glieder Trojan" and many others use a multistage infection process whose first
step is a tiny program that the crooks can change constantly so your antivirus watchdog is less
likely to recognize it. Once it gets in, the downloader tries to disable your sec....
Centered Div Layout Issues
Float Right item not vertically aligned with text (2) Hey everyone. I am writing an all div layout for my friends website and i just cant seem to get all
the fields aligned properly. I can get all my images to be aligned and look great until i put any
text on the site. For example, my box that will contain links and such has 3 parts: top, middle and
bottom. Each of these have 3 parts: left, middle and right. To program the 3 parts of each row, i
use 3 divs which are all floated based on their position. However, as soon as I put text in the
middle area, the right image is moved down to a new line. The sample site is located ....
Multiple Drop Down Lists ?
Multiple drop down lists to take user to new page (4) Hi everyone I was wondering if anyone could help. I want to create a page with multiple drop down
lists and depending what the user selects decides the page they will be taken to. Sorry i havent
explained this too well. Here is an example of what i want (link below) the user is also emailed a
copy http://www.dermalogica.com/SpeedMappingOnl...US®ion=B I have searched the web and come
close but nothing does it right I would be extremely greatful if anyone could help! Thanks ....
I Need Myspace Layout Ideas =/
(0) hello there fellow trap17 members. As some of you know I use my webspace to distribute stuff for
myspace and other things... but i'm running out of ideas Here are the layouts i currently
have: Paramore Make Cupcakes not war Rainbows The spaces between your fingers (AKA the kissy kissy
layout) You were born original. Don't die a copy. Playin like a playa I also need some ideas
for more guysh layouts... I'm chalenged in that department /tongue.gif"
style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> Please help me out
/biggrin.gif" s....
Herb Gardening
Herb Gardeners, share your tips, tricks & experiences with us (8) I have a rather small herb garden this year, I'm just growing basil, oregano, spearmint,
tarragon and catnip. I originally planted some dill, thyme, anise & chamomile but they died early
this year:( Please feel free to boast about your own herb gardens here & add any helpful hints you
may have. The more the merrier /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0"
alt="biggrin.gif" />....
Easy Summer Cookings And Shopping Lists
for those lazy teens (1) Let's see, if your younger, you might have to fend for yourself this summer. Me and my
girlfriend basically eat the same thing everyday, unless someone else feeds us or we don't hit
the fast food joint. Let's see some easy recipes for you too enjoy and easy to cook. Eggs...
definately a must have. You can easily cook an omelette or friend egg sandwich in less than 10
minutes. My friend egg sandwich has toasted bread, with two slice of chese on the bread, then two
eggs (over easy) slapped on top (sometimes with cooked ham). cut it in half and dip the sandwic....
Please Review My Layout
In a JPEG mockup (7) I am designing a layout for my blog. Can you please give me your comments? I don't want to do
up my entire website before realizing that there are improvements to be made. So I would appreciate
it if you can give me some feedback. When you first look at the website, you may find it weird
because I try to be different from all the blogs you see out there. The JPEG mockup is attached.
Hope to hear some constructive criticism or praise /smile.gif" style="vertical-align:middle"
emoid=":)" border="0" alt="smile.gif" />....
Sickest Yo Yo Tricks I Have Ever Seen
(0) At first I was like, yeah someone doing interesting yo yo tricks and thats about it, well I was
wrong from the looks of it this kid mixed in some basic martial arts moves within the yo yo tricks,
you can see some of them if you pay close enough attention. Of course some of hte best tricks
revolved around using nothing but string which was even sicker. Yo Yo Viideo ....
New All Black Myspace Layout
I find it pretty sweet. (11) A ton of you saw my last all white myspace and i got some feedback and way over then 3/4 was
postive. I wanted to try to get even better feedback with my new all black layout with it's
Oscar G logo. http://myspace.com/bumwrecker ALL feedback welcome!....
15 Of The Best Firefox Tricks Ever
Works for all Versions (Haven't Tested on FF 3) (7) While searching some stufff about using two different browsers I came upon this little site that
last some of the best firefox tricks ever (including the pipeline trick) they even got tricks for
lowering ram usage from firefox which is hte best thing ever, because I soak up a lot of RAM from FF
with all the extensions I have. They even got tricks I don't think most people here on the
forums know about either. For the ones I have tested so far they seem to still work on firefox
2.0.0.4 which is a good thing, but I haven't tested them on FireFox 3 yet. I would r....
Why Tables For Layout Is Stupid
problems defined, solutions offered (10) this covers what every web developer/designer should know, first and foremost. /biggrin.gif"
style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> although this resource has
been around since 2003, there are still some things to learn from it, especially for beginners. the
gist of it all is this: avoid TABLES for LAYOUT at all cost. /tongue.gif"
style="vertical-align:middle" emoid=":P" border="0" alt="tongue.gif" /> Why tables for layout
is stupid: problems defined, solutions offered MAIN SECTIONS COVERED: Introduction
QUOTE ....
Help With Css/html Layout
Horizontal List Problems (5) I can't figure out why this horizontal list isnt working. Underneath my banner is supposed to
be a green gradient bar with a list of links in the center of the page. The links are all the way
to the left and are really small. The banner is also overlapping the list for some reason. This is
my current layout(don't worry, I'm not trying to advertise).
http://www.stormgaming.net/stormcreations/ This is my CSS file
http://www.stormgaming.net/stormcreations/storm.css Thanks in advance for any help.....
Google Tricks
(31) I found out these from some other site, but if you type in QUOTE worst band in the world
scrool down abit and look who you see. Typing in QUOTE the answer to life the universe and
everything and see what the google calculator Another good one is when you type in QUOTE
French Miltary Victories And press i'm feeling lucky it comes up with, QUOTE Do you
mean French Miltary Defeats And the best of them all, is when you type in Failure and the
first option is george bush. That one made me laugh for weeks.....
Ie And Firefox Layout Differences
(9) I have had a go at making a website using CSS to dictate the layout (no tables used) and it works
quite nicely in firefox but when i open it in IE it completely mangles the whole layout. Can
someone tell me some techniques to prevent this and maybe point me to some helpful pages. Thanks.....
How To Improve Security Of Your Website?
Tips and tricks, important things... (3) First of all i want to apologize to moderators in case that they need to close this topic because
someone opened it before...I used search and i havent found anything...once again sorry if i missed
some topic... Getting to the point! What do we need to do to make our site secure? Daily
backups, deleting install files or something else? So please tell us more about site security!
I know it`s practically impossible to make site 100% hack free, but at least 80% we can do!
Advanced users share your advices with us-newbies! You ll get post count and we....
Call Of Duty Tips And Tricks
For both origional and sequal (4) Hello all you CoD fans, newbs, and players. My name is Mitch, but you will most likely see me as
(_8(|) when I play Call of Duty online. For those who can't see/read ASCII Art, my monogram is
Homer Simpson in ASCII. Anyways, I plan to give you guys this little tutorial/booklet that will
allow you to play at your absolute best! Guaranteed. You will up your KD ratio by at least 3
times. But first a little history about myself. I origionally bought CoD1 (yes the origional) in
late 2004 from a pool fund for a LAN party. None of my friends had CoD but we wanted....
Tips And Tricks In Windows
everything you know share with us... (15) if you know some tips and tricks and you want to share with all the members please share it.
-shut down Ballon tips- 1. START>RUN>REGEDIT 2. go to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\A
dvanced 3.find "EnableBalloonTips" or make new DWORD with that name and set value "0" 4.restart pc
-No to all when copying- when you are copying, if you already have same files you will get the
message with buttons YES,YES TO ALL, NO, CANCEL. what about NO TO ALL. when you get that window
press SHIFT and click NO. that ....
Catholic Church Back To Old Tricks?
Evangelicals jailed, fined for faith (19) The following is from: http://www.compassdirect.org/en/newsarcen....name=&rowcur=25 QUOTE
May 19 (Compass) -- On May 15, six police officers and a local Catholic catechist appeared at the
Fountain of Heaven Church in Cuateceometl, Hidalgo, Mexico, at 10 a.m. and arrested Pastor Francisco
Sanchez Gonzalez and church member Raul Bautista. The arrests came after a decision by the town
assembly to “eradicate” all non-Catholic Christians from the area. Local officials informed church
members that they must renounce their evangelical faith and pay a fine of 1,000 pesos....
Msgbox
Here is a simple way and lists of MsgBoxes. (16) Here are lists of MsgBoxes: Syntax: MsgBox Prompt, MsgBoxStyle, Title, HelpFile MsgBox "Uh,
text!", , "Uh, Title!" MsgBox "Uh, text!", vbCritical, "Uh, Title!" MsgBox "Uh,
text!", vbExclamation, "Uh, Title!" MsgBox "Uh, text!", vbInformation, "Uh, Title!"
MsgBox "Uh, text!", vbOKCancel, "Uh, Title!" MsgBox "Uh, text!", vbQuestion, "Uh,
Title!" MsgBox "Uh, text!", vbYesNo, "Uh, Title!" MsgBox "Uh, text!", vbYesNoCancel,
"Uh, Title!" MsgBox "Uh, text!", vbRetryCancel, "Uh, Title!" MsgBox "Uh, text....
Tips And Tricks
For webdesigners (1) Just go to this good website: CODE http://www.vertextemplates.com/tutorials.shtml ....
Looking for lists, unordered, nested, layout, tricks
|
|
Searching Video's for lists, unordered, nested, layout, tricks
|
advertisement
|
|