Webforumz's RSS FeedRSS Webforumz RegistrationRegister Contact Webforumz StaffContact

table cells

This is a discussion on "table cells" within the Web Page Design section. This forum, and the thread "table cells are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Apr 7th, 2004, 16:47
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
table cells

when you have a list of links, each one in a table cell, with mouse roll overs in CSS, a:hover type stuff, how do you get the <a> link to apply to the whole table cell and not just the writing? not sure whether this is html or css related...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old Apr 7th, 2004, 18:40
Reputable Member
Join Date: Aug 2003
Location: United Kingdom
Posts: 341
Thanks: 0
Thanked 0 Times in 0 Posts
give the table a class or ID then use CSS like:

#linkstable a { display: block }
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Apr 8th, 2004, 12:39
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
i dont understand

heres my html code:

Code: Select all
<table width="95%"><tr>

<td height="20" onmouseover="change('home','menuover')" onmouseout="change('home','menu')" id="home" class="menu">

<a href="index.html" class="amenu">

Home

</a>

</td></tr></table>
and this is the css code:

Code: Select all
.menu {

color:#FFFFFF;
border:2px solid;
border-color: #c0c0f0 #404090 #404090 #c0c0f0;
background-color:#839DCE

}

.menuover {

color:#FFFFFF;
border:2px solid;
border-color: #c0c0f0 #404090 #404090 #c0c0f0;

}
could you please clarify?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Apr 15th, 2004, 16:56
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
still havent managed to get this to work... anyone help?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
table, cells

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Get value from specific cells yuenli JavaScript Forum 0 Jun 27th, 2007 10:12
onMouseOut happening also between cells clintxp JavaScript Forum 3 Mar 28th, 2007 15:30
Table Cells magiccupcake Web Page Design 5 Jan 23rd, 2007 02:07
Strange gaps in table cells Paula Web Page Design 2 Oct 2nd, 2006 16:44
Table help with borders of cells... andrewsco Web Page Design 2 Jun 21st, 2006 23:10


All times are GMT. The time now is 19:34.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8