Jump to content

Having Some Trouble-i Would Like You Guys To Check Out My Html Code


An Alien

Recommended Posts

I'm having some trouble. You can see where the buttons are in my navigational bar. I want the buttons to align top right. And that button design Btn1.gif , I don't like. Can someone help me make a better design that would fit the blue-white theme. Yeah, I'm not so good with PS. I'm requesting a button with no text that is light blue (sky blue) color that big and wide to fit it that whole layout. I will really appreciate if you help me out with this code and my request for a new button design.

<html><body background="blah.png"><div align="center"><table border="2" height="1000px" width="70%" bgcolor="red"><tr><td height="5%"><MARQUEE scrolldelay="40"><IMG SRC="blah.gif" HEIGHT=35 WIDTH=85 ALT="blah"></MARQUEE></td></tr><tr><td height="20%" bgcolor="yellow">.</td></tr><tr><td><table border="2" height="100%" width="100%" bgcolor="orange"><tr><td width="25%" bgcolor="#4169E1"><table border= "0"><tr><td> <img src= "http://i176.photobucket.com/albums/w178/BEN20s/HTML/Btn1.gif"></td></tr><tr><td> <img src="http://i176.photobucket.com/albums/w178/BEN20s/HTML/Btn1.gif"></td></tr><tr><td> <img src="http://i176.photobucket.com/albums/w178/BEN20s/HTML/Btn1.gif"></td></tr><tr><td> <img src="http://i176.photobucket.com/albums/w178/BEN20s/HTML/Btn1.gif"></td></tr></table></td><td bgcolor="green">.</td></tr></table></td></table></div> </body></html>

Thank you for reading and examining my code.

Link to comment
Share on other sites

Your page is coded in a really old-fashioned way. It has a lot of deprecated (not correct) tags and attributes, and some of the elements on the page are not even part of the HTML specification.Using tables for layout is a bad practise, because it is not what tables were intended for. It is worse when you have nested tables (tables within tables).Before continuing with your site, I recommend you read the HTML and CSS tutorials. After that, make sure your page is valid HTML at the W3C Validator. Once you have learnt CSS, I highly recommend that you take a look at this example on How you can lay out your site without tables.As for making buttons, most of us here do not actually do work for people, we just teach them how to code and to do it correctly.

Link to comment
Share on other sites

Your page is coded in a really old-fashioned way. It has a lot of deprecated (not correct) tags and attributes, and some of the elements on the page are not even part of the HTML specification.Using tables for layout is a bad practise, because it is not what tables were intended for. It is worse when you have nested tables (tables within tables).Before continuing with your site, I recommend you read the HTML and CSS tutorials. After that, make sure your page is valid HTML at the W3C Validator. Once you have learnt CSS, I highly recommend that you take a look at this example on How you can lay out your site without tables.As for making buttons, most of us here do not actually do work for people, we just teach them how to code and to do it correctly.
Okay thanks. I've learned all of the HTML from here needed, I just have a hard time understanding CSS. And for the buttons, it was just a request for anyone who is good with PS, I understand but I was hoping someone could help me out cause I really ###### at it. Mayby W3schools should have one tutorial on PS?
Link to comment
Share on other sites

Already on the fast track to getting better than me Alien? ;]I've never heard someone say what Ingolme has said about tables before. I can definately understand it being bad practice, because I often run into layout problems using tables. I'll have to look into CSS....if I can squeeze the time *sigh* dumb senior project. >>Oh Alien! Graphics are my forte....not drawing but creating graphics I am good at if I know what I want. I don't know what you page looks like though (if you haven't created an even more amazing graphic already). I'm gonna assume you have the same glossy theme going for it as your button. In which case a dark blue would look very nice. Though having some variety in color is nice.

Link to comment
Share on other sites

I've never heard someone say what Ingolme has said about tables before.
Aside from a large history of posts on this forum from several experts, you can also Google "HTML tables layout".Some results:Why avoiding tables (for layout) is importantWhy tables for layout is stupidFrom Table Hacks to CSS Layout: A Web Designer's Journey
Link to comment
Share on other sites

lolTrotun, I also have a site project of finish. I haven't made that button yet. I'm taking Ingolme's advice and learning more about CSS and trying to get rid of my tables habbit. I still have a hard time. Ingome, thx for the info. Now I know why people say tables shouldn't be used to make the layout. I guess I'm going to have to start this project all over and code it again from the start. I first need to look more into CSS though. I still don't understand some stuff, but I'm still looking at the tutorials here. Thanks guys, I'll update this thread with my new and improved code later. I hope I get it done before the due date.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...