473,385 Members | 1,863 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

spacing and positiong: lists (ul li)

mno
Hi all,

I have a problem that I've been stuck with for the last couple of days
that's driving me a bit more than crazy at this point. Sorry if this
message is not very clear.

I have a design that resembles the following:

<div id="main">
<div class="image">
<img ... />
<p>Some description</p>
</div>

<h1>text</h1>
<p>
...
</p>

<ul>
<li>item</li>
<li>item</li>
</ul>
</div>

The following is the CSS for this code:

#main {
padding: 0;
margin: 10px 20px 40px 20px;
}
H1{
font: 14pt Georgia, "Times New Roman", Times, serif;
color: #232915;
margin: 0px 20px 10px 20px;
}
P {
line-height: 130%;
color: #000000;
margin: 0px 100px 10px 20px;
}
DIV.image {
margin: 0px 20px 10px 0px;
padding-left: 0px;
font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
color: #9EAE71;
position: relative;
}
DIV.image IMG {
margin: 0;
padding: 0;
border: 1px solid #232915;
}
DIV.image P {
margin: 5px 2px 5px 2px;
font-style: italic;
color: #232915;
line-height: 120%;
}
UL, OL {
list-style-position: outside;
margin: 0px 100px 10px 30px;
padding: 0;
}
LI {
list-style-position: outside;
margin: 0px 0px 0px 0px;
padding-left: 10px;
}

My issue is that the list items seem to be located "behind" the image
div. I tried playing around with the float, position, margin and
padding properties, but could not get the divs to be aligned properly.
I tried sticking the ul into a p, but that didn't work. I eventually
stuck the ul into a blank div tag, and that fixed everything, but added
a bunch of other issues with wrapping around this other div tag of the
p elements following it.

Basically, what I want to do is have the ul work properly on it's own
without sticking them into a div, because that causes a lot of issues.
I can't just do clear: left or clear: all, because of that image div
located to the left of the text, as doing a clear: all clears that div
also, which isn't what I want to do.

Any recommendations? Maybe I'm missing something, but I've always hated
working with div layouts and lists.

To see this in action, you can go to http://www.miykyiv.com/join.php
and submit the form without entering any data. You will see an error
page with several errors listed in a ul tag.

Any help is greatly apprectiated!
Thanks,
Max

Sep 1 '06 #1
6 5021
"mno" <mn****@gmail.comwrote in message
news:11********************@i3g2000cwc.googlegroup s.com...
Hi all,

I have a problem that I've been stuck with for the last couple of days
that's driving me a bit more than crazy at this point. Sorry if this
message is not very clear.

I have a design that resembles the following:

<div id="main">
<div class="image">
<img ... />
<p>Some description</p>
</div>

<h1>text</h1>
<p>
...
</p>

<ul>
<li>item</li>
<li>item</li>
</ul>
</div>

The following is the CSS for this code:

#main {
padding: 0;
margin: 10px 20px 40px 20px;
}
H1{
font: 14pt Georgia, "Times New Roman", Times, serif;
color: #232915;
margin: 0px 20px 10px 20px;
}
P {
line-height: 130%;
color: #000000;
margin: 0px 100px 10px 20px;
}
DIV.image {
margin: 0px 20px 10px 0px;
padding-left: 0px;
font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
color: #9EAE71;
position: relative;
}
DIV.image IMG {
margin: 0;
padding: 0;
border: 1px solid #232915;
}
DIV.image P {
margin: 5px 2px 5px 2px;
font-style: italic;
color: #232915;
line-height: 120%;
}
UL, OL {
list-style-position: outside;
margin: 0px 100px 10px 30px;
padding: 0;
}
LI {
list-style-position: outside;
margin: 0px 0px 0px 0px;
padding-left: 10px;
}

My issue is that the list items seem to be located "behind" the image
div. I tried playing around with the float, position, margin and
padding properties, but could not get the divs to be aligned properly.
I tried sticking the ul into a p, but that didn't work. I eventually
stuck the ul into a blank div tag, and that fixed everything, but added
a bunch of other issues with wrapping around this other div tag of the
p elements following it.

Basically, what I want to do is have the ul work properly on it's own
without sticking them into a div, because that causes a lot of issues.
I can't just do clear: left or clear: all, because of that image div
located to the left of the text, as doing a clear: all clears that div
also, which isn't what I want to do.

Any recommendations? Maybe I'm missing something, but I've always hated
working with div layouts and lists.

