Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / HTML, CSS, Scripts / CSS / February 2006



Tip: Looking for answers? Try searching our database.

Lists with CSS

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brent Atkerson - 27 Feb 2006 18:57 GMT
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-weave-wire-cloth-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,
Signature

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

Beauregard T. Shagnasty - 27 Feb 2006 19:18 GMT
> Could someone please tell me how to make this
> http://www.anrodscreen.com/plain-weave-wire-cloth-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;
}

Signature

  -bts
  -Warning: I brake for lawn deer

Brent Atkerson - 27 Feb 2006 19:31 GMT
>> Could someone please tell me how to make this
>> http://www.anrodscreen.com/plain-weave-wire-cloth-proposed.php tabled
[quoted text clipped - 15 lines]
>   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

Signature

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

Jim Moe - 27 Feb 2006 19:43 GMT
>> 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...

Signature

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

Brent Atkerson - 27 Feb 2006 19:45 GMT
>>> Use <table class="weave">
>>>
[quoted text clipped - 7 lines]
> margin, ...) and use explicit classes for special cases.
>  Oh! You mean not use a table at all? But it's tabular data...

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

Signature

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

Beauregard T. Shagnasty - 27 Feb 2006 19:47 GMT
> 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.

Signature

  -bts
  -Warning: I brake for lawn deer

Brent Atkerson - 27 Feb 2006 20:06 GMT
>> Thank you bts, I will give it a go...  Just thought I could do it with
>> CSS
[quoted text clipped - 20 lines]
>   use relative pathing for those links instead of repeating the domain
> name on each line/link.

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).

Signature

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

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.