ok i know this isnt really computer 'science' but i need help with coding ...im suppose to put a yellow dotted boarder around this how do i do that i have tried everything!
Still Need Help?
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (anonymous):
@Opcode @dumbsearch2 @ParthKohli
OpenStudy (dumbsearch2):
By adding this little style snippet and specifying the CSS, you can do something like this:
<div>
<table border="2" width="500px" height="150" style="border:2px dotted yellow;">
<tr>
<td BGCOLOR="#0000FF" width="25%"> </td>
<td colspan="3"> </td>
<td BGCOLOR="red" width="25%"> </td>
</tr>
<tr>
<td rowspan="3"> </td>
<td BGCOLOR="#0000FF"
<td> </td>
<td> </td>
<td BGCOLOR="red"
<td> </td>
<td rowspan="3"> </td>
</tr>
<tr>
<td height="25%"> </td>
<td BGCOLOR="#330066" height="25%"> </td>
<td height="25%"> </td>
</tr>
<tr>
I put the border to 2px, though you can change it to whateva you want. :)
cheers
OpenStudy (anonymous):
oh! so i needed tp put style="border:2px dotted yellow;">
i was only putting border:2px dotted yellow =p thanks so much i was so stuck!
OpenStudy (anonymous):
ok wait i found a slight prob look:
<div>
<table style="border:5px dotted yellow;" width="500px" height="150">
<tr>
<td BGCOLOR="#0000FF" width="25%"> </td>
<td colspan="3"> </td>
<td BGCOLOR="red" width="25%"> </td>
</tr>
<tr>
<td rowspan="3"> </td>
<td BGCOLOR="#0000FF"
<td> </td>
<td> </td>
<td BGCOLOR="red"
<td> </td>
<td rowspan="3"> </td>
</tr>
<tr>
<td height="25%"> </td>
<td BGCOLOR="#330066" height="25%"> </td>
<td height="25%"> </td>
</tr>
<tr>
<td BGCOLOR="red"
<td> </td>
<td> </td>
<td BGCOLOR="#0000FF"
<td> </td>
</tr>
<tr>
<td BGCOLOR="red" width="25%"> </td>
<td colspan="3"> </td>
<td BGCOLOR="#0000FF" width="25%"> </td>
</tr>
</table>
</div>
</body></html>
once i put that i loose the seperating lines
OpenStudy (anonymous):
wow this is way diffrent i just started studing this srry..........
Still Need Help?
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (anonymous):
haha thats ok lol
OpenStudy (dumbsearch2):
haha
you copied the code twice
just
<div>
<table border="2" width="500px" height="150">
<tr>
<td BGCOLOR="#0000FF" width="25%"> </td>
<td colspan="3"> </td>
<td BGCOLOR="red" width="25%"> </td>
</tr>
<tr>
<td rowspan="3"> </td>
<td BGCOLOR="#0000FF"
<td> </td>
<td> </td>
<td BGCOLOR="red"
<td> </td>
<td rowspan="3"> </td>
</tr>
<tr>
<td height="25%"> </td>
<td BGCOLOR="#330066" height="25%"> </td>
<td height="25%"> </td>
</tr>
</table>
</div>
should cut it
why did you copy the whole code twice ?
OpenStudy (anonymous):
its suppose to look like this =p
OpenStudy (dumbsearch2):
yeah
I fixed it
OpenStudy (anonymous):
ok let me see....
Still Need Help?
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (anonymous):
no that didnt work...i think i need the whole code if you look closeley its not duplicated
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (poopsiedoodle):
I can see if I can figure this out.
OpenStudy (anonymous):
thanks!
OpenStudy (dumbsearch2):
I'm also totally confused
<div>
<table border="2" width="500px" height="150">
<table style="border:5px dotted yellow;" width="500px" height="150">
<tr>
<td BGCOLOR="#0000FF" width="25%"> </td>
<td colspan="3"> </td>
<td BGCOLOR="red" width="25%"> </td>
</tr>
<tr>
<td rowspan="3"> </td>
<td BGCOLOR="#0000FF"
<td> </td>
<td> </td>
<td BGCOLOR="red"
<td> </td>
<td rowspan="3"> </td>
</tr>
<tr>
<td height="25%"> </td>
<td BGCOLOR="#330066" height="25%"> </td>
<td height="25%"> </td>
</tr>
<tr>
<td BGCOLOR="red"
<td> </td>
<td> </td>
<td BGCOLOR="#0000FF"
<td> </td>
</tr>
<tr>
<td BGCOLOR="red" width="25%"> </td>
<td colspan="3"> </td>
<td BGCOLOR="#0000FF" width="25%"> </td>
</tr>
</table>
</div>
</body></html>
Why are "<td BGCOLOR="red"" left without a closing ">"??
Any reason ?
and
<td BGCOLOR="#0000FF"
they're syntax errors everywhere
and if you want borders, try attaching style="border:1px solid black;border-style: groove;" to whichever element you want a border on.
OpenStudy (anonymous):
i have a border but the lines seperating the cells arent there..
OpenStudy (dumbsearch2):
You don't have an inventional border for each cell.
Still Need Help?
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (anonymous):
i know how do get one like this thats how its suppose to look why doesnt it look like that?
OpenStudy (anonymous):
@dumbsearch2 ?
OpenStudy (anonymous):
btw this is definately computer science. The very definition of it.
OpenStudy (anonymous):
why wont anyone help me understand where i went wrong?
OpenStudy (anonymous):
maybe because no one wants to read it. ur picture is too cute. or maybe it's too busy, and complex. You should probably lay your code and problem out in a more concise form for people to understand. I know I personally didn't read it because it seems like you didn't research anything, and just pasted some code and expected someone else to figure it out for you. my 2c
Still Need Help?
Join the QuestionCove community and study together with friends!
Sign Up
OpenStudy (dumbsearch2):
do style="border:1px solid black;border-style: groove;" on each cell
you aren't trying to understand what I'm saying!!