To see this in action, you can go to http://www.miykyiv.com/join.php
and submit the form without entering any data. You will see an error
page with several errors listed in a ul tag.

Any help is greatly apprectiated!
Thanks,
Max

Hmm, I'll try to explain it, but some of the regulars here can probably do a
better job. You have the list inside a <div>

<div class="webdeveloper-relative-positioned-element" style="position:
relative; float: none; margin-left: 20px;">

This div's container (I believe) is the <div id="main">. The div with the
image is:

<div class="image webdeveloper-relative-positioned-element" style="width:
250px; float: left;">

So, the image div is floated left with a width of 250px - and is relative to
the constraints of the main div. But the div with the ul is positioned
relative to the main div also. The margin-left is only 20px so the bullets
are hidden. If you change the margin-left above to 300px you will see your
bullet points.

What helped me in seeing this is using the outline feature of the Firefox
Web Developer extension and also the outline feature on IE's DevToolbar.

If I'm wrong in how I've explained this, please somebody correct me!

--

David

Sep 1 '06 #2
mno

David Woods wrote:
"mno" <mn****@gmail.comwrote in message
news:11********************@i3g2000cwc.googlegroup s.com...
Hi all,

I have a problem that I've been stuck with for the last couple of days
that's driving me a bit more than crazy at this point. Sorry if this
message is not very clear.

I have a design that resembles the following:

<div id="main">
<div class="image">
<img ... />
<p>Some description</p>
</div>

<h1>text</h1>
<p>
...
</p>

<ul>
<li>item</li>
<li>item</li>
</ul>
</div>

The following is the CSS for this code:

#main {
padding: 0;
margin: 10px 20px 40px 20px;
}
H1{
font: 14pt Georgia, "Times New Roman", Times, serif;
color: #232915;
margin: 0px 20px 10px 20px;
}
P {
line-height: 130%;
color: #000000;
margin: 0px 100px 10px 20px;
}
DIV.image {
margin: 0px 20px 10px 0px;
padding-left: 0px;
font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
color: #9EAE71;
position: relative;
}
DIV.image IMG {
margin: 0;
padding: 0;
border: 1px solid #232915;
}
DIV.image P {
margin: 5px 2px 5px 2px;
font-style: italic;
color: #232915;
line-height: 120%;
}
UL, OL {
list-style-position: outside;
margin: 0px 100px 10px 30px;
padding: 0;
}
LI {
list-style-position: outside;
margin: 0px 0px 0px 0px;
padding-left: 10px;
}

My issue is that the list items seem to be located "behind" the image
div. I tried playing around with the float, position, margin and
padding properties, but could not get the divs to be aligned properly.
I tried sticking the ul into a p, but that didn't work. I eventually
stuck the ul into a blank div tag, and that fixed everything, but added
a bunch of other issues with wrapping around this other div tag of the
p elements following it.

Basically, what I want to do is have the ul work properly on it's own
without sticking them into a div, because that causes a lot of issues.
I can't just do clear: left or clear: all, because of that image div
located to the left of the text, as doing a clear: all clears that div
also, which isn't what I want to do.

Any recommendations? Maybe I'm missing something, but I've always hated
working with div layouts and lists.

To see this in action, you can go to http://www.miykyiv.com/join.php
and submit the form without entering any data. You will see an error
page with several errors listed in a ul tag.

Any help is greatly apprectiated!
Thanks,
Max


Hmm, I'll try to explain it, but some of the regulars here can probably do a
better job. You have the list inside a <div>

<div class="webdeveloper-relative-positioned-element" style="position:
relative; float: none; margin-left: 20px;">

This div's container (I believe) is the <div id="main">. The div with the
image is:

<div class="image webdeveloper-relative-positioned-element" style="width:
250px; float: left;">

So, the image div is floated left with a width of 250px - and is relative to
the constraints of the main div. But the div with the ul is positioned
relative to the main div also. The margin-left is only 20px so the bullets
are hidden. If you change the margin-left above to 300px you will see your
bullet points.

What helped me in seeing this is using the outline feature of the Firefox
Web Developer extension and also the outline feature on IE's DevToolbar.

If I'm wrong in how I've explained this, please somebody correct me!

--

David
Hi David,

Thanks, you're exactly right. The issue is that those 20px are taken
from the left edge of the container ("main") div. My issue with using
300px for left-margin is that the 250px "image" div is dynamically
generated - meaning that that div can be 400px or 150px or however many
wide. Further, there can be one more than one "image" div in the "main"
div with different widths. Therefore, I am looking for a solution to
this that will not require to set the left-margin from the container
"main" div. The funny thing is that the p tag's margins are respected.
But the ul's aren't. I guess it's how lists are treated. Further, both
IE and Firefox displayed the same behaviour.

