PHP Developers Network

A community of PHP developers offering assistance, advice, discussion, and friendship.
 
Loading
It is currently Fri Nov 28, 2014 9:30 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Mar 07, 2011 5:35 pm 
Offline
Forum Contributor
User avatar

Joined: Wed Apr 14, 2010 4:45 pm
Posts: 372
Location: UK
Hi,

This is a real simple one I guess...hell, I've only been using HTML for 14 years :)

For the first time in my career I've had to use ordered lists today (of type "A" for upper class letters where the bullet points should be) but can't seem to find the right code to align the letters correctly so that they're in a straight (vertical) line. I'm only going up to F so in theory I could either centre or left-justify them, but at the moment neither option seems to work.

What I preview the page in Firefox the letters all look out compared to each other by a couple of pixels or so. Also, the letters appear a couple of pixels lower than the text in <li></li> tags - I've removed all styling from them so this seems to be Firefox's default rendering :lol:

Any suggestions please?

Mecha Godzilla


Top
 Profile  
 
PostPosted: Tue Mar 08, 2011 8:33 am 
Offline
Forum Newbie

Joined: Sun Jan 18, 2009 4:03 pm
Posts: 22
try reseting it with:

Syntax: [ Download ] [ Hide ]
ol{padding:0;margin:0;}


Top
 Profile  
 
PostPosted: Tue Mar 08, 2011 6:15 pm 
Offline
Forum Contributor
User avatar

Joined: Wed Apr 14, 2010 4:45 pm
Posts: 372
Location: UK
Thanks for that - I'll try this later on and report back :)

M_G


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group