- Posts: 2
- Thank you received: 0
computed width of ul - carousel
-
mandy_m
Inactive member - Topic Author
- New Member
Less
More
13 years 6 months ago #9012
by mandy_m
computed width of ul - carousel was created by mandy_m
Hi I have used the Hot Carousel in a fixed width div of my joomla template. The images looks great but the ul is extending off the page (it is hidden though). When tracing the styles with a browser there is some inline css being applied to the ul that is not visible in the code view. It is giving it a computed width of around 2800px??
As a result the control buttons are floating above and below the carousel. Overflow is still hidden and it is not breaking the template layout.
Have tried changing all params. I cannot find anything in the module code that is adding an inline style to the ul. Any suggestions?
The code when viewed with firebug:
I would really appreciate any advise thanks
As a result the control buttons are floating above and below the carousel. Overflow is still hidden and it is not breaking the template layout.
Have tried changing all params. I cannot find anything in the module code that is adding an inline style to the ul. Any suggestions?
Code:
<div class="hotcarousel">
<div class="foo">
<ul style="margin:0; padding:0">
<li>images and correct paths here</li>
</ul>
</div>
</div>
The code when viewed with firebug:
Code:
<div class="foo js">
<div class="carousel-wrap" style="overflow: hidden; position: relative; height: 237px;">
<ul style="margin: 0pt; padding: 0pt; position: absolute; top: 0px; width: 2808px;">
I would really appreciate any advise thanks
Please Log in to join the conversation.
-
mandy_m
Inactive member - Topic Author
- New Member
Less
More
- Posts: 2
- Thank you received: 0
13 years 6 months ago #9017
by mandy_m
Replied by mandy_m on topic Re: computed width of ul - carousel
All good thanks anyway - I saved it about another 30 times and it just started working, everything is on the one line - very strange
Please Log in to join the conversation.
Time to create page: 0.146 seconds