Displaying 1-7 of 7 results.
Resolved: Css pre last child
posted by admin on November 7, 2016
I want to get pre-last child of children elements
Example:

<table>
<tr><td>1<td><td>2<td><td>3<td><td>...<td><td>n-1<td><td>n<td></tr><!-- 1 -->
<tr><td>1<td><td>2<td><td>3<td><td>...<td><td>n-1<td><td>n<td></tr><!-- 2 -->
<tr><td>1<td><td>2<td><td>3<td><td>...<td><td>n-1<td><td>n<td></tr><!-- 3 -->
...//<!-- ... -->
<tr><td>1<td><td>2<td><td>3<td><td>...<td><td>n-1<td><td>n<td></tr><!-- m -->
<tr><td>1<td><td>2<td><td>3<td><td>...<td><td>n-1<td><td>n<td></tr><!-- m - 1 -->
</table>

I want to get all pre td elements selector in css styles, like

table tr td:last-child(-1){
/* to do */
}
Read more
Resolved: How do I auto-hide placeholder text upon focus using css or jquery?
posted by admin on August 16, 2016
This is done automatically for every browser except Chrome.

I'm guessing I have to specifically target Chrome.

Any solutions?

If not with CSS then jQuery?Read more
Resolved: How to align 3 divs (left/center/right) inside another div?
posted by admin on July 18, 2016

[[LEFT] [CENTER] [RIGHT]]

Container div is 100% wide (no set width), and center div should remain in center after resizing the container.

So I set:

#container{width:100%;}
#left{float:left;width:100px;}
#right{float:right;width:100px;}
#center{margin:0 auto;width:100px;}
Read more
Resolved: CSS html textarea with 100 % percent right part goes beyond the scope of the block
posted by admin on May 22, 2016
HTML

<div>
<textarea></textarea>
</div>


CSS

textarea{
with: 100%;
}
div{
width: 500px;
}


Textarea bigger than div. How to resolve it?Read more
Wiki: Using font-face cross browser. Синтаксис Fontspringwiki
posted by admin on March 25, 2016

@font-face {
font-family: 'MyFontFamily';
src: url('myfont-webfont.eot?') format('eot'), /* IE9 Compat Modes */
url('myfont-webfont.woff') format('woff'), /* Pretty Modern Browsers */
url('myfont-webfont.ttf') format('truetype'), /* Safari, Android, iOS */Присылайте
url('myfont-webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
}
Read more
Resolved: Awesome fonts Fa icons hover underline
posted by admin on March 14, 2016
In fa icon hover I see underline, like shadow. How to remove it

HTML code:

<a class="fa fa-instagram fa-2x insta" href="http://isystems.am"></a>
Read more
Resolved: How do I horizontally center an absolute positioned element inside a 100% width div?
posted by admin on January 1, 2016
In the example below, #logo is positioned absolutely and I need it to be horizontally centered within #header. Normally, I would do a margin:0 auto for relatively positioned elements but I am stuck here. Can someone show me the way?

HTML

<div id="header">
<div id="logo"></div>
</div>


CSS

#header {
background:black;
height:50px;
width:100%;
}

#logo {
background:red;
height:50px;
position:absolute;
width:50px
}
Read more