[SOLVED] Putting CSS with an HTML Table.

This is a discussion on "[SOLVED] Putting CSS with an HTML Table." within the Web Page Design section. This forum, and the thread "[SOLVED] Putting CSS with an HTML Table. 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




Reply
 
LinkBack Thread Tools
  #1  
Old Nov 1st, 2007, 17:52
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 19
Posts: 232
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
[SOLVED] Putting CSS with an HTML Table.

Hey guys,

I told myself i waas not going to ask, but I cannot get this to work. I've tried messing around with it and everything.
Anyhow,

I'm trying to style the table and things in it and the CSS I have used is...
HTML: Select all
#downloadbkground {
 background-color: #FFFFFF;
 color: #47698D;
 font-size: 8px;
 font-weight: bold;
 text-align: left;
} 
.dlbkground {
 background-color: #333399;
 font-family: Tahoma, Ariel, sans-serif;
 font-size: 10px;
 font-weight: bold;
 color: #FFFFFF;
 text-align: left;
}
td.dltopic {
 width: 100%;
 
}
td.dlimage {
 width: 100%;
 
}
And the Page HTML is...

HTML: Select all
<div style="text-align: center">
<div id="downloadbkground">
<table class="topic" border="5" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="dlbkground">
<p>TOPIC GOES HERE</p>
</td>
</tr>
<tr>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="dltopic" valign="top" style="width: 12%">
<p>Description:</p>
</td>
<td class="dltopic"></td>
<td class="dlimage">
<img src="http://www.newbreedjesusfreaks.com/images/download.png" alt="Download"></td>
</tr>
<tr>
<td class="dltopic" valign="top" style="width: 12%">
<p>Version:</p>
</td>
<td class="dltopic">&nbsp;</td>
</tr>
<tr>
<td class="dltopic" valign="top" style="width: 12%; height: 19px;">
<p>File Size:</p>
</td>
<td class="dltopic" style="height: 19px"></td>
</tr>
<tr>
<td class="dltopic" valign="top" style="width: 12%">
<p>Added:</p>
</td>
<td class="dltopic">&nbsp;</td>
</tr>
</table>
</tr>
</table>
</div>
</div>
I may have made a simple mistake but I haven't found it yet. If anyone can help me or point me in doing something better it's very much appreciated.

To see this in action CLICK HERE.
Last Blog Entry: My blog? (Oct 18th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Nov 1st, 2007, 18:32
Most Reputable Member
Join Date: May 2007
Location: UK
Age: 27
Posts: 1,111
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Putting CSS with an HTML Table.

Could you describe how it is not working? What's wrong?

You might want to validate your CSS. You have two errors.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Nov 1st, 2007, 18:34
Marc's Avatar
Staff Manager

SuperMember
Join Date: Apr 2007
Location: Scotland, UK
Posts: 1,797
Thanks: 0
Thanked 17 Times in 17 Posts
Re: Putting CSS with an HTML Table.

Same as Mike... I am looking at it in Firefox, and don't see any problems!
__________________
Marc
Staff Manager - Webforumz.com


Want to be a moderator? PM me.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Nov 2nd, 2007, 04:39
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 19
Posts: 232
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Putting CSS with an HTML Table.

Yea the problem was me. (Like always) I had some things backwards, lol...

Thanks for the help in looking on your end.

*Thread Solved*
Last Blog Entry: My blog? (Oct 18th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Nov 2nd, 2007, 05:02
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: [SOLVED] Putting CSS with an HTML Table.

Same old mcdanielnc
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Nov 2nd, 2007, 05:06
mcdanielnc89's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Missouri
Age: 19
Posts: 232
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: [SOLVED] Putting CSS with an HTML Table.

lol. i am now trying to get a piece of table to go to the right. it has an image in it but no luck . haha. i will figure it out soon. haha.
Last Blog Entry: My blog? (Oct 18th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Nov 2nd, 2007, 05:13
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,612
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: [SOLVED] Putting CSS with an HTML Table.

You might try creating your table in a WYSIWYG application (such as Frontpage or Expression Web) to see the real time of how your table layout looks like before putting any image or stuff inside them

I think you have some missing <tr> <td> somewhere there!
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

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
putting a forum into a table cell? GeekyBabe PHP Forum 9 Jan 30th, 2008 09:45
Need help in clone html table bryanpung JavaScript Forum 1 Jun 15th, 2007 14:12
html table design help antony Web Page Design 6 Mar 12th, 2007 16:32
Putting css in an html page. masonbarge Web Page Design 27 Feb 7th, 2007 22:28
Putting a scroll bar in a table in dreamweaver Diablo Web Page Design 6 Jan 16th, 2007 19:16


All times are GMT. The time now is 18:11.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42