CSS Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignCSS Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 28th, 2004, 03:31 PM
mis2o mis2o is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Slovakia
Posts: 41 mis2o User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 20 m 23 sec
Reputation Power: 5
Question cellspacing "override" with CSS?

hi, i'm designing my page and i would like my tables to look similarily as Dev Shed Forums table in the "main menu" (the starting page).

i cannot find out how this is done: the first table row uses cellspacing, the second row doesn't use it and the third row uses it again.
(where 1st row is where "Forum,Last Post,Threads,Posts" is written, 2nd with "Programming Languages" and 3rd with "PHP Development")

well, maybe it's not done this way at all (i tried to decode the HTML code but it was too complicated for me), but i would like to ask if it can be done somehow this way (eg: to define a table with cellspacing and then override this setting in one specific row with some CSS rule) or i have to use more tables to achieve this effect?

it came in to my mind when i saw something similar in the Dev Shed Forum's HTML code:
Code:
<td style="padding: 0px;">


is there something similar which influences cellspacing?
thank you
__________________
miso

Reply With Quote
  #2  
Old June 28th, 2004, 04:59 PM
olaf's Avatar
olaf olaf is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Netherlands
Posts: 310 olaf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 16 m 13 sec
Reputation Power: 5
check the css part in the top...
__________________
Greetz...
Olaf

Web Development Blog|...some free php classes...

Reply With Quote
  #3  
Old June 28th, 2004, 07:48 PM
1beb's Avatar
1beb 1beb is offline
This tagline is not long enoug
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2003
Location: Toronto, ON Canada! I AM CANADIAN
Posts: 861 1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level)1beb User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 2 h 32 m 12 sec
Reputation Power: 10
Send a message via ICQ to 1beb Send a message via AIM to 1beb Send a message via MSN to 1beb Send a message via Yahoo to 1beb
http://www.w3.org/TR/REC-CSS2/tables.html <-- that is the actual standard.

Secondly, here is a link to a plain english explanation

http://markl.f2o.org/tutorial/table...ced_Tables.html

Reply With Quote
  #4  
Old June 29th, 2004, 04:26 AM
mis2o mis2o is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: Slovakia
Posts: 41 mis2o User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 20 m 23 sec
Reputation Power: 5
finally, i helped myself with this:
Code:
<th align="left" colspan="3" style="background-color: #006699;">Some text</th>

to display one continuous row in a table which normally uses cellspacing. <tr colspan="3"> didn't work for some reason.

Reply With Quote
  #5  
Old June 29th, 2004, 04:31 AM
olaf's Avatar
olaf olaf is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Location: Netherlands
Posts: 310 olaf User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 5 h 16 m 13 sec
Reputation Power: 5
cell spacing is only the white border(part) and you talk about the colspan attribute. These are two totally different things.

If you are new to HTML - tables then check your design first with border=1. Otherwise you can't see unclodes tags.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > cellspacing "override" with CSS?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT