473,946 Members | 12,193 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

CSS tabs no longer showing on website

3 New Member
I am a novice, so bear with me.

I designed a website using CSS TABS, all was fine, then I copy and pasted meta name, etc for keywords, tweaking it where necessary for keywords. I did not notice any problems until I looked at the site and although the text for the tabs was showing up the images which make up the tabs weren't.

I have no idea why this has happened, can I have some advice as to what to check, and how to fix it,

thank you,

Site is www.fourposterb eds.com

Code for tabs

<style type="text/css">
<!--
body {
BACKGROUND: #fff;
MARGIN: 10px 0px 0px5px;
FONT: small/1.5em Georgia,Serif;
COLOR: #000;
voice-family: inherit;
text-align: left;
padding: 0px;
margin-top: 10px;
margin-left: 5px;
background-image: url(file:///C|/Documents and Settings/Stephen/Desktop/FourPosterBeds. com/All%20Images/images/background.jpg) ;
background-image: url(../All Images/images/background.jpg) ;
background-image: url(../template_images/background.jpg) ;
}
unknown {
FONT-SIZE: small
}
#header {
FONT-SIZE: 9pt;
BACKGROUND: #ffffcc url(tabs/bg.png) repeat-x 50% bottom;
FLOAT: right;
WIDTH: 100%;
LINE-HEIGHT: normal;

}
#header ul {
PADDING-RIGHT: 10px;
PADDING-LEFT: 10px;
PADDING-BOTTOM: 10px;
MARGIN: 0px;
PADDING-TOP: 10px;
LIST-STYLE-TYPE: none;
}
#header li {
PADDING-RIGHT: 0px;
PADDING-LEFT: 9px;
BACKGROUND: url(tabs/left.png) no-repeat left top;
FLOAT: left;
PADDING-BOTTOM: 0px;
MARGIN: 0px;
PADDING-TOP: 0px;

}
#header a {
PADDING-RIGHT: 15px;
DISPLAY: block;
PADDING-LEFT: 6px;
FONT-WEIGHT: bold;
BACKGROUND: url(tabs/right.png) no-repeat right top;
FLOAT: left;
PADDING-BOTTOM: 3px;
COLOR: #765;
PADDING-TOP: 5px;
TEXT-DECORATION: none;

}
#header a {
FLOAT: none
}
#header a:hover {
COLOR: #333;
}
#header #current {
BACKGROUND-IMAGE: url(tabs/left_on.png);
}
#header #current a {
BACKGROUND-IMAGE: url(tabs/right_on.png);
PADDING-BOTTOM: 4px;
COLOR: #333;

}
.style10 {
font-size: small;
color: #000000;
font-family: "Lucida Calligraphy";
font-weight: bold;
}
.style11 {
font-family: "Lucida Calligraphy";
font-size: medium;
}
.style16 {color: #373737; font-weight: bold; font-size: x-small; }
.style18 {font-size: large}
.style19 {color: #373737; font-weight: bold; font-size: small; }
.style20 {font-size: small}
a:link {
color: #000033;
text-decoration: none;
}
a:visited {
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
a:active {
text-decoration: none;
}
.style15 {font-size: x-small}
-->
</style>
<script type="text/javascript">
<!--
function MM_reloadPage(i nit) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Net scape")&&(parse Int(appVersion) ==4)) {
document.MM_pgW =innerWidth; document.MM_pgH =innerHeight; onresize=MM_rel oadPage; }}
else if (innerWidth!=do cument.MM_pgW || innerHeight!=do cument.MM_pgH) location.reload ();
}
MM_reloadPage(t rue);
//-->
</script>
Nov 7 '06 #1
6 1789
drhowarddrfine
7,435 Recognized Expert Expert
Your doctype is incomplete. Why are you using transitional? What are you transitioning from? All new pages should use a strict doctype.

In any case, here's both:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dt d">
Nov 7 '06 #2
Stephen Edwards
3 New Member
THANK YOU

I've changed them using the code provided, so thank you.

Is this why the tabs weren't working, or can there be another reason?

Is this piece of code correct for the type of site it is:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Nov 7 '06 #3
drhowarddrfine
7,435 Recognized Expert Expert
THANK YOU

I've changed them using the code provided, so thank you.

Is this why the tabs weren't working, or can there be another reason?

Is this piece of code correct for the type of site it is:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
Yes. I'm leaving for an hour or so and I'll look at your site again when I get back.

Quick note: validate your html. Case matters in xhtml and css; use lower case.
Nov 7 '06 #4
drhowarddrfine
7,435 Recognized Expert Expert
Gee. I'm back already. Are your tabs working correctly now?

The doctype is the set of 'rules' you are telling the browser you are using. Without one, the browser picks, which may not be what you want.
Nov 7 '06 #5
Stephen Edwards
3 New Member
Nope they aren't working. They were working before I started playing around with all of the keywords, etc. I'm just wondering if I've put something in the wrong place, and now I can't remember what it was like when it was working compared to now:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- DW6 -->
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/template_index. dwt" codeOutsideHTML IsLocked="false " -->
<head>
<title></title>
<META http-equiv=Page-Enter content=BlendTr ans(Duration=2. 0)>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEd itable name="doctitle" --><meta name="Descripti on" content="The Four Poster Bed Company are UK makers of custom made wooden, Platform Bed, Four Poster or Pencil Post Beds and Canopy Bed, and bedroom furniture." />

<meta name="Keywords" content="UK, makers, beds, platform bed, four poster bed, pencil post beds, wooden, canopy bed, custom made,bedroom, furniture" />

<meta name="subject" content="UK makers of custom made four poster bed, pencil post and canopy beds and matching bedroom furntiure." />

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="GOOGLEBOT " content="index, follow" />
<meta name="Robots" content="all" />
<meta name="resource-type" content="docume nt" />
<meta name="distribut ion" content="global " />
<meta http-equiv="Revisit-After" content="14 days" />
<meta name="Author" content="Teddy" />
<meta name="coverage" content="Worldw ide" />
<meta name="Generator " content="Teddy" />
<meta name="verify-v1" content="VCGzoy 3YZdQs20F1DTAWe sDj4O7NLsa09mEe 8TyV7dE=" />

<!-- InstanceEndEdit able -->
<style type="text/css">
<!--
body {
BACKGROUND: #fff;
MARGIN: 10px 0px 0px5px;
FONT: small/1.5em Georgia,Serif;
COLOR: #000;
voice-family: inherit;
...ETC...

Any advice?
Nov 8 '06 #6
drhowarddrfine
7,435 Recognized Expert Expert
Validate and fix your errors.
Nov 8 '06 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

2
3322
by: MFA | last post by:
Hi I am new to ASP .Net, I have seen some where in microsoft website they are using TABS in .aspx pages. Where I can find and use in my ASP .Net project... Regards
5
1608
by: ken | last post by:
I had to reinstall Windows 2000 Pro and of course Access 2000. I HAD each record displaying a photo but now it does not show them. The WEIRD thing is that when I upload the database to my website...the image shows up! Is there a setting in Access that I need to chnage because of the reinstall? Thanks. Ken
3
1476
by: Karl Roes | last post by:
Hi All, I have a form with a standard combo box and 5 tabs in A2003. On Form Open, I set Me.Detail.Visible = False and in the after update event of the combo set Me.Detail.Visible = True,( to open form with no info showing ) I've noticed something quite strange. I open the form ( details are not visible ) select any record ID with the combo and the details come up OK. I click anywhere on the
3
1289
by: ReidarT | last post by:
I have accidentally enabled spaces and tabs and ... in code window. How do I disable this? reidarT
2
1422
by: qwweeeit | last post by:
Hi all, in a previous post I asked help for colorizing expanded tab. I wanted to list text files showing in colors LFs and the expanded tabs. I hoped to use only bash but, being impossible, I reverted to Python. I programmed a very short script . Here it is (... and I ask comments or critics): # for Linux users # starting from a list of all the lines of a text files (lFileList)
135
7635
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about which is better. It has become what's known as “religious war” — a heated fight over trivia. In this essay, i like to explain what is the situation behind it, and which is proper.
3
1277
by: hkmulligan | last post by:
So here's the situation. I have a form with two tabs. Tab One: Search feature through a qry. I change the SQL of the qry for each search. Access -> qrySearch which access -> tblWorkgroups, tblRules Tab Two: Displays the workgroups for reading/adding/editing Accesses -> tblWorkgroup, tblRules
4
1324
by: manjitsarma | last post by:
My website requires that users dont open my website url in multiple tabs. Opening the url in new window is allowed. My question is, is there a way in javascript or otherwise to prevent users from opening the same url in multiple tabs? Regards... Manjit Sarma,Nobel Software Systems Pvt. Ltd. Bangalore
2
6983
by: pankajsingh5k | last post by:
Dear All, Please help me... I had read an article to lazy load a tab in a tabcontainer using an update panel on http://mattberseth.com/blog/2007/07/how_to_lazyload_tabpanels_with.html and i am implementing it in my website....
0
10162
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, well explore What is ONU, What Is Router, ONU & Routers main usage, and What is the difference between ONU and Router. Lets take a closer look ! Part I. Meaning of...
0
9981
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
11566
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
11153
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11340
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9886
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8253
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupr who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7427
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
6331
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.