Ok, here i am being a noob again. First off for some reason i am completly retarted this week. I have done this before yet i seem to be lacking creativity this week (moth rather) and i have a simple question.
Well the following below is my html code of a title. I had created little rounded corners to go on the right and left side of this title yet i can't seem to create the html to insert them perfectly. Or even close at all LOL.
Could anybody provide me with some inside?
Thank you
Anthony
<table border=0 cellpadding=0 cellspacing=0 width=87% bgcolor=475575 align=center>
<tr><td><font face=arial size=-a>Welcome</font></td></tr>
</table>
HTML AGAIN
Moderator: General Moderators
Seems like you just need one more column on each side with the image inside there.
Or you could do the whole thing in CSS with no table whatsoever, which would be the better way to do it, using your background and curved images as the background image.
Either way, you should stop using HTML to apply font styles, and you should start quoting your attributes.
is better...
is better than that...
is still better, and...
is best of all. That's probably a lot to digest, but hopefully you see my point.
Or you could do the whole thing in CSS with no table whatsoever, which would be the better way to do it, using your background and curved images as the background image.
Either way, you should stop using HTML to apply font styles, and you should start quoting your attributes.
Code: Select all
<table border="0" cellpadding="0" cellspacing="0" width="87%" bgcolor="#475575" align="center">
<tr><td><font face="arial" size="-a">Welcome</font></td></tr>
</table>Code: Select all
<table border="0" cellpadding="0" cellspacing="0" width="87%" bgcolor="#475575" align="center">
<tr><td><span style="font-family: Arial, sans-serif; font-size: .8em">Welcome</span></td></tr>
</table>Code: Select all
<style>
#welcome {
width: 87%;
border: 0;
padding: 0;
cell-spacing: 0;
}
#welcome td {
font-family: Arial, sans-serif;
font-size: .8em;
}
</style>
<table id="welcome">
<tr><td>Welcome</td></tr>
</table>Code: Select all
<style>
#welcome {
width: 87%;
border: 0;
padding: 0;
cell-spacing: 0;
background: url('mybackgroundimage.gif');
font-family: Arial, sans-serif;
font-size: .8em;
}
</style>
<div id="welcome">Welcome</div>- no_memories
- Forum Contributor
- Posts: 145
- Joined: Sun Feb 01, 2004 7:12 pm
- Location: New York City
-
pinehead18
- Forum Contributor
- Posts: 329
- Joined: Thu Jul 31, 2003 9:20 pm
- no_memories
- Forum Contributor
- Posts: 145
- Joined: Sun Feb 01, 2004 7:12 pm
- Location: New York City