11
Jul

i usually use dreamweaver..

but i tryed starting a layout from scratch using ps and notepad but when viewed online this is what i got.

the link is a pic of the site and code. any1 know whats wrong? :/

http://i254.photobucket.com/albums/hh84/…


Answer:
You've declared the table to be 600pixels high… and so it is. However, your graphics aren't large enough to fill that space, hence the white space. Delete the height=”600″ from the table tag

Answer:
Looks like your table has a height and a width. Adding these can sometimes cause problems when using images, leaving gaps between rows because the table tries to take up the space. I cant be sure because the other images doent have heights, but from what you’ve currently in the code i dont see it adding up to 600px tall.

Answer:
No obvious reason, but you do have an extra ” towards the end of your table tag. You're closing quotes around your style attribute too soon.

Some browsers can be weird about that kind of thing.

************* NEW BIT ***********

OK, it could be the height attribute in your table tag. You don't need it, so remove it and see what happens.


Answer:
I cannot see an immediate reason why that should happen, but your style attribute of the table is a bit messed up.

It should read:

style=”border: 1px solid #ffffff; background:url(images/table_bg.jpg);”

Book Mark it-> del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Netscape | Yahoo | BlinkList

This entry was posted on Friday, July 11th, 2008 at 4:08 pm and is filed under Programming. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or TrackBack URI from your own site.

Leave a reply

Name (*)
Mail (*)
URI
Comment