How do I get my list items to be flush left?
I've got
list-style-type: none;
to get rid of the bullets, but I can't pull the list over to the left.
There's still a gap for the invisible bullets.
EDD
--
--Arrogance is the ultimate learning disability. 6 9210
Ed Dickerson wrote: How do I get my list items to be flush left?
I've got
list-style-type: none;
to get rid of the bullets, but I can't pull the list over to the left. There's still a gap for the invisible bullets.
EDD
you tried puting this on the LI and/or OL...
padding-left:0px;
margin-left:0px;
maybe?
--
a beef jerky site http://www.choicebeefjerky.com.au
not a beef jerky site http://mycoolwheels.com/vote.cmks
nobody ever dreams of working for the man
"Disco Octopus" <di**********@y ahoo.com> wrote in message
news:ae******** *************** *****@40tude.ne t... Ed Dickerson wrote:
How do I get my list items to be flush left?
I've got
list-style-type: none;
to get rid of the bullets, but I can't pull the list over to the left. There's still a gap for the invisible bullets.
EDD you tried puting this on the LI and/or OL... padding-left:0px; margin-left:0px; maybe?
here's the pertinent part:
ul li {list-style-type: none; padding-left: 0px;
margin-left: 0px;
}
has no effect. -- a beef jerky site http://www.choicebeefjerky.com.au not a beef jerky site http://mycoolwheels.com/vote.cmks nobody ever dreams of working for the man
> ul li {list-style-type: none; padding-left: 0px; margin-left: 0px; }
has no effect.
Try removing "px" from your value. I believe that when specifying a zero
value, the unit of measure is not required.
ul li {
list-style-type: none;
padding-left: 0;
margin-left: 0;
}
That's how I do it to make it flush to the left.
--
Viken K. http://home.comcast.net/~vikenk
Still no effect.
"Viken Karaguesian" <vikenkNO_SPAM@ NO_SPAMcomcast. net> wrote in message
news:Fs******** ************@co mcast.com... ul li {list-style-type: none; padding-left: 0px; margin-left: 0px; }
has no effect.
Try removing "px" from your value. I believe that when specifying a zero value, the unit of measure is not required.
ul li { list-style-type: none; padding-left: 0; margin-left: 0; }
That's how I do it to make it flush to the left.
-- Viken K. http://home.comcast.net/~vikenk
Ed Dickerson wrote: Still no effect.
Why don't you try posting the URL so that we could see both the markup
and the style sheet as a whole? And why wouldn't you post in the Usenet
style, for constructive discussion? (See http://www.xs4all.nl/%7ewijnands/nnq/nquote.html )
Based on the mixed pieces of information given, it seems probable that
you have not taken into account the fact that a list (ul or ol element)
may have a margin or a padding. You have just tried to set the left
margin and left padding of each list item to zero. (By the way, 0px or
0pt or 0mm or 0em is equivalent to 0. There's no reason to use a unit
for zero, but neither is there a reason to attack potential problems my
making irrelevant changes.)
So you might just lack
ul { margin-left: 0; padding-left: 0; }
Thanks, everyone.
In my previous post I listed this code:
ul li {list-style-type: none; padding-left: 0;
margin-left: 0;
}
That moved each LI but not the whol UL
So I changed it to
ul {list-style-type: none; padding-left: 0;
margin-left: 0;
}
And that did it.
"Jukka K. Korpela" <jk******@cs.tu t.fi> wrote in message
news:dr******** **@phys-news4.kolumbus. fi... Ed Dickerson wrote:
Still no effect.
Why don't you try posting the URL so that we could see both the markup and the style sheet as a whole? And why wouldn't you post in the Usenet style, for constructive discussion? (See http://www.xs4all.nl/%7ewijnands/nnq/nquote.html )
Based on the mixed pieces of information given, it seems probable that you have not taken into account the fact that a list (ul or ol element) may have a margin or a padding. You have just tried to set the left margin and left padding of each list item to zero. (By the way, 0px or 0pt or 0mm or 0em is equivalent to 0. There's no reason to use a unit for zero, but neither is there a reason to attack potential problems my making irrelevant changes.)
So you might just lack ul { margin-left: 0; padding-left: 0; } This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: mp |
last post by:
I'm trying to build my first site (learning how to code by hand) using
XHTML and CSS. I've done a lot of reading but I can't figure out
what's going on here. I'm trying to generate tabs for a horizontal
navigation system using only XHTML and CSS. I put up a section of
code at http://www.xmission.com/~mpyne/help_me/subnavonly.html. I
also put a screen capture of the code in 4 browsers (NS6.2, Mozilla
1.5, Opera 7.1, and IE6/Win) at...
|
by: Steve |
last post by:
I'm not sure if I should be using tables here to structure the layout or
if CSS is okay. I have a data entry form in which I have floated the
labels to one side, and given them a specific width. With regular input
such as textboxes, everything lines up fine. The problem I'm having is
that I have an unordered list of checkboxes, and only the first item
will line up with the label. The additional checkboxes and their labels
end up being...
|
by: Dave |
last post by:
Hi,
I currently have the following in order to have a little bit of
horizontal spacing separation between the bullet images and the text
in the list (and I'm happy with the vertical separation between the
list lines):
UL { list-style: url("../images/bullet-right.gif") square }
LI {
margin: 0.8em 10% 0.8em 0;
|
by: Timo |
last post by:
I have this list of checkboxes displaying properly in Opera and IE, but
cannot get it in Firefox. For some reason, in FF, the checkboxes creep
farther and farther to the right across the page, with each successive line:
This is item one
This is item two
This is item three
This is item four
I would be grateful for some pointers on what's causing it and what I can do
|
by: chirag |
last post by:
hi i am writing the following function . but does not seem to put the code
in sequence. it does not compile. its kind of messed up. please help me
improve it. thanks.
void addToEndOfLinkedList(Node * &head)
// Reads a series of integers from the keyboard (ending with -1) and
// appends them to the end of the linked list pointed to by head. No
// error checking is done. Correctly handles the case when the
// original list starts out...
| |
by: Daniel |
last post by:
System.IO.StreamWriter Close or Flush method to shut down the computer in
such a way that just part of the file is written? or an empty file is
written? Also if the Close or Flush is to a streamwriter writing to a
network share, is it possible for the network to go down in such a way that
the tartet file is only partialy written? or are there some kind of check
sums to prevent this.
|
by: scythemk |
last post by:
Hi,
I am writing a program that, everytime it executes, first loads all
information from a file into a linked list of nodes, using struct to
define it. After manipulating the data and receiving user input, the
program once again outputs the linked list information to the same
file. My problem is that when I'm first trying to get the info from the
file into the linked list I get a bus error. My code is as follows:
struct nodeType
{...
|
by: alopatenko |
last post by:
I have a template class
template <Class W>
class WS
At some point I have to use a STL list WS<W>objects
so, I define
#include <list>
|
by: donpro |
last post by:
https://testbed.odysseyshipping.com/
In the footer, I am having problem with the list-style-image statement
in my CSS
1) In Firefox, my custom image shows in front og all list items EXCEPT
the first column
2) In IE 7, they don;t sow any where
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |