PDA

View Full Version : HTML Coding...


P90PTS
30th November 2009, 20:58
Anyone any good?

Need help with the following code:

<div style="color:white">

<div>

<table border="3" cellspacing="10">

<tr>
<td>Wentworth Miller </td>
<td>Michael Scofield</td>
</tr>
<tr>
<td>Dominic Purcell</td>
<td>Lincoln Burrows</td>
</tr>
<tr>
<td>Marshall Allman </td>
<td> Lincoln "L. J." Burrows Jr.</td>
</tr>
<tr>
<td>Amaury Nolasco </td>
<td>Fernando Sucre</td>
</tr>
<tr>
<td>Robert Knepper </td>
<td>Theodore "T-Bag" Bagwell</td>
</tr>
<tr>
<td>Wade Williams </td>
<td> Brad Bellick</td>
</tr>
<tr>
<td>Sarah Wayne Callies </td>
<td>Sara Tancredi </td>
</tr>
<tr>
<td>Paul Adelstein </td>
<td>Paul Kellerman</td>
</tr>
<tr>
<td>William Fichtner </td>
<td>Alexander Mahone</td>
</tr>

</div>

</table>

It's just a basic webpage for a bit of uni work... help would be greatly appreciated! :y:

ShockZy
30th November 2009, 20:59
what you mean you need help with it, like what?

P90PTS
30th November 2009, 21:04
Yeah shit forgot about that part haha..

Need the font within the table to be white as the background is black...

Need it to look like this : http://i809.photobucket.com/albums/zz11/bigval3/Screenshot2009-11-30at210728.png

But it looks like this... http://i809.photobucket.com/albums/zz11/bigval3/Screenshot2009-11-30at210645.png

Been at it for hours and my brain is Fried!

P90PTS
30th November 2009, 21:06
Infact... its this that is the problem...

body
{

background-image:url('background.jpg');
background-repeatno-repeat;
background-attatchment:fixed:
background-position:top corner;

}
body {background-colour: white};

a:link {color: white; text-decoration: none}
a:visited {color: white; text-decoration: none}
a:hover {color:red; text-decoration: none}
a:active {color: white; text-decoration: none}

why isnt it showing my font within the table white?

P90PTS
30th November 2009, 21:09
Got it now.. Im a genius haha

/Close.

Alex
30th November 2009, 21:30
btw, You cant close tags while others are still open within it.

Eg, <div><table></div></table>

Also, as :link, :hover and :active have the same css you can comma delim them
a:link, a:hover, a:active { }

Rogue_Shadow
30th November 2009, 21:37
its funny i understand this...I cant help though
Im just amazed no one else from SAXP has attempted a joke or a "WTF" post
:D

P90PTS
30th November 2009, 21:50
btw, You cant close tags while others are still open within it.

Eg, <div><table></div></table>

Also, as :link, :hover and :active have the same css you can comma delim them
a:link, a:hover, a:active { }

Yeah i noticed that once i passed the code thro a program i aquired in uni...

ah right, cheers mate will remeber that for the final copy ;)

wilsh81
30th November 2009, 21:50
meant to put WTF in there to lol

Craddock
30th November 2009, 21:54
Ew, Tables.

P90PTS
30th November 2009, 21:55
Yeah i know, but its uni coursework and the lecturer wants them...

Craddock
1st December 2009, 21:56
Lectures a retard and living in 2001 :)

b0t13
7th December 2009, 21:04
use dreamweaver and really impress him with moving objects and cheesey flashing colours ;)

benJee_VTR
7th December 2009, 21:12
Dreamweaver is awesome, i got suspended from school thanks to that software. Well... I say thanks to the software..more down to me using it inappropriately.

I remember using HTML coding, in IT at school, but i've more or less forgotten it all now :(

Brooksy
9th December 2009, 01:05
use style tags so much easier for quick one off pages. If its just that 1 page you want to create rather than a site.
i.e style="color:#ffffff;" inbed that in the table like this <table style="color:#ffffff;" ></table>
<td style="color:#ffffff;" ></td>

table is only good for tables they say ;) i.e displaying data in systematic order. i.e shopping baskets. apart from that div's are the way forward and better for seo

Tex0gen
22nd December 2009, 15:34
Sorry... Since when did dreamweaver become "awesome"?
Unless your using the coding feature and then previewing code, instead of using design mode.. its ok.. but other than that, it adds in naff bits you dont need. Code is messy.

Yuck.

benJee_VTR
23rd December 2009, 19:35
Sorry... Since when did dreamweaver become "awesome"?
Unless your using the coding feature and then previewing code, instead of using design mode.. its ok.. but other than that, it adds in naff bits you dont need. Code is messy.

Yuck.

What's up your arse?
It was awesome when we used it in year 7 (I'm now 20) and it beat writing html code when you can just drag and drop pictures and files onto the page. Im only talking basic web pages, not complex stuff.

:y:

Brooksy
24th December 2009, 00:13
Dreamweaver is an all in one package. it's more visual to help out graphic designers to school kids. but it's a better well made program than any other out there in terms of cross-platform ability. i.e support is widely known.
Unless your a developer then dream is your first step. I hardly use it now, as I read code all the time i don't need or can't use the preview option because i have to work with javascript, asp and .net framework coding. css and html are a small part now. but are the fundamental basics and the best to start off with.