473,394 Members | 1,932 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,394 software developers and data experts.

Lists with CSS

Posted this over in alt.html.css (no response) and
alt.internet.search-engines (those fine folks suggested I post it here) and
am wondering if someone here might be able to help.

I have Googled and come close (and browsed the recent topics here) but not
there yet, please see below.

Could someone please tell me how to make this
http://www.anrodscreen.com/plain-wea...h-proposed.php tabled list
into a list with CSS?

I have come part way, just can't get over the hump...
This close http://www.anrodscreen.com/completely%20css.php (the stuff in
white...)
Thank you,
--
Brent Atkerson
Anrod Screen Cylinder Co.
www.anrodscreen.com

Feb 27 '06 #1
6 1279
Brent Atkerson wrote:
Could someone please tell me how to make this
http://www.anrodscreen.com/plain-wea...h-proposed.php tabled
list into a list with CSS?


Why would you want to do that? It sure looks like tabular data to me,
thus suited for the table used.

Recommendations:
use <th> for the heading row
drop all the 'center' and <font..> stuff from the data rows,
and use CSS for that

The bold is hard to read. No need to assign a font size then.

Use <table class="weave">

..weave td {
text-align: center;
}

--
-bts
-Warning: I brake for lawn deer
Feb 27 '06 #2
"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote in message
news:Pf********************@bgtnsc05-news.ops.worldnet.att.net...
Brent Atkerson wrote:
Could someone please tell me how to make this
http://www.anrodscreen.com/plain-wea...h-proposed.php tabled
list into a list with CSS?


Why would you want to do that? It sure looks like tabular data to me,
thus suited for the table used.

Recommendations:
use <th> for the heading row
drop all the 'center' and <font..> stuff from the data rows,
and use CSS for that

The bold is hard to read. No need to assign a font size then.

Use <table class="weave">

.weave td {
text-align: center;
}

--
-bts
-Warning: I brake for lawn deer

Thank you bts, I will give it a go... Just thought I could do it with CSS
and not have to worry about the table markup

--
Brent Atkerson
Anrod Screen Cylinder Co.
www.anrodscreen.com

Feb 27 '06 #3
Brent Atkerson wrote:

Use <table class="weave">

.weave td { text-align: center; }


Thank you bts, I will give it a go... Just thought I could do it with CSS
and not have to worry about the table markup

You can. Set default styles for ".weave td" (font, centering, color,
margin, ...) and use explicit classes for special cases.
Oh! You mean not use a table at all? But it's tabular data...

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)
Feb 27 '06 #4

"Jim Moe" <jm***************@sohnen-moe.com> wrote in message
news:oP********************@giganews.com...
Brent Atkerson wrote:

Use <table class="weave">

.weave td { text-align: center; }


Thank you bts, I will give it a go... Just thought I could do it with
CSS
and not have to worry about the table markup

You can. Set default styles for ".weave td" (font, centering, color,
margin, ...) and use explicit classes for special cases.
Oh! You mean not use a table at all? But it's tabular data...

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


Correct, was thinking no table at all. Sorry I didn't mention that.

--
Brent Atkerson
Anrod Screen Cylinder Co.
www.anrodscreen.com
Feb 27 '06 #5
Brent Atkerson wrote:
Thank you bts, I will give it a go... Just thought I could do it with CSS
and not have to worry about the table markup


Naw, CSS would make it more complicated, and perhaps unreliable in some
browsers.

Further recommendations:

use a correct DOCTYPE. Yours is a combo of Transitional and Strict,
probably confusing the browsers.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

look into using CSS for the rest of the presentation, instead of the
tables holding textual content.

consider using that list for the "list" of links at the bottom of the
page, and style it to be horizontal. You can even make them look like
buttons if you want.

use relative pathing for those links instead of repeating the domain
name on each line/link.

--
-bts
-Warning: I brake for lawn deer
Feb 27 '06 #6
"Beauregard T. Shagnasty" <a.*********@example.invalid> wrote in message
news:3H******************@bgtnsc04-news.ops.worldnet.att.net...
Brent Atkerson wrote:
Thank you bts, I will give it a go... Just thought I could do it with
CSS
and not have to worry about the table markup


Naw, CSS would make it more complicated, and perhaps unreliable in some
browsers.

Further recommendations:

use a correct DOCTYPE. Yours is a combo of Transitional and Strict,
probably confusing the browsers.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">

look into using CSS for the rest of the presentation, instead of the
tables holding textual content.

consider using that list for the "list" of links at the bottom of the
page, and style it to be horizontal. You can even make them look like
buttons if you want.

use relative pathing for those links instead of repeating the domain
name on each line/link.

--
-bts
-Warning: I brake for lawn deer


Again, more thanks (and while researching my list issue I learned how to
make the links look like buttons if I wanted to..)
Nice catch on the doctype too, I will have to check my active pages since
this is a copy of an active page (so I can do testing on it).

--
Brent Atkerson
Anrod Screen Cylinder Co.
www.anrodscreen.com

Feb 27 '06 #7

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

Similar topics

9
by: Dave H | last post by:
Hello, I have a query regarding definition lists. Is it good practice semantically to use the dt and dd elements to mark up questions and answers in a frequently asked questions list, or FAQ? ...
41
by: Odd-R. | last post by:
I have to lists, A and B, that may, or may not be equal. If they are not identical, I want the output to be three new lists, X,Y and Z where X has all the elements that are in A, but not in B, and...
3
by: s_subbarayan | last post by:
Dear all, 1)In one of our implementation for an application we are supposed to collate two linked lists.The actual problem is like this: There are two singularly linked lists, the final output...
1
by: Simon Forman | last post by:
I've got a function that I'd like to improve. It takes a list of lists and a "target" element, and it returns the set of the items in the lists that appear either before or after the target...
17
by: Gal Diskin | last post by:
Hi, I am writing a code that needs to iterate over 3 lists at the same time, i.e something like this: for x1 in l1: for x2 in l2: for x3 in l3: print "do something with", x1, x2, x3 What I...
16
by: Michael M. | last post by:
How to find the longst element list of lists? I think, there should be an easier way then this: s1 = s2 = s3 = if len(s1) >= len(s2) and len(s1) >= len(s3): sx1=s1 ## s1 ist längster
51
by: Joerg Schoen | last post by:
Hi folks! Everyone knows how to sort arrays (e. g. quicksort, heapsort etc.) For linked lists, mergesort is the typical choice. While I was looking for a optimized implementation of mergesort...
0
by: Joeyeti | last post by:
Hi fellow VB knowers (I am but a learner still). I have a question for you which I struggle with. I need to convert nested Lists in MS WORD (whether numbered or bulleted or mixed) from their...
3
by: =?Utf-8?B?QWRhbSBN?= | last post by:
Hi all, What is the syntax for a method that accepts a list of generic lists? For example, I have a List that contains the following lists: List<Car> List<Boat> List<Plane>
3
by: Qbert16 | last post by:
Hi, I'm quite new to python and am looking for help with lists inside lists This is an example I'm trying to do. I have the following thesaurus set... thesaurus = , ...
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: 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
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
marktang
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,...
0
jinu1996
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...
0
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...

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.