HTML Help
started by: krazynesskrazyness
on: 1212795134|%e %b %Y, %H:%M %Z|agohover
number of posts: 4
rss icon RSS: new posts
summary:
I need to know whay this thing won't work!!!
HTML Help
krazynesskrazyness 1212795135|%e %b %Y, %H:%M %Z|agohover

Sorry I haven't been here in a while, I've had a TON of HW and sports lately…

Do any of you guys know HTML (I bet a lot of you do)? Well, look at the following:

<html>
<head>
</head>
<body>
<table border="0" cellspacing="0" bgcolor="#00ff00">

<tr>
<td width="50" height="50" background="gc1.jpg">
</td>

<td width="800" height="50">
</td>

<td width="50" height="50" background="gc2.jpg">
</td>
</tr>

<tr>
<td width="50" height="1000">
</td>

<td width="800" height="1000">
</td>

<td width="50" height="1000">
</td>
</tr>

<tr>
<td width="50" height="50" background="gc3.jpg">
</td>

<td width="800" height="50">
</td>

<td width="50" height="50" background="gc4.jpg">
</td>
</tr>
</table>
</body>
</html>

By the way, gc(1,2, or 3).jpg are all basically a quarter of a circle that are 50x50 to make the table corners round. Ok, so when I I open it, everything looks fine. I press maximaize and…..bang! A vertical line appears on the left side of each corner image. On the left images, it is white (contrasting ot the green) and on the right side, it is green (contrasting to the white). Does anyone have a clue as to what happened?

In case you are wondering, this is going to be a template for my History Day project website. On the second <tr>, second <td>, I am going to write stuff…

last edited on 1212795283|%e %b %Y, %H:%M %Z|agohover by krazyness + show more
unfold HTML Help by krazynesskrazyness, 1212795135|%e %b %Y, %H:%M %Z|agohover
Re: HTML Help
DarkerLineDarkerLine 1212798057|%e %b %Y, %H:%M %Z|agohover

You probably don't want to describe the size of every element in pixels… how about percentages instead?

unfold Re: HTML Help by DarkerLineDarkerLine, 1212798057|%e %b %Y, %H:%M %Z|agohover
Re: HTML Help
burrburr 1212801558|%e %b %Y, %H:%M %Z|agohover

You really shouldn't be using a table unless you are dealing with tabular data; instead I recommend using CSS and div blocks: http://www.modxcms.com/simple-rounded-corner-css-boxes.html

unfold Re: HTML Help by burrburr, 1212801558|%e %b %Y, %H:%M %Z|agohover
Re: HTML Help
VectrisVectris 1213124664|%e %b %Y, %H:%M %Z|agohover

Actually using tables is a great way to keep things organized even without data. I use it in my (simple) website, calculatorprogramming.com, but darkerline is right, you should use percentages.

If you use percentages, then when you change the screen size your website will adapt, if you use pixels then it will stay the same and thus when you maximize it, your site will have glitches like that.

Also I'd insert a <title></title> and name it to make it look better, especially if it's going to be graded or something. Also adding a background color to the site would be good, you did it for the table but maybe a contrasting color for the main bg? Unless your table is taking up the whole screen, which it won't if someone has a higher resolution than 1000 x 1000 or so.

unfold Re: HTML Help by VectrisVectris, 1213124664|%e %b %Y, %H:%M %Z|agohover
new post
Unless stated otherwise Content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License