The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Help with simple table problem
trackback
post Apr 14 2009, 08:02 PM
Post #1





Group: Members
Posts: 3
Joined: 14-April 09
Member No.: 8,321



http://tinyurl.com/dyjfmf

i must be real dumb or a noob or both.

i just want the bgcolor on the first col to stop when the words stop so i was thinking i might have to just make another row or something else but i've been trying to figure it out for a good hour. thanks
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 14 2009, 08:10 PM
Post #2


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,733
Joined: 9-August 06
Member No.: 6



Wrap the text in a DIV and use CSS to apply the background color to that rather than to the TD.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
trackback
post Apr 14 2009, 08:19 PM
Post #3





Group: Members
Posts: 3
Joined: 14-April 09
Member No.: 8,321



QUOTE(pandy @ Apr 14 2009, 08:10 PM) *

Wrap the text in a DIV and use CSS to apply the background color to that rather than to the TD.



Thank you , but either that didn't work or you didn't explain it well enough. plus i already have divs on the page i think that might just mess them up wouldn't it? thanks, please any suggestions with the table, i was trying to mess around with the colspan and rowspan tags but couldn't seem to figure it out. anyone? thank you.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 14 2009, 08:46 PM
Post #4


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,733
Joined: 9-August 06
Member No.: 6



CODE
i already have divs on the page i think that might just mess them up wouldn't it?

No, it won't. Put the DIV inside the TD and the text inside the DIV. Maybe you didn't remove the background color from the TD?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
trackback
post Apr 14 2009, 10:52 PM
Post #5





Group: Members
Posts: 3
Joined: 14-April 09
Member No.: 8,321



oh i got it now, div STYLE equals background color #xxxxx not just div

thanks
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Apr 15 2009, 08:33 AM
Post #6


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,733
Joined: 9-August 06
Member No.: 6



Yeah, as I said, use CSS. wink.gif
http://htmlhelp.com/reference/css/
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 27th April 2024 - 10:52 AM