So: what I'm looking for is a way to change any element style (keeping
the actualy html structure unchanged - or changed minimally - chage the
"image" div to a span or some other tag maybe?) that would allow me to
have lists that are rendered "correctly" (in quotes because perhaps
this is the correct behaviour according to the spec, but not what I am
looking for).

Thanks again!
Max

Sep 1 '06 #3
"mno" <mn****@gmail.comwrote in message
news:11*********************@74g2000cwt.googlegrou ps.com...
>
David Woods wrote:
>"mno" <mn****@gmail.comwrote in message
news:11********************@i3g2000cwc.googlegrou ps.com...
Hi all,

I have a problem that I've been stuck with for the last couple of days
that's driving me a bit more than crazy at this point. Sorry if this
message is not very clear.

I have a design that resembles the following:

<div id="main">
<div class="image">
<img ... />
<p>Some description</p>
</div>

<h1>text</h1>
<p>
...
</p>

<ul>
<li>item</li>
<li>item</li>
</ul>
</div>

The following is the CSS for this code:

#main {
padding: 0;
margin: 10px 20px 40px 20px;
}
H1{
font: 14pt Georgia, "Times New Roman", Times, serif;
color: #232915;
margin: 0px 20px 10px 20px;
}
P {
line-height: 130%;
color: #000000;
margin: 0px 100px 10px 20px;
}
DIV.image {
margin: 0px 20px 10px 0px;
padding-left: 0px;
font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
color: #9EAE71;
position: relative;
}
DIV.image IMG {
margin: 0;
padding: 0;
border: 1px solid #232915;
}
DIV.image P {
margin: 5px 2px 5px 2px;
font-style: italic;
color: #232915;
line-height: 120%;
}
UL, OL {
list-style-position: outside;
margin: 0px 100px 10px 30px;
padding: 0;
}
LI {
list-style-position: outside;
margin: 0px 0px 0px 0px;
padding-left: 10px;
}

My issue is that the list items seem to be located "behind" the image
div. I tried playing around with the float, position, margin and
padding properties, but could not get the divs to be aligned properly.
I tried sticking the ul into a p, but that didn't work. I eventually
stuck the ul into a blank div tag, and that fixed everything, but added
a bunch of other issues with wrapping around this other div tag of the
p elements following it.

Basically, what I want to do is have the ul work properly on it's own
without sticking them into a div, because that causes a lot of issues.
I can't just do clear: left or clear: all, because of that image div
located to the left of the text, as doing a clear: all clears that div
also, which isn't what I want to do.

Any recommendations? Maybe I'm missing something, but I've always hated
working with div layouts and lists.

To see this in action, you can go to http://www.miykyiv.com/join.php
and submit the form without entering any data. You will see an error
page with several errors listed in a ul tag.

Any help is greatly apprectiated!
Thanks,
Max


Hmm, I'll try to explain it, but some of the regulars here can probably
do a
better job. You have the list inside a <div>

<div class="webdeveloper-relative-positioned-element" style="position:
relative; float: none; margin-left: 20px;">

This div's container (I believe) is the <div id="main">. The div with
the
image is:

<div class="image webdeveloper-relative-positioned-element" style="width:
250px; float: left;">

So, the image div is floated left with a width of 250px - and is relative
to
the constraints of the main div. But the div with the ul is positioned
relative to the main div also. The margin-left is only 20px so the
bullets
are hidden. If you change the margin-left above to 300px you will see
your
bullet points.

What helped me in seeing this is using the outline feature of the Firefox
Web Developer extension and also the outline feature on IE's DevToolbar.

If I'm wrong in how I've explained this, please somebody correct me!

--

David

Hi David,

Thanks, you're exactly right. The issue is that those 20px are taken
from the left edge of the container ("main") div. My issue with using
300px for left-margin is that the 250px "image" div is dynamically
generated - meaning that that div can be 400px or 150px or however many
wide. Further, there can be one more than one "image" div in the "main"
div with different widths. Therefore, I am looking for a solution to
this that will not require to set the left-margin from the container
"main" div. The funny thing is that the p tag's margins are respected.
But the ul's aren't. I guess it's how lists are treated. Further, both
IE and Firefox displayed the same behaviour.

