I have created a very simple beginners webpage with a simple spry menu bar. It works great, but when I open the page on a larger screen than the standard, it keeps changing my layout. My Spry menu bar on my screen is 4 columns. When my CFO opens it, it pushes the last column below the first one. Is there a way to lock columns so this doesn't happen?
This page http://www.loricaequity.com/ has no HTML document type. No valid doc type puts your page into Quirks Mode which is geek speak for browsers don't know how to render the page. Before you we can help you with layout issues, you need to fix your code errors. See details below.
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.loricaequ ity.com%2F
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://www.w3schools.com/tags/tag_doctype.asp
Try that. After you have added a doc type, go back to the validator and see what other problems your page might have.
Martin
This page http://www.loricaequity.com/ has no HTML document type.
Perhaps the page has now been updated because I see a HTML5 doctype on line 1
<!DOCTYPE HTML>
Ok. Change all this:
</head>
<style type="text/css">
h1 {
color: #FFF;
}
</style>
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
<style type="text/css">
body,td,th {
font-size: 14px;
font-family: Verdana, Geneva, sans-serif;
}
a:link {
color: #666;
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
color: #000;
}
a:active {
text-decoration: none;
}
h1,h2,h3,h4,h5,h6 {
font-family: Georgia, "Times New Roman", Times, serif;
}
h1 {
font-size: 45px;
color: #FFF;
text-align: center;
}
h2 {
font-size: 24px;
color: #000;
}
h3 {
font-size: 18px;
color: #000;
}
h4 {
font-size: 14px;
color: #000;
}
</style>
To this:
<script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
<link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css">
<style type="text/css">
body,td,th {
font-size: 14px;
font-family: Verdana, Geneva, sans-serif;
}
a:link {
color: #666;
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: none;
color: #000;
}
a:active {
text-decoration: none;
}
h1,h2,h3,h4,h5,h6 {
font-family: Georgia, "Times New Roman", Times, serif;
}
h1 {
font-size: 45px;
color: #FFF;
text-align: center;
}
h2 {
font-size: 24px;
color: #000;
}
h3 {
font-size: 18px;
color: #000;
}
h4 {
font-size: 14px;
color: #000;
}
</style>
</head>
And you should be good to go.
Nancy O.
Having the same problem, but this time it's my photo and SWF file. I am redoing the webiste to include some new features. Lay out is similar, but having problems with middle table where the SWF and Photo keeps changing size and loading the way I want it to.
Is there something specific I need to do to prevent this? I've ready several help questions, but it is not addressing the issue that I have. i went to the validator and uploaded my document to check and here are the results.
North America
Europe, Middle East and Africa
Asia Pacific