What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » HTML Lists

Pages: (5): « First « 1 2 3 4 [ 5 ] Last »
HTML Lists
Author: Message:
Thor
Veteran Member
*****

Avatar
Awwwwwwww.

Posts: 1118
Reputation: 42
31 / – / Flag
Joined: May 2006
RE: HTML Lists
quote:
Originally posted by Plik
quote:
Originally posted by methos
quote:
Originally posted by Plik
quote:
Originally posted by methos
i sorted it for him... the text was centre aligned so the list was centered as well, and because the lines were different lengths they werent aligned ^_^ solution: create a narrower div, left align the text :happy:
Just out of interest, why did you need a div?
because he wanted the list centered but aligned, ie, he wanted the list centered somewhere in the middle but still aligned with each other... a div is just the easiest way of doing it, containing the list within a narrower div, centering the div then left aligning it is the easiest way.... :-/

Couldn't you center the ol, and setting the text-align to left?
Nothing much, but you should always work for as little markup as is necessary ;)
Then he would have to use an inline style, but Mozilla doesn't support all the CSS in inline tags... I've had problems with diffrent objects. But I think that a div would be the best thing. Not an line style.
:plus4: Translation guidelines for Messenger Plus! Live
I'm no longer around this town, but I miss the community dearly. You can always find me lurking in #banana, or at
nitrolinken.net.
07-12-2006 06:47 PM
Profile PM Web Find Quote Report
welshboy222
Full Member
***

Avatar

Posts: 325
Reputation: 4
29 / Male / –
Joined: Apr 2006
Status: Away
O.P. RE: HTML Lists
I have IE just to let ya know.
If the worst comes to the worst eat a cake makes you feel better!
07-12-2006 06:49 PM
Profile E-Mail PM Find Quote Report
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
33 / Male / Flag
Joined: Aug 2005
RE: HTML Lists
quote:
Originally posted by welshboy222
I have IE just to let ya know.
lol... we've got all the html freaks going on about compatability... Nitro just means that using the method Plik said might not show properly on some browsers... so if someone with Firefox waned to view your page it might not display properly.. :P </explanation>
formerly methos
07-12-2006 06:56 PM
Profile PM Web Find Quote Report
Thor
Veteran Member
*****

Avatar
Awwwwwwww.

Posts: 1118
Reputation: 42
31 / – / Flag
Joined: May 2006
RE: HTML Lists
quote:
Originally posted by welshboy222
I have IE just to let ya know.
Even though you have IE doesn't mean that the visitor will have IE. IE does not support web standards. Mozilla supports it, but Opera is best there, 'cause it even passes the Acid 2 test.
Always think about how it will be for your visitors. :)
:plus4: Translation guidelines for Messenger Plus! Live
I'm no longer around this town, but I miss the community dearly. You can always find me lurking in #banana, or at
nitrolinken.net.
07-12-2006 06:57 PM
Profile PM Web Find Quote Report
Plik
Veteran Member
*****

Avatar

Posts: 1489
Reputation: 46
34 / Male / –
Joined: Jun 2004
RE: HTML Lists
quote:
Originally posted by Nitrolinken
quote:
Originally posted by Plik
quote:
Originally posted by methos
quote:
Originally posted by Plik
quote:
Originally posted by methos
i sorted it for him... the text was centre aligned so the list was centered as well, and because the lines were different lengths they werent aligned ^_^ solution: create a narrower div, left align the text :happy:
Just out of interest, why did you need a div?
because he wanted the list centered but aligned, ie, he wanted the list centered somewhere in the middle but still aligned with each other... a div is just the easiest way of doing it, containing the list within a narrower div, centering the div then left aligning it is the easiest way.... :-/

Couldn't you center the ol, and setting the text-align to left?
Nothing much, but you should always work for as little markup as is necessary ;)
Then he would have to use an inline style, but Mozilla doesn't support all the CSS in inline tags... I've had problems with diffrent objects. But I think that a div would be the best thing. Not an line style.
List elements are block level.......................................
07-12-2006 06:57 PM
Profile PM Find Quote Report
Thor
Veteran Member
*****

Avatar
Awwwwwwww.

Posts: 1118
Reputation: 42
31 / – / Flag
Joined: May 2006
RE: HTML Lists
quote:
Originally posted by Plik
List elements are block level.......................................
I know that.
:plus4: Translation guidelines for Messenger Plus! Live
I'm no longer around this town, but I miss the community dearly. You can always find me lurking in #banana, or at
nitrolinken.net.
07-12-2006 06:58 PM
Profile PM Web Find Quote Report
Plik
Veteran Member
*****

Avatar

Posts: 1489
Reputation: 46
34 / Male / –
Joined: Jun 2004
RE: HTML Lists
quote:
Originally posted by Nitrolinken
quote:
Originally posted by Plik
List elements are block level.......................................
I know that.
Then what does:
quote:
Originally posted by Nitrolinken
Then he would have to use an inline style, but Mozilla doesn't support all the CSS in inline tags
mean?

I've never had issues with positioning ul's and ol's the same way you would a div, because they are both block level. The only issue is that lists generally have padding and margins by default, which cause issues if you don't expect it.
07-12-2006 07:01 PM
Profile PM Find Quote Report
Thor
Veteran Member
*****

Avatar
Awwwwwwww.

Posts: 1118
Reputation: 42
31 / – / Flag
Joined: May 2006
RE: HTML Lists
quote:
Originally posted by Plik
quote:
Originally posted by Nitrolinken
quote:
Originally posted by Plik
List elements are block level.......................................
I know that.
Then what does:
quote:
Originally posted by Nitrolinken
Then he would have to use an inline style, but Mozilla doesn't support all the CSS in inline tags
mean?

I've never had issues with positioning ul's and ol's the same way you would a div, because they are both block level. The only issue is that lists generally have padding and margins by default, which cause issues if you don't expect it.
Oh, well, I was trixing with inline style using the p tag, and firefox wouldnt' color my text, it wouldn't add the font either. And I didn't understand, but I kept on working with it. The site that I were doing tthe code, was a profile site, a norwegian service. In IE and Opera the site looked excatly as It should. I didn't want to use <font> tag, I don't like it. (:P) So I used the inline style, as I said, and the text looked not as it should, in Mozilla (I mean firefox).

:) That's what I meant.
:plus4: Translation guidelines for Messenger Plus! Live
I'm no longer around this town, but I miss the community dearly. You can always find me lurking in #banana, or at
nitrolinken.net.
07-12-2006 07:55 PM
Profile PM Web Find Quote Report
Pages: (5): « First « 1 2 3 4 [ 5 ] 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