So: what I'm looking for is a way to change any element style (keeping
the actualy html structure unchanged - or changed minimally - chage the
"image" div to a span or some other tag maybe?) that would allow me to
have lists that are rendered "correctly" (in quotes because perhaps
this is the correct behaviour according to the spec, but not what I am
looking for).

Thanks again!
Max

It is interesting that FF shows the bullet points with your config while in
IE they are hidden. But to fix your problem -

1) Take the UL out of that div (<div class="image
webdeveloper-relative-positioned-element" style="width: 250px; float:
left;">). Does it really need to be in this block? If you do this, the
bullets now show in IE and FF, but in IE they touch the image.

2) I changed the LI style in your style.css to the following and it seems to
work. But I'm not sure how that will affect the rest of your site.

LI {
list-style-position: outside;
}

Does your generated content change the containing div for the image? IOW,
if your image changes width to 400px, will your inline for the div be
changed also?

I think many of the regulars here would encourage you to get away from the
pixel-perfect design you seem to be trying to create.

--

David

Sep 1 '06 #4
mno

David Woods wrote:
"mno" <mn****@gmail.comwrote in message
news:11*********************@74g2000cwt.googlegrou ps.com...

David Woods wrote:
"mno" <mn****@gmail.comwrote in message
news:11********************@i3g2000cwc.googlegroup s.com...
Hi all,

I have a problem that I've been stuck with for the last couple of days
that's driving me a bit more than crazy at this point. Sorry if this
message is not very clear.

I have a design that resembles the following:

<div id="main">
<div class="image">
<img ... />
<p>Some description</p>
</div>

<h1>text</h1>
<p>
...
</p>

<ul>
<li>item</li>
<li>item</li>
</ul>
</div>

The following is the CSS for this code:

#main {
padding: 0;
margin: 10px 20px 40px 20px;
}
H1{
font: 14pt Georgia, "Times New Roman", Times, serif;
color: #232915;
margin: 0px 20px 10px 20px;
}
P {
line-height: 130%;
color: #000000;
margin: 0px 100px 10px 20px;
}
DIV.image {
margin: 0px 20px 10px 0px;
padding-left: 0px;
font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
color: #9EAE71;
position: relative;
}
DIV.image IMG {
margin: 0;
padding: 0;
border: 1px solid #232915;
}
DIV.image P {
margin: 5px 2px 5px 2px;
font-style: italic;
color: #232915;
line-height: 120%;
}
UL, OL {
list-style-position: outside;
margin: 0px 100px 10px 30px;
padding: 0;
}
LI {
list-style-position: outside;
margin: 0px 0px 0px 0px;
padding-left: 10px;
}

My issue is that the list items seem to be located "behind" the image
div. I tried playing around with the float, position, margin and
padding properties, but could not get the divs to be aligned properly.
I tried sticking the ul into a p, but that didn't work. I eventually
stuck the ul into a blank div tag, and that fixed everything, but added
a bunch of other issues with wrapping around this other div tag of the
p elements following it.

Basically, what I want to do is have the ul work properly on it's own
without sticking them into a div, because that causes a lot of issues.
I can't just do clear: left or clear: all, because of that image div
located to the left of the text, as doing a clear: all clears that div
also, which isn't what I want to do.

Any recommendations? Maybe I'm missing something, but I've always hated
working with div layouts and lists.

To see this in action, you can go to http://www.miykyiv.com/join.php
and submit the form without entering any data. You will see an error
page with several errors listed in a ul tag.

Any help is greatly apprectiated!
Thanks,
Max

Hmm, I'll try to explain it, but some of the regulars here can probably
do a
better job. You have the list inside a <div>

<div class="webdeveloper-relative-positioned-element" style="position:
relative; float: none; margin-left: 20px;">

This div's container (I believe) is the <div id="main">. The div with
the
image is:

<div class="image webdeveloper-relative-positioned-element" style="width:
250px; float: left;">

So, the image div is floated left with a width of 250px - and is relative
to
the constraints of the main div. But the div with the ul is positioned
relative to the main div also. The margin-left is only 20px so the
bullets
are hidden. If you change the margin-left above to 300px you will see
your
bullet points.

What helped me in seeing this is using the outline feature of the Firefox
Web Developer extension and also the outline feature on IE's DevToolbar.

If I'm wrong in how I've explained this, please somebody correct me!

--

David
Hi David,

