Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

CSS Tables and List Markers

 
   Web Hosting and Web Master Forums (Home) -> Webmaster RSS
Next:  DHTML colour picker  
Author Message
Webby

External


Since: Jun 17, 2006
Posts: 1



(Msg. 1) Posted: Sat Jun 17, 2006 7:45 am
Post subject: CSS Tables and List Markers
Archived from groups: alt>www>webmaster (more info?)

Hello

I'm new to the CSS game and seem to have got my head round quite a bit
of stuff. However, I just can understand how to set up CSS tables. If
you visit www.stokelibdems.org.uk you'll see that the contents on the
'Executive' page for example are within a table. This is making such
pages non-html valid.

I've also got a query about list markers. If I set up an internal
style sheet as follows:

<style type="text/css">
ul
{
list-style-image: url(../img/tick.gif)
}
ol
{
list-style-position: inside
}
</style>

I get the tick and the content is listed on www.focustowin.co.uk, but
the list is indented - how do I remove the indent? I've tried the
"list-style-position: inside" as you can see but this doesn't appear to
do very much.

Any help very much appreciated.

Gavin.

 >> Stay informed about: CSS Tables and List Markers 
Back to top
Login to vote
Jim Moe

External


Since: Sep 01, 2005
Posts: 44



(Msg. 2) Posted: Sat Jun 17, 2006 12:32 pm
Post subject: Re: CSS Tables and List Markers [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

William Tasso wrote:
>>
>> <style type="text/css">
>> ul { list-style-image: url(../img/tick.gif) }
>> ol { list-style-position: inside }
>> </style>
>>
>> I get the tick and the content is listed on www.focustowin.co.uk, but
>> the list is indented - how do I remove the indent? I've tried the
>> "list-style-position: inside" as you can see but this doesn't appear to
>> do very much.
>
> sounds like you're looking for
> {
> margin-left:0;
> padding-left:0;
> }
>
IE can be very difficult about bullets if (it thinks) there is no space
for them; IE clips them off. I have found these work as a minimum:
ol { padding-left: 2.5em; } /* Allows up to 3 digits. */
ul { padding-left: 1.4em; } /* Minimum needed across browsers. */

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

 >> Stay informed about: CSS Tables and List Markers 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Why CSS is better than Tables... - OK I know this has been discussed to death, and well I personally am a near complete convert BUT on a new site, I need to present the BUSINESS case for why CSS is better than tables for layout... this btw is for a fairly large organisation who pride....

JS/CSS/Tables Help - Can anyone see what I'm overlooking? On this page, the popups (on the Site Admin and Calendar Text items) have an opaque background and a nice, thin border, as they should: http://development2.holotech.net/portal/test/ This page is using essentially....

tables are best - noooo, not that sort ;) Can any of the *n*x gurus resident in these parts point to a comprehensive guide to iptables for a complete noob? Been troubleshooting, examining the rules in a firewall and now I'm more befuddled than I was before. -- ..

Tables, tables everywhere! - Hi all. Newbie-dude here again. Just beginning my html coding experience. Eventually I'm looking to do this professionally. I often hear that tables for layout are passe and I should be using css. 2 problems with that so far. 1. Virtually every..

DIV's or tables? - Hi all, I'm just about to embark on a new project. All my previous work has used tables to do the layout. I'm begininng to wonder about using DIV's to do the layout on my next bit of work - can someone point me to a site detailing the positives and..
   Web Hosting and Web Master Forums (Home) -> Webmaster All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]