Hello,
I have one issue :
i have to show rss content in slider and it works peffect in all other
browsers except in Firefox , where the rss content come out of the boundaries of the slider,
my question is how to make the content to show in slider div properly like
in other browsers? I have tried almost everything with no success, i think
maybe the problem is somewhere in the css file but don't know what exactly
is wrong, please if you can sudgest something to fix it i'll be very greatfull
for any help.
-here is the code:
Code:
.sliderwrapper{
position: relative; /*leave as is*/
overflow: hidden; /*leave as is*/
border: 10px solid navy;
border-bottom-width: 6px;
width: 400px; /*width of featured content slider*/
height: 250px;
}
.sliderwrapper .contentdiv{
visibility: hidden; /*leave as is*/
position: absolute; /*leave as is*/
left: 0; /*leave as is*/
top: 0; /*leave as is*/
padding: 5px;
background: white;
width: 390px; /*width of content DIVs within slider. Total width should equal slider's inner width (390+5+5=400) */
height: 100%;
filter:progid:DXImageTransform.Microsoft.alpha(opacity=100);
-moz-opacity: 1;
opacity: 1;
}
.pagination{
width: 400px; /*Width of pagination DIV. Total width should equal slider's outer width (400+10+10=420)*/
text-align: right;
background-color: navy;
padding: 5px 10px;
}
.pagination a{
padding: 0 5px;
text-decoration: none;
color: #00007D;
background: white;
}
.pagination a:hover, .pagination a.selected{
color: #000;
background-color: #FEE496;
}
Site: DarikNews.bg: света и България
Ангелов: Продължаваме да вярваме
ArcelorMIttal оставил без работа 700 миньори в Босна
Черно море излезе на трето място в НБЛ
Президентът на България доволен от победата на националите
Мъри: Проблемите ни обединиха в отличен колектив
Осем чужденци пострадаха при катастрофа
Дело за наркотици тръгна след шест отлагания
Отново в играта! България би Кипър 2:0
Обама: Трябва да действаме заедно срещу икономическата криза
Лидерът на СДС – Варна се оттегля
Започва ремонтът на една от най-разбитите улици в Свиленград
Бронзовият Кирил Терзиев: Беше много тежко
На живо: Световни квалификации, Зона Европа
Б. Кръстев: "Бяхме дошли за 1 точка. Дано си вземем следващите домакински мачове"
Bутов се оттегля от треньорския пост в Локо СЗ, но остава, като съветник
To appear inside of your <div id="slider2" class="sliderwrapper"> div? If so, you've closed your div tag in front of the content. Just move the closing div tag down below.
As for the error pointed out by drhowarddrfine, he's taken you most of the way there. You want to delete the <html> and <head> tags but you'll also want to add another <head> tag down below like so:
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" lang="en" xml:lang="en">
<head>
If you don't do this extra step you will still be in a bad position.
Site: DarikNews.bg: света и България
Ангелов: Продължаваме да вярваме
ArcelorMIttal оставил без работа 700 миньори в Босна
Черно море излезе на трето място в НБЛ
Президентът на България доволен от победата на националите
Мъри: Проблемите ни обединиха в отличен колектив
Осем чужденци пострадаха при катастрофа
Дело за наркотици тръгна след шест отлагания
Отново в играта! България би Кипър 2:0
Обама: Трябва да действаме заедно срещу икономическата криза
Лидерът на СДС – Варна се оттегля
Започва ремонтът на една от най-разбитите улици в Свиленград
Бронзовият Кирил Терзиев: Беше много тежко
На живо: Световни квалификации, Зона Европа
Б. Кръстев: "Бяхме дошли за 1 точка. Дано си вземем следващите домакински мачове"
Bутов се оттегля от треньорския пост в Локо СЗ, но остава, като съветник
to show in one of the three <div class="contentdiv"> Content here </div>
in <div id="slider2" class="sliderwrapper"> ....</div>
i tried to move end div like you sudgest ,but not worked ,
if you can guide me how exactly to do it i 'll be very greatful.
I don't think fixing the W3C html errors will solve the problem with the slider in firefox
i fix some of them with no effect, i will fix all of them later after i solve the problem with slider, i think the issue is somewhere in css file or in divs but dont know what exactly, please if you can guide me how to fix it.