Elessar-Eärfalas Posted October 28, 2002 Share Posted October 28, 2002 hey people, im makin a website and im tryin to put a bunch of images in a row, like one after another and then one rite under it. but when i do that, theres still a space between each image. does anybody kno how i can get rid of the spaces and so it looks like just 1 big image? Link to comment Share on other sites More sharing options...
Pad Posted October 28, 2002 Share Posted October 28, 2002 what program r u using? and post a bit on ur html code in here so i can have a look at it. Link to comment Share on other sites More sharing options...
Elessar-Eärfalas Posted October 28, 2002 Author Share Posted October 28, 2002 im not usin any program, just my html skills:p here check this link see between the images theres the black lines, i dunno how to get rid of them and make the images closer to eachother... and all i did for the html stuff is regular image use <img src="http://add-inc.50megs.com/newsplashtop.jpg"> stuff like that, and o course i used a java code fro the gif image but how do i get rid of the spaces? Link to comment Share on other sites More sharing options...
TheJackal Posted October 29, 2002 Share Posted October 29, 2002 Put cellpadding and cellspacing at 0 (in the tables tag). That should help. For an idea on how tables work go ahead and take a look at my portfolio. http://www.indieriot.com/sjacques/ But of course, LOOK at my coding. DONT take anything. If you want to go into the internet world and moving on by copying stuff from other people's work... you wont achiever ANYTHING! I'm looking right now on your code, I'll be right back on you to tell you whats most likely the mistake. Link to comment Share on other sites More sharing options...
TheJackal Posted October 29, 2002 Share Posted October 29, 2002 Hum... your coding is very odd. At one point it is very well done, but at others its very.... odd. Did you code this 100% yourself? Why am I asking you this? The fact that your TITLE and HEAD tags is at the bottom and some of your splash image are placed above it. Link to comment Share on other sites More sharing options...
StrSk8er Posted October 29, 2002 Share Posted October 29, 2002 jackal howd you get that menu, i always wnated a menu off to the side some how, heres my web page if ya wanna see it... http://www.angelfire.com/nj4/sk8media/ watch the video if you want laugh at it i dont care. dont put a space between the images, that might help, or just make it 1 big pic. Link to comment Share on other sites More sharing options...
igor Posted October 29, 2002 Share Posted October 29, 2002 One thing I find useful when doing web sites is to use tables, lots and lots of tables. An example is that I have one main table and center that or align it however, then put tables inside of it. Most of my sites are nested table inside of nested table. Put cellspacing and cellpadding to 0. It kind of gets confusing when I am tweaking the code, but if you put comments with your tables and label them properly then it gets a little easier. Link to comment Share on other sites More sharing options...
Elessar-Eärfalas Posted October 29, 2002 Author Share Posted October 29, 2002 ey jackal, the reason my codes all messed liek that is cuz i wuz using a tut for the rolling over mosue thingy so i used the html code they said, thats why. and where would i put the cellspacing and cellpadding in my html code...sorry if thats a dumb question:rolleyes: but i seriosuly dont kno, lol. and igor, how do i make tables Link to comment Share on other sites More sharing options...
igor Posted October 29, 2002 Share Posted October 29, 2002 For a table the basic code looks like this <table> <tr> <td>row 1, cell 1</td> <td>row 1, cell 2</td> </tr> <tr> <td>row 2, cell 1</td> <td>row 2, cell 2</td> </tr> </table> the <tr> means table row the <td> mean table data cell and you always have the <table> tags The table can have all kinds of attributes like cellspacing cellpadding, rowspan, colspan, align. You also have a lot of different attributes that can go in the various tags. So go here http://www.w3schools.com/. It has just about anything you want to know. Link to comment Share on other sites More sharing options...
Elessar-Eärfalas Posted October 30, 2002 Author Share Posted October 30, 2002 wow, thanks igor, lotsa help... and jackal, can u plez explain further about the image spacing? Link to comment Share on other sites More sharing options...
igor Posted October 30, 2002 Share Posted October 30, 2002 What jackal is refering to is cellspacing and cellpadding in the table tags. Use cellpadding to create more white space between the cell content and its borders. Use cellspacing to increase the distance between the cells. If you put images in a table and don't want any space between the images you make cellpadding and cellspacing = 0. You have your table tag and in it you have the attributes cellpadding and cellspacing like this. <table cellpadding="0" cellspacing="0"> after this then you have the various cells and rows. Make sure to always close your tags so at the end of the table you would have </table> to close the table. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.