Thanks, you're exactly right. The issue is that those 20px are taken
from the left edge of the container ("main") div. My issue with using
300px for left-margin is that the 250px "image" div is dynamically
generated - meaning that that div can be 400px or 150px or however many
wide. Further, there can be one more than one "image" div in the "main"
div with different widths. Therefore, I am looking for a solution to
this that will not require to set the left-margin from the container
"main" div. The funny thing is that the p tag's margins are respected.
But the ul's aren't. I guess it's how lists are treated. Further, both
IE and Firefox displayed the same behaviour.

So: what I'm looking for is a way to change any element style (keeping
the actualy html structure unchanged - or changed minimally - chage the
"image" div to a span or some other tag maybe?) that would allow me to
have lists that are rendered "correctly" (in quotes because perhaps
this is the correct behaviour according to the spec, but not what I am
looking for).

Thanks again!
Max


It is interesting that FF shows the bullet points with your config while in
IE they are hidden. But to fix your problem -

1) Take the UL out of that div (<div class="image
webdeveloper-relative-positioned-element" style="width: 250px; float:
left;">). Does it really need to be in this block? If you do this, the
bullets now show in IE and FF, but in IE they touch the image.

2) I changed the LI style in your style.css to the following and it seems to
work. But I'm not sure how that will affect the rest of your site.

LI {
list-style-position: outside;
}

Does your generated content change the containing div for the image? IOW,
if your image changes width to 400px, will your inline for the div be
changed also?

I think many of the regulars here would encourage you to get away from the
pixel-perfect design you seem to be trying to create.

--

David
Hi David,

Sorry for a long reply. I will try your recommendations shortly and get
back here with the results. And yes, the code will generate with inline
css correctly.

To be honest, I am not really trying to create a design that is so
pixel-perfect. All I want to do is have one main div where the content
goes into which I can stick images with captions (that's why I put the
img into a div and added a p tag below it). Maybe there's a better way
to do it?

Best,
Max

Sep 3 '06 #5
mno

David Woods wrote:
"mno" <mn****@gmail.comwrote in message
news:11*********************@74g2000cwt.googlegrou ps.com...

David Woods wrote:
"mno" <mn****@gmail.comwrote in message
news:11********************@i3g2000cwc.googlegroup s.com...
Hi all,

I have a problem that I've been stuck with for the last couple of days
that's driving me a bit more than crazy at this point. Sorry if this
message is not very clear.

I have a design that resembles the following:

<div id="main">
<div class="image">
<img ... />
<p>Some description</p>
</div>

<h1>text</h1>
<p>
...
</p>

<ul>
<li>item</li>
<li>item</li>
</ul>
</div>

The following is the CSS for this code:

#main {
padding: 0;
margin: 10px 20px 40px 20px;
}
H1{
font: 14pt Georgia, "Times New Roman", Times, serif;
color: #232915;
margin: 0px 20px 10px 20px;
}
P {
line-height: 130%;
color: #000000;
margin: 0px 100px 10px 20px;
}
DIV.image {
margin: 0px 20px 10px 0px;
padding-left: 0px;
font: 11px Verdana, Geneva, Arial, Helvetica, sans-serif;
color: #9EAE71;
position: relative;
}
DIV.image IMG {
margin: 0;
padding: 0;
border: 1px solid #232915;
}
DIV.image P {
margin: 5px 2px 5px 2px;
font-style: italic;
color: #232915;
line-height: 120%;
}
UL, OL {
list-style-position: outside;
margin: 0px 100px 10px 30px;
padding: 0;
}
LI {
list-style-position: outside;
margin: 0px 0px 0px 0px;
padding-left: 10px;
}

My issue is that the list items seem to be located "behind" the image
div. I tried playing around with the float, position, margin and
padding properties, but could not get the divs to be aligned properly.
I tried sticking the ul into a p, but that didn't work. I eventually
stuck the ul into a blank div tag, and that fixed everything, but added
a bunch of other issues with wrapping around this other div tag of the
p elements following it.

Basically, what I want to do is have the ul work properly on it's own
without sticking them into a div, because that causes a lot of issues.
I can't just do clear: left or clear: all, because of that image div
located to the left of the text, as doing a clear: all clears that div
also, which isn't what I want to do.

Any recommendations? Maybe I'm missing something, but I've always hated
working with div layouts and lists.

To see this in action, you can go to http://www.miykyiv.com/join.php
and submit the form without entering any data. You will see an error
page with several errors listed in a ul tag.

Any help is greatly apprectiated!
Thanks,
Max

Hmm, I'll try to explain it, but some of the regulars here can probably
do a
better job. You have the list inside a <div>

<div class="webdeveloper-relative-positioned-element" style="position:
relative; float: none; margin-left: 20px;">

This div's container (I believe) is the <div id="main">. The div with
the
image is:

<div class="image webdeveloper-relative-positioned-element" style="width:
250px; float: left;">

So, the image div is floated left with a width of 250px - and is relative
to
the constraints of the main div. But the div with the ul is positioned
relative to the main div also. The margin-left is only 20px so the
bullets
are hidden. If you change the margin-left above to 300px you will see
your
bullet points.

What helped me in seeing this is using the outline feature of the Firefox
Web Developer extension and also the outline feature on IE's DevToolbar.

If I'm wrong in how I've explained this, please somebody correct me!

--

David
Hi David,

Thanks, you're exactly right. The issue is that those 20px are taken
from the left edge of the container ("main") div. My issue with using
300px for left-margin is that the 250px "image" div is dynamically
generated - meaning that that div can be 400px or 150px or however many
wide. Further, there can be one more than one "image" div in the "main"
div with different widths. Therefore, I am looking for a solution to
this that will not require to set the left-margin from the container
"main" div. The funny thing is that the p tag's margins are respected.
But the ul's aren't. I guess it's how lists are treated. Further, both
IE and Firefox displayed the same behaviour.

So: what I'm looking for is a way to change any element style (keeping
the actualy html structure unchanged - or changed minimally - chage the
"image" div to a span or some other tag maybe?) that would allow me to
have lists that are rendered "correctly" (in quotes because perhaps
this is the correct behaviour according to the spec, but not what I am
looking for).

Thanks again!
Max


It is interesting that FF shows the bullet points with your config while in
IE they are hidden. But to fix your problem -

1) Take the UL out of that div (<div class="image
webdeveloper-relative-positioned-element" style="width: 250px; float:
left;">). Does it really need to be in this block? If you do this, the
bullets now show in IE and FF, but in IE they touch the image.

2) I changed the LI style in your style.css to the following and it seems to
work. But I'm not sure how that will affect the rest of your site.

LI {
list-style-position: outside;
}

Does your generated content change the containing div for the image? IOW,
if your image changes width to 400px, will your inline for the div be
changed also?

I think many of the regulars here would encourage you to get away from the
pixel-perfect design you seem to be trying to create.

--

David
Hi David,

I tried your suggestion, but it doesn't make any difference.

Thanks,
Max

Sep 5 '06 #6
mno wrote:
[snipped 180 lines of quote]
Hi David,

I tried your suggestion, but it doesn't make any difference.
Is it really _necessary_ to quote all the previous stuff?
--
Johannes Koch
In te domine speravi; non confundar in aeternum.
(Te Deum, 4th cent.)
Sep 5 '06 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: puzzled | last post by:
I am trying to use css to control the indentation within items in a list. I would like something that looks like this: Text of a paragraph goes here, leading to the following list: * list...
12
by: Rick DeBay | last post by:
I'm trying to create a layout table, where the spacing between rows varies. I've tried using setting margin-top and border-top for the rows I wan't spaced down from the one above, and I've also...
1
by: Jim Moe | last post by:
Hello, I am (slowly) in the process of changing a table-based layout to CSS/div-based. One area that uses tables a lot is the main nav menu. I have discovered that tables have advantage: all...
4
by: fleemo17 | last post by:
Is there a way to tweak the spacing of lines of text (or leading) *specifically* in IE6? I've created a "Quick Search" box in my layout which renders pretty consistently in all the browsers I've...
12
by: Sebastien B. | last post by:
I'm wondering if it's at all possible to have spacing between a table's cells, and only between the cells, not between the outter cells and the table's border. See end of message for an example...
4
by: metoikos | last post by:
I've scoured the web (clumsily, I'm sure) for information on the difficulties I am having, checked my markup in validators, and had a friend with more CSS clue look over it, but I haven't had any...
10
by: phil-news-nospam | last post by:
I have a table with 3 columns in 1 row. I want to increase the spacing _between_ the columns (gutter) _without_ increasing the spacing between those columns and the table itself. Is there a way...
2
by: Ben | last post by:
I have some ordered lists, containing unordered lists. I want to double-space the "paragraphs", i.e. ordered lists. But not the the nested lists. I can't figure out how. Page is here:...
1
by: replyrpatil | last post by:
What I am trying to do: I need to print a compact access report (font 6 size) created using RTF2 program developed by Stephen Lebans to generate a TIF image of custom size (5.5 in x 2.0 in) ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.