Free Scan: Update Your PC's Outdated Drivers to Optimize Performance
October 7th, 2008, 05:47 PM
|
#1 (permalink)
| | Mobile Member
Join Date: Apr 2005 Location: S. Central PA
Posts: 3,524
| getting rid of grey link border
Well here is my opening page to my website (see attached image) and I have the image which you see a small corner of has a grey border around it. I dont want it to be there and I thought I got rid of it in the HTML with the "border = 0" part. Below I will post my HTML so you can see if I'm doing anything wrong.
Also I want the image to be centered on the page both horizontally and vertically, relative to their screen size. Right now its centered (left and right) horizontally, but still shows up at the top of the webpage. Is there anyway to fix that in the below code?
Thanks in advance Code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My Company- Photography & Design</title>
<style type="text/css">
<!--
body {
background-color: #202020;
}
.style3 {font-size: x-small; color: #FFFFFF;}
.style4 {
color: #FFFFFF;
font-weight: bold;
}
.style5 {font-size: small}
a:link {
color: #202020;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #202020;
}
a:hover {
text-decoration: none;
color: #202020;
}
a:active {
text-decoration: none;
color: #202020;
}
-->
</style></head>
<body>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td align="center" valign="middle"><a href="/gallery/"><img src="Home Screen.png" alt="Click to Enter" width="800" height="379" border="0" /></a></td>
</tr>
</table>
<p class="style4">(click to enter)</p>
<p class="style3 style5">© 2008 my company name<br />
This site is best viewed in resolutions which meet or exceed 1024x768</p>
<p> </p>
</div>
</body>
</html>
__________________ Thinkpad T61 14.1 wide | WinXP Pro | Intel C2D T8300 2.4ghz CPU | 3GB DDR2
AGN WiFi, BT, WWAN | 256mb NVS140 graphics | 160GB 7200RPM HDD |
| |
October 8th, 2008, 10:05 PM
|
#2 (permalink)
| | Mobile Member
Join Date: Apr 2005 Location: S. Central PA
Posts: 3,524
| |
| |
October 12th, 2008, 07:09 PM
|
#3 (permalink)
| | Junior Member
Join Date: Feb 2008
Posts: 29
|
I previewed the html in IE and Firefox, but there wasn't a grey border.
Can you upload the actual image you're using?
__________________ "I shall invent an entirely new torture, against which there is no possible defense." |
| |
October 13th, 2008, 09:43 AM
|
#4 (permalink)
| | Mobile Member
Join Date: Apr 2005 Location: S. Central PA
Posts: 3,524
|
both IE and firefox give me a border on all 4 sides
Last edited by ShuckyD : October 20th, 2008 at 09:25 AM.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |
Posting Rules
| You may post new threads You may post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |