PDA

View Full Version : can someone post...



kk.
13-11-2007, 09:51 PM
...a code or give me a link to a website where it tells you how to do tables on dreamweaver without a border.

for example, if i filled the top part of a table with blue and the bottom with red, itll leave a line in where they change (even with cell border width to zero)

And another thing that i need is to know how to put a shadow on a border like on the right hand side and the bottom.

ill just give an example: like the old habbo layout, curved corners, shadows ect

I dont know if that made any sense

Jamesy
13-11-2007, 09:53 PM
You don't want a line around the outside and you want to know how to add shadows to it...

Aren't shadows done with the graphics?

kk.
13-11-2007, 10:07 PM
i dont know how the shadows are done but what i mean is i dont want a line seperating the colours im trying to find an example


<table width="33%" height="248" border="0" cellpadding="0">
<tr>
<td bgcolor="#0033FF">&nbsp;</td>
</tr>
<tr>
<td bgcolor="#FF0000">&nbsp;</td>
</tr>
</table>
which gives me:
http://img443.imageshack.us/img443/749/tableoc4.jpg
but i dont want that gap in between

i still dont know how to do the shadows for tables...

can someone post a code that has rounded corners with shadows? i can work things out easier that way

lolwut
13-11-2007, 10:11 PM
Add border="0" onto your table tag anywhere.
Hope i helped ;)

kk.
13-11-2007, 10:15 PM
it is there...
<table width="33%" height="248" border="0" cellpadding="0">
ignore the cell padding i was just experimenting. im using dreamweaver 8 if that helps

chrisgocrazyH
14-11-2007, 05:30 AM
<table width="33%" height="248" border="0" cellpadding="0">
<tr>
<td bgcolor="#0033FF">&nbsp;</td>
<tr>
<td bgcolor="#FF0000">&nbsp;</td>
</tr>
</table>

try that?

Verrou
14-11-2007, 05:42 AM
Just did it in Dreamweaver 8 now and got this:


<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="116" bgcolor="#0033FF">&nbsp;</td>
</tr>
<tr>
<td height="452" bgcolor="#FF0000">&nbsp;</td>
</tr>
</table>

No gap?

craigg.
14-11-2007, 01:41 PM
1) cellspacing="0"
2) The shaddow, you could probably do that using JS, but it would be just as efficient to use a image.

DeejayMachoo$
14-11-2007, 02:17 PM
1) cellspacing="0"


Thats right

kk.
15-11-2007, 04:44 PM
Just did it in Dreamweaver 8 now and got this:


<table width="200" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="116" bgcolor="#0033FF">&nbsp;</td>
</tr>
<tr>
<td height="452" bgcolor="#FF0000">&nbsp;</td>
</tr>
</table>

No gap?

This is what im looking for!! thanks +rep


1) cellspacing="0"
2) The shaddow, you could probably do that using JS, but it would be just as efficient to use a image.
could you possibly create a JS and post the code or show me how to do the border?!

(this kinda borderlines with asking for stuff doesnt it lol)

RedCrisps
15-11-2007, 05:14 PM
<style>
.top {
background-color:0033FF;
}
.bottom {
background-color:FF0000;
}
</style>

<div class="top">&nbsp;</div>
<div class="bottom">&nbsp;</div>


Try that :]

kk.
15-11-2007, 05:28 PM
thanks for that redcrisps but i think its easirer for me to use tables. makes more sense to me lol. do you know how to do table shadows

iTechnical
15-11-2007, 05:47 PM
Red, you'd need to align those classes to a main div.
Idiot.

You'll need JS

kk.
15-11-2007, 06:00 PM
lol that was a bit harsh but anyway can anone help em with a JS?

Blob
15-11-2007, 10:09 PM
http://www.google.co.uk/search?q=js+drop+shadow&sourceid=navclient-ff&ie=UTF-8&rls=GGGL,GGGL:2006-33,GGGL:en

Google it.

Want to hide these adverts? Register an account for free!