Topic: Holy head smacking table bg images batman... I suck at this (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=21607" title="Pages that link to Topic: Holy head smacking table bg images batman... I suck at this (Page 1 of 1)" rel="nofollow" >Topic: Holy head smacking table bg images batman... I suck at this <span class="small">(Page 1 of 1)</span>\

 
UnknownComic
Paranoid (IV) Inmate

From: Los Angeles
Insane since: Nov 2003

posted posted 04-30-2004 21:39

Anyone know a quick and dirty <table background="fooyoo.img" height="600"> css inline or external equivalent?

height

&

background

Are no longer valid attributes?

They work, but the w3c validator says they aint valid.

______________
Is This Thing On?

Bleah...

MajorFracas
Nervous Wreck (II) Inmate

From:
Insane since: Jul 2003

posted posted 04-30-2004 22:06

in your html:

code:
<table class="daTable">



in your css file:

code:
.daTable {
background-image: url(fooyoo.img);
background-repeat: no-repeat;
background-position: top left;
height: 600px;
}

DL-44
Maniac (V) Inmate

From: under the bed
Insane since: Feb 2000

posted posted 04-30-2004 22:40

Those attributes have been deprecated for quite some time now.

You should approach them just like you would any other element - as MF demonstrated.

poi
Paranoid (IV) Inmate

From: France
Insane since: Jun 2002

posted posted 04-30-2004 23:35

It's worth checking the DTD of HTML4.01. I'm not sure if there's some strict nesting rules in HTML4.01 but when writing some XHTML it really helps to have the DTD nearby to make sure of the types of elements that can be nested to write some valid code.

UnknownComic
Paranoid (IV) Inmate

From: 2 steps away from a shopping cart
Insane since: Nov 2003

posted posted 05-01-2004 23:11

hmmm, I thought I just posted a Thank you... But apparently it got lost in the click...

Thanks, I appreciate the help. My css pdf had the image background info but not the height thing. That's a handy little snippet... Thanks fracas.

I've mangled a few pages here and there... but I dunno if I would call them deprecated... thats kinda harsh... [snicker]


Thanks for the info, it is definitely appreciated.

______________
Is This Thing On?

Bleah...



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu