Questions tagged as 'css3'

4
answers

___ ___ erkimt Align text after image ______ qstntxt ___

Hello, I have a problem that I do not know how to solve. This is my situation:

ButIwantittolookthisway:

And like I said, I have no idea how to solve it.

And this is my code:

%pre%

Thank you.

    
______ azszpr30062 ___

While you treat the text as a single character string, no space. Of course your code will not partition the content and will not consecutively fit the base of a %code% . I imagine, you will not have a single giant word like that.

Instead of dealing with style, I applied classes. Some sincerely even unnecessary, there is how to lapid this code a bit. The value of the body can be modified according to the proportions it will treat.

CSS

%pre%

HTML

%pre%

JSFiddle

    
______ azszpr30058 ___

I've pasted your HTML into jsfiddle and left working as you wanted it to, but I noticed that it's a little complicated beyond what it should be, it might be simpler, like this:

%pre%

JSFiddle

Or better yet, delete inline styles and just use classes, it's much easier to modify and adjust later.

    
______ azszpr30066 ___

Here it depends a lot on the effect you want. If you want the text to wrap the image, use float as in the solutions that have already been presented. Now you want to make two columns, that is, keep the space underneath the empty image, so you can do this:

%pre%

Note that the width value can be set to any value but the sum of all width and margin can not exceed 100%. The width has to be even defined because by default the value of the width of the image and of the p is of 100% it makes the text stay under the image.

    
______ azszpr170973 ___

%code% in the image. simple and easy:)

    
___

Hello, I have a problem that I do not know how to solve. This is my situation: ButIwantittolookthisway: And like I said, I have no idea how to solve it. And this is my code: <div style=" position: relative; height: 300px; f...
asked by 23.08.2014 / 03:00
1
answer

Inclined carousel (diagonal) in jQuery and CSS

I need to make a carousel tilted (diagonally according to the image) but with transition between the movements. I've prototyped something in this JSFiddle , but the movement is only working on the "back" button, yet with an abrupt transi...
asked by 21.10.2014 / 12:58
2
answers

The UL LI losing formatting after I put it in line ... Why did my "balls" disappear?

I have an unordered list <ul><li> I want it to be horizontal, not vertical, but when I put it to stay in line with display: inline-block my indicative "poles" are gone! Notice that the only thing I changed was to kee...
asked by 07.11.2018 / 14:25
18
answers

What is the best way to centralize an element vertically and horizontally?

What is the best way (by "best" I mean: with the widest possible compatibility between browsers and as simple as possible) to position an element in the center of the page, vertically and horizontally and independently of resolution using only...
asked by 29.01.2014 / 18:29
2
answers

How to use @ Font-face with an arbitrary font?

I would like to know how it works @ font-face how should I apply it in my CSS code as I want to use a font called Tekton Pro in> but if you only use the font-family: Tekton Pro tag does not work and would like it to get caught up in brows...
asked by 20.05.2015 / 15:35
1
answer

How to make the clip property: rect (...) do not occupy space (width)

I would like to know if there is any chance that clip: rect(...) will actually 'cut' the element in question, not just hiding it. Here in this image, without clip: rect(...) , shows the border to exceed the space of your containe...
asked by 15.02.2014 / 21:31
1
answer

Image limit per line using FlexBox

I'm using flexbox to display images, however it lists all in one line, I'd like to be able to display 3 images per line. HTML structure: <section class="content"> <?php $i=0; $sql = mysql_query("SELECT * FROM slideshows...
asked by 25.02.2014 / 21:23
2
answers

Vertical alignment in a div with position: absolute

I would like to know if it is possible to vertical-align in a div with position absolute? Here is the code for analysis: .teste { background: #F00; width: 500px; height: 100px; display: table-cell; vertical-align: mi...
asked by 28.08.2014 / 16:22
1
answer

How to do animation with SVG or CSS of a Text walking along the path?

I have an SVG which is a Text aligned in a Path . But my intention is to make the text "running" by Path , like a Marqueer . The idea would be something like this image. ButwhatIwasabletodowasanimatetheentireElementby"running...
asked by 28.11.2018 / 12:36
3
answers

Elements with corners cut with Css

I need to make elements with cut corners, equal to these squares. How can I do it?     
asked by 04.03.2015 / 13:55