Can't make element float with custom CSS
-
Hi,
I’m customizing the theme with my own CSS and this code, which works elsewhere, does not seem to respond on this theme. I don’t know what I’m missing here, any help will be appreciated!
span.paradestacargeorgia { float: left; margin-right: 15px; border: 1px solid #E5E5E5; color: #333333; display: block; font-family: Georgia, Serif; font-size: 100%; margin-top: 25px; padding: 12px 8px 8px; position: relative; text-align: left; width: 70%; } span.paradestacartitulo { background: #D19E34 none repeat scroll 0 0; color: #ffffff; display: block; font-family: Arial, Sans-Serif; font-size: 100%; font-style: italic; font-weight: normal; left: 10px; padding: 3px 8px; position: absolute; top: -15px; } div.floatright { float: right; width:280px; margin:0 0 0px 0px; padding:10px; text-align:center; }
The page in which it’s not working is this one (it’s in Spanish), and the code is on the paragraph under the first heading, like this:
<div class="floatright"><span class="paradestacargeorgia"><span class="paradestacartitulo">Para Destacar</span>Lo más culminante de este panel fue la exposición de la información estratégica más actualizada en temas de salud sexual y reproductiva de adolescentes en la región.</span></div>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Can't make element float with custom CSS’ is closed to new replies.