Pages: [1]   Go Down
  Print  
Author Topic: Coding help...yet again  (Read 83 times)
0 Members and 2 Guests are viewing this topic.
digidix
Business Class
From a glass
****

Good Guy/Gal Points. 20
Offline Offline

Posts: 793



WWW
« on: February 08, 2012, 01:57:42 PM »

I have tried to make this work, yet for some reasons it won't

Using Dreamweaver, yes, I am a noob. On the split (non live preview) it works, yet when selecting "live preview" it doesn't and neither in browsers scratchhead The reason for the CSS inside the document is to make sure everything works first before using a separate file..

I am trying to design my stupid friggin website....grrrr
Code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Untitled Document</title>

<style>
body {
width: 900px;
margin-left:auto;
margin-right:auto;
}
table {
border: #000 thin 1px;
}
/*tr {
border: #06C thin 1px;
}
*/
/*td {
width: 80px;
border:#F00 thin 1px;
}
*/
</style>
</head>

<body>

<div id="imageTabs">
<table>
<tr>
<td>Insert_Image1_Url_Here</td>
<td>Insert_Image2_Url_Here</td>
<td>Insert_Image3_Url_Here</td>
<td>Insert_Image4_Url_Here</td>
</tr>
<tr>
<td>Insert_Image1_Caption_Here </td>
<td>Insert_Image2_Caption_Here </td>
<td>Insert_Image3_Caption_Here </td>
<td>Insert_Image4_Caption_Here </td>
</tr>
<tr>
</table>
</div>
</body>
</html>

Logged
corroded
Humbug Monkee
Pub regular
*******

Good Guy/Gal Points. 73
Offline Offline

Posts: 3917


Shop Smart, Shop S-Mart.


« Reply #1 on: February 08, 2012, 03:45:07 PM »

Thin isn't a valid CSS border style. Try solid.

It's colour, style, thickness.

If I uncomment td, the boxes go red.
Logged
digidix
Business Class
From a glass
****

Good Guy/Gal Points. 20
Offline Offline

Posts: 793



WWW
« Reply #2 on: February 08, 2012, 04:39:54 PM »

I seriously must stop making noob mistake  Tongue Thanks
Logged
Wooster
Wall Eyed Wanker
Administrator
Alcoholic
*

Good Guy/Gal Points. -518
Offline Offline

Posts: 5554


'An how faust kin it ging?'


« Reply #3 on: February 08, 2012, 04:42:56 PM »

It might as well be written in Hieroglyphics as far as I'm concerned.  biggrin
Logged

corroded
Humbug Monkee
Pub regular
*******

Good Guy/Gal Points. 73
Offline Offline

Posts: 3917


Shop Smart, Shop S-Mart.


« Reply #4 on: February 08, 2012, 05:17:36 PM »

I've started looking at making my own ROMs in Android recently.

That shit will make your mind go fuzzy.
Logged
digidix
Business Class
From a glass
****

Good Guy/Gal Points. 20
Offline Offline

Posts: 793



WWW
« Reply #5 on: February 08, 2012, 05:33:42 PM »

It might as well be written in Hieroglyphics as far as I'm concerned.  biggrin

That's the noob in me, I have done better with php laugh
Logged
corroded
Humbug Monkee
Pub regular
*******

Good Guy/Gal Points. 73
Offline Offline

Posts: 3917


Shop Smart, Shop S-Mart.


« Reply #6 on: February 08, 2012, 05:43:45 PM »

HTML is a piece of piss, it really is.

Learn it's few minor rules about tagging pairs, and the orders things go in to create valid syntax.

The fun begins when you want to do cross browsers CSS, I'm fortunate though in that I've been doing the stuff for ten years now and know pretty much all the redonkulous stuff it will do.

Still, you're lucky you don't have to do the box model hack any more...  that was a very ugly hack to get round a really stupid problem invented by Microsoft.

I don't even code for IE6 any more, they shouldn't be using a 10 year old browser...

-edit-

Ice Cream Sandwich does not compile fast... at all. Seriously, it's been going 45 minutes already and it's not even close.
Logged
digidix
Business Class
From a glass
****

Good Guy/Gal Points. 20
Offline Offline

Posts: 793



WWW
« Reply #7 on: February 08, 2012, 06:09:32 PM »

I have noticed that there are so many different platforms to deal with when CSS comes into play, and it makes me steam, lol
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: