Please login or register. Welcome to the Studio, guest!


Quick Links:


newBookmarkLockedFalling

Andrew McGivery

Andrew McGivery Avatar
Formerly Fredy

******
Legendary Studio Member

Male
5,742


September 2005
well. this is the first time in my life that i've run into an hml problem :P lol

well, i've seen javascript put head images on tables, and it should be jsut as easy in html. but, theres a problem. when you trying just putting the <img src=""> code, it leaves a 1 or 2 pixel space inbetween the head image and the table.

so how would i go doing this?


Last Edit: Jun 8, 2006 11:12:45 GMT by Andrew McGivery
k

Chris

Chris Avatar

******
Head Coder

19,519


June 2005
Use a DIV and CSS.

<style type="text/CSS">
.head {
background-image: url(URL OF IMAGE);
height: HEIGHTOFIMAGEINPIXELSpx;
background-position: center center;
}
</style>
<div class="head"></div>

Andrew McGivery

Andrew McGivery Avatar
Formerly Fredy

******
Legendary Studio Member

Male
5,742


September 2005
wow. i can't beleive i didn't think of that. worked perfectly. thanks chris :P
k

Chris

Chris Avatar

******
Head Coder

19,519


June 2005
Yeah, I had the same problem with the original SZ coding cause I used images. I made a crappy solution and used an if to add this.

position: relative;
top: 1px;

:P

Andrew McGivery

Andrew McGivery Avatar
Formerly Fredy

******
Legendary Studio Member

Male
5,742


September 2005
LOL

well i guess theres always a way around the problems of the internet... most of the time :P
k

newBookmarkLockedFalling