Thierry Koblentz wrote:
Before you use a table, check this link:
http://www.tjkdesign.com/articles/make_an_html_list_look_like_a_table.asp
Ignore the script solution and look at the CSS rules in there.
---
Regards,
Thierry | www.TJKDesign.com
Done that Thierry, thank you. Works fine!
Has anyone got a (simple) workaround for the fact that I want to specify
the width of each li in an inline list? (which is not allowed).
I'm using the simple menu:
div#menu {
font : 13px Verdana, Arial, sans-serif;
text-align : left;
color: #333;
}
div#menu li{
On 20 May 2007, at 10:02 PM, Designer wrote:
div#menu li{
width : 250px;
display : inline;
list-style-type : none;
}
snip
and, of course, the 'width : 250px' is just ignored. I've tried
setting a width on the a but that doesn't work either.
MUST I use a table?
On 20 May 2007, at 10:02 PM, Designer wrote:
Has anyone got a (simple) workaround for the fact that I want to
specify the width of each li in an inline list? (which is not
allowed).
Sorry, previous answer was incomplete.
Not allowed? By whom/what?
Float the lis left, give each one an id
On May 20, 2007, at 9:02 PM, Designer wrote:
Has anyone got a (simple) workaround for the fact that I want to
specify the width of each li in an inline list? (which is not
allowed).
I'm using the simple menu:
div#menu {
font : 13px Verdana, Arial, sans-serif;
text-align
Hi,
Try,
div#menu li{
display : block;
float: left;
width : 250px;
list-style-type : none;
}
On Sun, May 20, 2007 1:02 pm, Designer wrote:
Has anyone got a (simple) workaround for the fact that I want to specify
the width of each li in an inline list? (which
Stuart Foulstone wrote:
Hi,
Try,
div#menu li{
display : block;
float: left;
width : 250px;
list-style-type : none;
}
On Sun, May 20, 2007 1:02 pm, Designer wrote:
Has anyone got a (simple) workaround for the fact that I want to specify
the width of each li in
and, of course, the 'width : 250px' is just ignored. I've tried
setting
a width on the a but that doesn't work either.
MUST I use a table?
Before you use a table, check this link:
http://www.tjkdesign.com/articles/make_an_html_list_look_like_a_table.asp
Ignore the script solution and
you can try either inline-block, or instead of inline, float:left.
This is typically the solution I usually end up using.
On 20/05/2007, at 10:02 PM, Designer wrote:
Has anyone got a (simple) workaround for the fact that I want to
specify the width of each li in an inline list? (which is