| View previous topic :: View next topic |
| Author |
Message |
TheIndianGuy Advanced Cheater
Reputation: 102
Joined: 14 Jan 2007 Posts: 85
|
Posted: Sun Sep 14, 2008 1:31 pm Post subject: html help |
|
|
when i display this site on my computer, regardless of the browser, the table shows up fine, however, when i attempt to display it on a school computer the phrases car services, dealership info, internet special, and parts & services take up two lines. i believe it has something to do with size of the monitors. to help you better understand what i'm talking about, here's an image and i've uploaded the .html for the table used. maybe a table isn't the best approach. anyways, if you could show me where i went wrong, that would be greatly appreciated.
|
|
| Back to top |
|
 |
Drkgodz Flash moderator
Reputation: 2
Joined: 17 Jul 2006 Posts: 2997 Location: Houston
|
Posted: Sun Sep 14, 2008 1:35 pm Post subject: |
|
|
It shows up as 2 lines for me.
1152x864
_________________
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Sun Sep 14, 2008 2:48 pm Post subject: |
|
|
2 lines and kinda ugly :S (Screen-resolution: 1280x1024)
Well I hate tables and prefer using div's.
So here:
| Code: | <html>
<head>
<title>div>table</title>
<style type="text/css">
a:link {color:white; text-decoration:underline}
a:visited {color:gray; text-decoration:underline}
a:active {color:red; text-decoration:underline}
body {
margin-top: 0;
padding-top: 0;
}
.headmenu {
background-color: #000000;
width: 100%;
height 28px;
text-align: center;
}
</style>
</head>
<div class="headmenu"><font color="white"><font color="#FFFFFF">Home |
<a href="inventory.html">Car Inventory</a> |
<a href="index.html">Dealership Info</a> |
<a href="index.html">Internet Special</a> |
<a href="index.html">Parts & Services</a> |
<a href="index.html">Location</a>
</font></div>
<body>
</html> |
|
|
| Back to top |
|
 |
TheIndianGuy Advanced Cheater
Reputation: 102
Joined: 14 Jan 2007 Posts: 85
|
Posted: Sun Sep 14, 2008 3:08 pm Post subject: |
|
|
| rEakW0n wrote: | 2 lines and kinda ugly :S (Screen-resolution: 1280x1024)
Well I hate tables and prefer using div's.
So here:
| Code: | <html>
<head>
<title>div>table</title>
<style type="text/css">
a:link {color:white; text-decoration:underline}
a:visited {color:gray; text-decoration:underline}
a:active {color:red; text-decoration:underline}
body {
margin-top: 0;
padding-top: 0;
}
.headmenu {
background-color: #000000;
width: 100%;
height 28px;
text-align: center;
}
</style>
</head>
<div class="headmenu"><font color="white"><font color="#FFFFFF">Home |
<a href="inventory.html">Car Inventory</a> |
<a href="index.html">Dealership Info</a> |
<a href="index.html">Internet Special</a> |
<a href="index.html">Parts & Services</a> |
<a href="index.html">Location</a>
</font></div>
<body>
</html> |
|
thank you, that's perfect. i was almost going to ask if someone could make it using div's. it's been so long since i've done any html so i used tables.
|
|
| Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Mon Sep 15, 2008 10:02 am Post subject: |
|
|
heh okay no problem.
Btw. I accidentally set the body-tag wrong, sorry. Fix:
| Code: | <html>
<head>
<title>div>table</title>
<style type="text/css">
a:link {color:white; text-decoration:underline}
a:visited {color:gray; text-decoration:underline}
a:active {color:red; text-decoration:underline}
body {
margin-top: 0;
padding-top: 0;
}
.headmenu {
background-color: #000000;
width: 100%;
height 28px;
text-align: center;
}
</style>
</head>
<body>
<div class="headmenu"><font color="white"><font color="#FFFFFF">Home |
<a href="inventory.html">Car Inventory</a> |
<a href="index.html">Dealership Info</a> |
<a href="index.html">Internet Special</a> |
<a href="index.html">Parts & Services</a> |
<a href="index.html">Location</a>
</font></div>
</body>
</html> |
|
|
| Back to top |
|
 |
G0DFATHER How do I cheat?
Reputation: 0
Joined: 14 May 2008 Posts: 0 Location: C:/Nexon/Maplestory
|
Posted: Mon Sep 15, 2008 1:07 pm Post subject: |
|
|
I t turs up fine on a 15.4 inch laptop 1400x1050 rez
_________________
GROOT FTW!!! |
|
| Back to top |
|
 |
|