Where is the closing </span>
that belongs there? Add that in in the appropriate spot. Again, debugging is the first step in debugging. The validator would have easily caught that.
Now, go into Firebug or Chrome Inspector Toolbar and find that link that isnโt underlined. Right click that link and inspect the element. Post ALL CSS in the panel that shows up. Please.
nono29
September 16, 2014, 9:18pm
23
hello!
is that what you meant i am not sure
<body onload="MM_preloadImages('images/html-images/home-4.jpg','images/html-images/about-4.jpg','images/html-images/galleries-3.jpg','images/html-images/contect-4.jpg')">
<a name="top" id="top"></a>
<div id="container">
<div id="header"></div>
<div id="tab">
<table width="940" border="0" cellpadding="0" cellspacing="1" style="border-bottom:2px solid black">
<tbody><tr>
<td height="52" scope="col"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('contect','','images/html-images/contect-4.jpg',1)"><img src="file:///H:/my%20html%20project/images/html-images/contect-3.jpg" width="235" height="52" id="contect"></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('galleries','','images/html-images/galleries-3.jpg',1)"><img src="file:///H:/my%20html%20project/images/html-images/galleries-4.jpg" width="235" height="52" id="galleries"></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('about','','images/html-images/about-4.jpg',1)"><img src="file:///H:/my%20html%20project/images/html-images/about-3.jpg" width="235" height="52" id="about"></a></td>
<td><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('home','','images/html-images/home-4.jpg',1)"><img src="images/html-images/home-3.jpg" width="235" height="52" id="home"></a></td>
</tr>
</tbody></table>
<table width="940" border="0" cellpadding="0" cellspacing="1">
</table>
</div>
<div id="apDiv1">
<div id="apDiv4"><table width="120" height="180" border="1">
<tbody><tr>
<td width="162" height="20" class="sign">ืืื ืจ ืืืื</td>
</tr>
<tr>
<td height="20" class="sign">ืืกืื love</td>
</tr>
<tr>
<td height="20" class="sign">ืืื ืจ ืืืืืงื</td>
</tr>
<tr>
<td height="20" class="sign">ืืชืืคืคืื</td>
</tr>
<tr>
<td height="20" class="sign">ืืืืงืื</td>
</tr>
</tbody></table></div>
<div class="heb" id="apDiv10"><marquee direction="up" bgcolor="#FFFFFF" width="100" scrollamount="3" onmouseover="stop()" onmouseout="start()">
ืืคื ืืื ืืืืจ ืขืืืืืช ืืคืืืฉ ืฉืืฆืจืชื ืื ืืฉืืื ืฉืื ืื ืืืื:
ืืื ืจืื, ืืกืื ืืืืืงืื ืืงืืื ืฉืชืื ื ืฆืคืืื ื ืขืืื.
</marquee></div>
<table class="main-table" width="765" height="876" border="0" cellpadding="0" cellspacing="0" dir="ltr">
<tbody><tr>
<th width="760" height="84" class="outside" scope="col"><object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="760" height="84" style="visibility: inherit;">
<param name="movie" value="flash work/musicb.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="11.0.0.0">
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you donโt want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flash work/musicb.swf" width="760" height="84">
<!--<![endif]-->
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="11.0.0.0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33"></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object></th>
</tr>
<tr>
<td height="25" align="center" class="sign"><span class="highlight" dir="rtl">ืืื ืจ ืืืกืืงื</span><a name="strip" id="strip"></a></td>
</tr>
<tr>
<td style="vertical-align:top" width="760" height="759"><table width="768" height="759" border="0" cellpadding="0" cellspacing="0">
<tbody><tr align="left">
<td width="551" height="280" align="center" class="outside"><object id="FlashID2" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="551" height="280" style="visibility: inherit;">
<param name="movie" value="flash work/fishb.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="11.0.0.0">
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you donโt want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flash work/fishb.swf" width="551" height="280">
<!--<![endif]-->
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="11.0.0.0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33"></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object></td>
<td width="189" height="280" align="center" class="outside"><object id="FlashID3" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="280" style="visibility: inherit;">
<param name="movie" value="flash work/lovem.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="11.0.0.0">
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you donโt want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flash work/lovem.swf" width="189" height="280">
<!--<![endif]-->
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="11.0.0.0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33"></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object></td>
</tr>
<tr>
<td height="25" align="center" class="sign"><a href="#strip"><span class="highlight" dir="rtl">ืืื ืจ ืืืื</span></a></td>
<td height="25" align="center" class="sign"><a href="#strip"><span class="highlight" dir="rtl">ืืกืื love</span></a></td>
</tr>
<tr>
<td width="559" height="394" align="center" class="outside"><object id="FlashID4" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="551" height="394" style="visibility: inherit;">
<param name="movie" value="flash work/Drummers.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="11.0.0.0">
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you donโt want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flash work/Drummers.swf" width="551" height="394">
<!--<![endif]-->
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="11.0.0.0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33"></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object></td>
<td width="189" height="394" align="center" class="outside"><object id="FlashID5" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="189" height="394" style="visibility: inherit;">
<param name="movie" value="flash work/icon1.swf">
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="11.0.0.0">
<!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you donโt want users to see the prompt. -->
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="flash work/icon1.swf" width="189" height="394">
<!--<![endif]-->
<param name="quality" value="high">
<param name="wmode" value="opaque">
<param name="swfversion" value="11.0.0.0">
<param name="expressinstall" value="Scripts/expressInstall.swf">
<!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
<div>
<h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" width="112" height="33"></a></p>
</div>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object></td>
</tr>
<tr>
<td height="25" align="center" class="sign"><span class="highlight" dir="rtl"><a href="#top">ืืชืืคืคืื</a></span></td>
<td height="25" align="center" class="sign"><span class="highlight" dir="rtl"><a href="#top">ืืืืงืื</a></span></td>
</tr>
</tbody></table></td>
</tr>
</tbody></table>
</div>
<div id="apDiv3"></div>
<div id="apDiv2"> </div>
</div>
<script type="text/javascript">
swfobject.registerObject("FlashID");
swfobject.registerObject("FlashID2");
swfobject.registerObject("FlashID3");
swfobject.registerObject("FlashID4");
swfobject.registerObject("FlashID5");
</script>
</body>
No. I asked for the CSS. That is not CSS.
nono29
September 16, 2014, 9:37pm
25
hello!
is that
object *{
padding: 0;
margin: 0;
}
#apDiv10 marquee { height:100%; }
#container {
position: relative;
width: 960px;
z-index: 1;
border: thick solid #000;
margin-right: auto;
margin-left: auto;
height: 1200px;
}
#header {
position: relative;
width: 958px;
height: 146px;
z-index: 2;
padding-top: 0px;
padding-right: 0px;
padding-left: 0px;
border-bottom-style: solid;
border-bottom-width: medium;
border-bottom-color: #ac1c33;
margin-right: auto;
margin-left: auto;
left: 0px;
top: 0px;
background-image: url(images/html-images/canstockphoto178167596_comp.jpg);
}
#tab {
position: relative;
width: 960px;
height: 54px;
z-index: 4;
background-color: #57010c;
border-bottom-width: thin;
border-bottom-style: solid;
}
#apDiv2 {
position: relative;
width: 960px;
height: 98px;
z-index: 6;
background-image: url(images/html-images/canstockphoto178167567_comp.jpg);
background-repeat: repeat;
float: right;
}
.sign {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-style: normal;
font-weight: bolder;
color: #690917;
text-align: center;
white-space: nowrap;
}
.outside {
border: medium double #000;
}
.highlight {
background-color: #FFF;
border: thin solid #000;
font-size: 16px;
padding: 1px;
-webkit-transition: all;
-moz-transition: all;
-ms-transition: all;
-o-transition: all;
transition: all;
vertical-align: middle;
display: inline-block;
margin: 2px 0;
white-space: nowrap;
}
#apDiv4 {
position: relative;
width: 120px;
height: 180px;
z-index: 1;
float: right;
}
#apDiv1 {
position: relative;
width: 960px;
z-index: 5;
background-image: url(images/html-images/canstockphoto17816756009_comp.jpg);
background-repeat: repeat;
margin: 0px;
height: 897px;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
}
table.main-table {
border-spacing: 4px 0;
margin-right: 180px;
}
table.main-table table {
border-spacing: 4px 0;
}
#apDiv10 {
width: 140px;
height: 200px;
border: medium inset #CCC;
margin-top: 200px;
margin-right: 10px;
clear: right;
position: static;
background-color: #FFF;
float: right;
z-index: 2;
}
.heb {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
color: #000;
text-align: center;
}
galia
felgall
September 16, 2014, 9:52pm
26
Styling the <a>
tags would be a lot easier if you got rid of the unnecessary <span>
tags inside of them and applied the class to the <a>
directly instead.
nono29:
object *{
padding: 0;
margin: 0;
}
#apDiv10 marquee { height:100%; }
#container {
position: relative;
width: 960px;
z-index: 1;
border: thick solid #000 ;
margin-right: auto;
margin-left: auto;
height: 1200px;
}
#header {
position: relative;
width: 958px;
height: 146px;
z-index: 2;
padding-top: 0px;
padding-right: 0px;
padding-left: 0px;
border-bottom-style: solid;
border-bottom-width: medium;
border-bottom-color: #ac1c33 ;
margin-right: auto;
margin-left: auto;
left: 0px;
top: 0px;
background-image: url(images/html-images/canstockphoto178167596_comp.jpg);
}
#tab {
position: relative;
width: 960px;
height: 54px;
z-index: 4;
background-color: #57010c ;
border-bottom-width: thin;
border-bottom-style: solid;
}
#apDiv2 {
position: relative;
width: 960px;
height: 98px;
z-index: 6;
background-image: url(images/html-images/canstockphoto178167567_comp.jpg);
background-repeat: repeat;
float: right;
}
.sign {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-style: normal;
font-weight: bolder;
color: #690917 ;
text-align: center;
white-space: nowrap;
}
.outside {
border: medium double #000 ;
}
.highlight {
background-color: #FFF ;
border: thin solid #000 ;
font-size: 16px;
padding: 1px;
-webkit-transition: all;
-moz-transition: all;
-ms-transition: all;
-o-transition: all;
transition: all;
vertical-align: middle;
display: inline-block;
margin: 2px 0;
white-space: nowrap;
}
#apDiv4 {
position: relative;
width: 120px;
height: 180px;
z-index: 1;
float: right;
}
#apDiv1 {
position: relative;
width: 960px;
z-index: 5;
background-image: url(images/html-images/canstockphoto17816756009_comp.jpg);
background-repeat: repeat;
margin: 0px;
height: 897px;
border-top-style: none;
border-right-style: none;
border-bottom-style: none;
border-left-style: none;
}
table.main-table {
border-spacing: 4px 0;
margin-right: 180px;
}
table.main-table table {
border-spacing: 4px 0;
}
#apDiv10 {
width: 140px;
height: 200px;
border: medium inset #CCC ;
margin-top: 200px;
margin-right: 10px;
clear: right;
position: static;
background-color: #FFF ;
float: right;
z-index: 2;
}
.heb {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
font-weight: bold;
color: #000 ;
text-align: center;
}
You must have more styles set than that. Search all your CSS files that have text-decoration set. Report back. The culprit likely isnโt in this.
Also please validate your HTML and CSS pages. Do not respond until the validation errors are fixed and you properly give us back the information I requested please . Felgall makes a good point though.
nono29
September 17, 2014, 12:48am
28
hello!
how to validate the HTML and CSS pages Easy?
thanks galia
Go to
and choose one of
Validate by URI
Validate by File Upload
Validate by Direct Input
and use the โMore Optionsโ if need be
And CSS validator can be found at the below link.
http://jigsaw.w3.org/css-validator
1 Like
I copied the code you posted in your JSfiddle into my code editor and searched for <a>
tags. I failed to find those links, because this is what you have in your JSfiddle:
<tr>
<td height="25" align="center" class="sign"><span class="highlight" dir="rtl">ืืื ืจ ืืืื</a></span></td>
<td height="25" align="center" class="sign" ><span class="highlight" dir="rtl">ืืกืื love</a></span></td>
</tr>
<tr>
There are no opening <a>
tags there. The first thing you need to do is change your code so that both the <a>
and the <span>
are opened and closed correctly.
As other people have said, using the validator would help you to find these errors and correct them for yourself.
To get the links correctly underlined, you will either need to ensure your <a>
tags are nested inside the <span>
tags or better still - as already suggested - remove the spans and add the class and direction directly to the <a>
tags.
1 Like
nono29
September 17, 2014, 4:13pm
32
hello!
but if i remove the span and Iโm not saying that i do it will not removed my design I did for the word ?
thanks galia
My compliments to every respondent in this thread on their patienceโฆ
1 Like
felgall
September 17, 2014, 7:26pm
34
not if you add the class to the <a>
tag instead
donโt use <span>
tags when there is already a tag around the content you want to style - simply style the tag that is already there
nono29
September 17, 2014, 9:08pm
35
hello!
i am sending again the code page for you to check up if it is good I just repaired the links
the code
http://jsfiddle.net/rsm0a6x9/
thanks galia
Yes you properly repaired the links. What are your issues now?
nono29
September 17, 2014, 9:24pm
37
hello!
There is no underline in the middle links
sending image
thanks galia
The span is the issue. Remove the spans and you will now see it work. As we have all been saying please transfer the styles to the anchor.
nono29
September 17, 2014, 9:42pm
39
remove the highlight class
galia
Removing the span would be preferable
nono29
September 17, 2014, 9:57pm
41
hello!
it is good now but not what i want i want to look like before and with the underline like the links down
sending image
thanks galia