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 July 11th, 2003, 11:52 AM
ramez ramez is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 61 ramez User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m
Reputation Power: 6
how to use class in css

hello guys
i put this code in my page
PHP Code:
<head >

<
style>
  <!--
td.td1
{
    
background-imageurl(../../image/Uinfor_bg2.gif);
        
widthauto;
                
text-aligncenter;
    }
td.td2
{
    
background-imageurl(../../image/Uinfor_bg.gif);
        
widthauto;
                
text-aligncenter;
    }
.
TDA
{
    
background-imageurl(../../image/Cbg2.gif);
        
width20px;
        
text-aligncenter;
    }
TD.TDB
{
    
background-imageurl(../../image/Cbg.gif);
    
width20px;
    
text-aligncenter;
    }


    -->

</
style>
  <
title>My site</title>
</
head


and when i use it .... it dosnt work.....

how can i use it
i try to do this
PHP Code:
<body>


<
tr vlaign='top'><td class='TDB'></td><td width='*'>
<
table width='100%' vlaign='top'>
<
tr vlaign='top' width='100%'><td align='center'><a href='index.php?id=1'>a1</a></td>
<
td align='center'><a href='index.php?id=8'>a2</a></td>
<
td align='center'><a href='index.php?id=9'>a3</a></td>

</
tr>
<
tr width='100%'>
<
td align='center'><a href='index.php?id=10'>b1</a></td>
<
td align='center'><a href='index.php?id=11'>b2</a></td>
</
tr>
</
table>
</
td>
<
td class="TDA"></td></tr>
<
tr vlaign='top'><td ><img border='0' src=image/RDC.gif></td><td class='td1'></td><td ><img border='0' src=image/LDC.gif></td></tr></table><br>


</
body

Reply With Quote
  #2  
Old July 11th, 2003, 11:57 AM
ramez ramez is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 61 ramez User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m
Reputation Power: 6
i found that the problem was in the background-image

how can i load an background image in each <td>

Reply With Quote
  #3  
Old July 11th, 2003, 12:00 PM
ramez ramez is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 61 ramez User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 6 m
Reputation Power: 6
hy guys its work there some mistak in the image url

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignCSS Help > how to use class in 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