spot7.org logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML Categories
  Home » HTML » Page 2
Adding screenshot to TestNG
I noticed triple / at beginning and you didn't close <img> Try following code: String pathToScreen = "C:\User\User123\file.png"; String path = ("<img src="file://" + pathToScreen + "" alt=""/></img>"); Reporter.log(path);

Categories : HTML

Background image not displaying on any IE version
CSS3 gradient backgrounds only work in IE10 and 11 by targeting the -ms- prefix. http://caniuse.com/#search=gradient However, you can use the non-standard gradient filter for below that. I would recommend using something like the following to generate gradients http://www.colorzilla.com/gradient-editor/ It will give you options to import your current CSS to generate an output that's relatively c

Categories : HTML

Set default width and min width property
Adding the following properties to the container .modal.dialog: .modal_dialog { display: inline-block; width: auto; min-width: 500px; max-width: 800px; } max-width and max-height constrain the container to the required dimensions and setting the display to inline-block and the width to auto will adjust the container width to the image width if it is between 500px and 800px.

Categories : HTML

Passing info in a URL to Sharepoint
Your query string looks correct: Connect a Query String (URL) Filter Web Part to another Web Part You will then need to implement javascript on the page to loop through all the keys and populate the form as required. You should be able to use this link to help you with your javascript or please post what you are currently using: Getting query string values in JavaScript

Categories : HTML

UIWebView select element options font
Unfortunately there is no way as of yet to do this globally. I have to do it in the cellForRowAtIndexPath method as follows. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *simpleTableIdentifier = @"SimpleTableCell"; UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:simpleTableIdentifier]; i

Categories : HTML

Trying to open other website content in My website
You can use JQuery to do it: <script>$("#testLoad").load("http://www.example.com");</script> <div id="testLoad"></div> and you can read more on : Embed an External Page Without an Iframe?

Categories : HTML

xpath select node texts and child nodes
You can get all children except the div with class a or b using node() and self:: syntax: //div[@class="details"]/node()[not(self::div[@class="a" or @class="b"])] Demo using scrapy shell: $ scrapy shell index.html >>> nodes = response.xpath('//div[@class="details"]/node()[not(self::div[@class="a" or @class="b"])]').extract() >>> print ''.join(nodes) content 1 <p>con

Categories : HTML

my Css3 animation not working on mozilla
As per http://caniuse.com/#feat=css-animation: @keyframes not supported in an inline or scoped stylesheet in Firefox (bug 830056) Are you using it in an inline or scoped way? If so, there's your answer.

Categories : HTML

How do I change reverse footnotes of kramdown using CSS?
As far as I know, this isn't presently an option in kramdown — at least, it isn't listed in the configuration options. (Might want to submit a feature request; the devs are very responsive.) However, there're a few workarounds that you can try, depending on your situation. Of these, probably the simplest is to pipe your output through sed and change the character to whatever you want: k

Categories : HTML

Django WeasyPrint CSS integration warning: Relative URI reference without a base URI: at line None
Answering my own question. Yeah so this was ridiculously simple. All I had to do was add base_url=request.build_absolute_uri(). So the print command looks like: weasyprint.HTML(string=html,base_url=request.build_absolute_uri()).write_pdf(response)

Categories : HTML

How can you align multiple table rows against a single table row?
table, td { border:1px solid #999; } <table> <tr> <td rowspan="3">One row</td> <td>these</td> <td>are</td> <td>multiple</td> </tr> <tr> <td>rows </td> <td>against</td> <td>one</td> </tr> <tr> <td>row</td> <td>&nbsp;</td> &l

Categories : HTML

How to keep text in the middle of the screen even when re-sizing page in html/css
Remove the padding and add margin: 0 auto. Fiddle .content { position: relative; text-align: center; width: 800px; top: 50px; font-size: 20px; margin: 0 auto; } <div class="content"> <p>this is sample text.this is sample text.this is sample text.this is sample text.this is sample text.</p> </div>

Categories : HTML

Manually Striping Bootstrap Table
You can use the Contextual classes of bootstrap: .active - Applies the hover color to a particular row or cell .success Indicates a successful or positive action .info Indicates a neutral informative change or action .warning Indicates a warning that might need attention .danger Indicates a dangerous or potentially negative action Or you can create new classes of your own with

Categories : HTML

Edit Javadoc Directly (index.html)
The generated javadoc you posted does not have a HTML head element, so if you add one, the browser probably just displays that. If I understand you correctly, you want to add some text to the generated javadoc. If you want to add something to every page, you could use the bottom command line argument. Here's an example from the Javadoc man page: javadoc -bottom '<a href="{@docRoot}/copyright

Categories : HTML

Bootstrap Carousel Caption Not Responive
Use twitter bootstrap responsive utilities here is the Link and add the following class in your main h3,h4,p in h3 add visible-md visible-lg in h4 add visible-md visible-lg in p add visible-md visible-lg the font size depends on you that you can change it according to your need... after that add this code after you h3,h4 and p <h4 class="slider-head visible-xs visible-sm col-xs-12 col-sm

Categories : HTML

Twitter-Bootstrap 3 - Background color only between columns
this takes advantage of borders being a calculated with the width to achieve the same effect you were looking for http://www.bootply.com/CVbu8QWsXq

Categories : HTML

Make footer stick to bottom of body without using absolute positioning?
You can with position: fixed look the example .footer{ position: fixed; width: 100%; bottom: 0; margin-bottom: 10px; text-align: center; text-decoration: overline; color: #999; font-size: 0.9em; } jsfiddle example

Categories : HTML

Easy way to center ANYTHING inside of a
First of all wrap them in a div for eg. called #toCenter and apply the following css: #toCenter{ position: fixed; /*or absolute*/ left: 50%; top: 50%; -webkit-transform: translate(-50%,-50%); -moz-transform: translate(-50%,-50%); -o-transform: translate(-50%,-50%); -ms-transform: translate(-50%,-50%); transform: translate(-50%,-50%); } This method only works IE9 and further.

Categories : HTML

Increasing the width of navigation items with transition on hover
So you have a typo on your hover widths — width = 900px should be width: 900px. That said, even when you get it working, the other links will be pushed onto a new line if the browsers viewport isn't wide enough. One solution is to use display: table / display: table-cell Compatibility: IE 8+ and all modern browsers. Firstly, let's improve our markup: A <nav> seems appropriate to

Categories : HTML

Can't remove black bar from bootstrap menu to show my menu changes
You have to use !important in order to overwrite the css for example .navbar-default { background-color: #0080c0 !important; border-color: #80ffff !important; } But you have to be careful in modifying the base (bootstrap) css, as this will get reflected in all the places that you have used that class Instead you can create a custom class and add it to your html .navBarBG{ background

Categories : HTML

Methods for counting HTML tags in VBA
Step 1: Get the html source code using .document() and save it in String variable, lets say 'strHtmlCode' Step 2: Calculate the occurance of the required string (i.e "artist-box-support") in String variable strHtmlCode using VBA string functions. Here is the nested if functions i created to count the occurance of one string in another: numberOfOccurance = Len(strHtmlCode) - Len(Replace(strHtmlCo

Categories : HTML

HTML attribute names are case-sensitive? Conflicting information.
They means for custom attributes only. The normal attributes are not case-sensitive. Such as <tag myAttr="myattr" MyAttr="MYATTR"></tag> (refers to XML not HTML)

Categories : HTML

How to stop inline HTML comments from going to the next line when using Reformat Code in PHPStorm?
AFAIK there is no such option. https://youtrack.jetbrains.com/issue/WEB-5070 -- star/vote/comment to get notified on progress.

Categories : HTML

Margin Help Again
Is this what you're looking for? <!DOCTYPE html> <html> <head> <style> html, body {height: 100%; background-color: pink} body {padding: 40px 40px 0 40px; box-sizing: border-box; margin: 0} p {margin-top: 0} .container {height: 100%} .header {background-color: #6F5997; height: 20%; border-radius: 15px 15px 0 0} h1 {color: p

Categories : HTML

How to make my home page screen fit without scrolling
In my idea you may be thinking of setting a default minimum height and width for the page but that's just what I'm thinking what you're saying. Try: body{ min-height: 500px; min-width: 500px; max-height: 1000px; max-width: 1000px; }

Categories : HTML

How do I make the background fit the full size of the screen no matter what size the monitor is?
The browser support for multiple backgrounds is pretty good nowadays, if you wanted 2 full size background images on top of each other you could declare them both in the same div. Heres the browser support: http://caniuse.com/#feat=multibackgrounds The syntax is: background-image:url(''), url(''); Comma separated. You'll then need to keep the same order in your background-size: and background-p

Categories : HTML

Maintaining aspect ratio with min/max height/width?
I don't know if this is possible using only CSS. However, you may be able to accomplish the same thing with a few lines of JavaScript: var img= document.querySelectorAll('img'); for(var i = 0 ; i < img.length ; i++) { img[i].onload= function() { var h= this.naturalHeight; h= Math.min(500,Math.max(200,h)); this.style.height= h+'px'; } } This sets the height of all images to b

Categories : HTML

Wordpress - Shortcode Ignoring External Divs
I managed to answer my own question so hope I can help others with the same problem: /*------------------------------------------------------------------- * Some Shortcodey Thingy *------------------------------------------------------------------*/ add_shortcode('thingy','thingy_shortcodes'); function thingy_shortcodes( $atts, $content = null ) { extract(shortcode_atts(array( 'catego

Categories : HTML

Snow appears in the back of my divs
You should definitely try and explain a bit more in order to receive a proper answer. Anyway ... im gonna put my .02 cents here. Since you specified that the snow shows on the back of the other divs this might mean that this might be an z-index issue. Thats all i can tell only from what you told. So: 1) give us some more info. 2) try and change the z-index of the div that contains the snow an

Categories : HTML

Trying to put my header button in the center of the page
float takes only three values: left, right and none. Change the float: center to text-align: center and replace border-width: 5px; border-style: solid dark-blue 5px; with border: 5px solid darkblue; header div { height: 250px; width:950px; background-color: white; border: 5px solid darkblue; border-radius: 10px; margin: auto; padding-top: 50px; clear: both;

Categories : HTML

Line-through when checked over multiple td's using CSS
That is because you have a different syntax for each table. If you put the checkbox and label in the same td in the second table it will work just fine. (and of-course make the id unique so that the second label does not point to the first element..) .checkedBox:checked + .checkedLabel { text-decoration: line-through; color: blue; } <table> <tr> <td>

Categories : HTML

CSS - Simple text texture
If you've inspected the source of the page of interest you can see that the logo is hardcoded in the form of an image file. For dynamically-textured text, you can use the background-clip property, which is supported in WebKit browsers so far. There are other fallbacks available, and the techniques are well-documented here: http://css-tricks.com/image-under-text/ h1{ /* Background clip */ b

Categories : HTML

Background css image won't show in firefox
First of all background-position-y not works in firefox as it suppsoed to be So it should be background-position: center 35px; body{ background: url('../../images/eraser.svg') no-repeat scroll center; background-size: auto 350px; background-position: center 35px; }

Categories : HTML

Where to edit bootstrap @grid-float-breakpoint
There are 2 recommended main and different ways to change the @grid-float-breakpoint (this is a variable in LESS). You can download the master (https://github.com/twbs/bootstrap/archive/master.zip), open the bootstrap.com/variables.less file and then compile that with a LESS compiler. This involves installing a LESS compiler on your computer, such as Grunt (multi-platform) or CodeKit (Mac).

Categories : HTML

My contents go out of place when zooming in or out
The problem is obviously your css. It is so hardcoded with pixels everywhere that things blow apart eventually. Even on my laptop screen with 1366*768 resolution, chrome can't open things properly at 100% zoom,. I had to zoom out to 75% to see it properly. PS:will eventually post some css edits html <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/

Categories : HTML

Problems with logo positioning
Try this and move #logo out of the center tag. You don't need the center tag anymore. #logo { width: 100%; height: 190px; background: url(../i/logo.png) no-repeat center; }

Categories : HTML

HTML5: Canvas width and height
Almost all size parameters in HTML5 are going to be in pixels. If you're experiencing issues drawing the canvas with your current code, try taking out the self-closing block at the end: <canvas id="myCanvas" width="200" height="300"></canvas> You may also consider viewing the properties of the canvas element as defined by W3 Schools: http://www.w3schools.com/html/html5_canvas.asp

Categories : HTML

How to vertically align glyph?
You can apply vertical-align: top to the text with vertical align: middle on the glyph to achieve this behaviour. By adjusting the line-height of the glyph you can change its offset. Here's a JsFiddle with the glyph aligned to the middle: http://jsfiddle.net/zephod/csh0da6o/2/

Categories : HTML

Setting height to 100% of parent element
You can do this easily by converting this from a <ul> to a <table> which natively supports what you are trying to do. user misterManSam provided the <table> version of this answer in this jsbin demo in the comments below To do this using your current setup you can do the following: http://jsfiddle.net/4tjama61/ CSS .course-info li { width: 100%; display: block;

Categories : HTML


Recently Add
Div to Wrap Content?
Vertically align an inline-block next to an inline-block that is taller
3x3 table in css and html each side different colour
Adapt website for blind people
Toggle menu is not working in the mobile device
Silverstripe 3: How to remove html text from GridField in EditForm view?
Max height - change when window is resized?
How can I create a non-repeated outside border image?
How to insert raw html in jade file (not include external html file)
Background-image repeating when resize window (background-repeat is no-repeat)
CSS: Horizontally centering in a container smaller than the actual element
Will subdomain and Wordpress interfere with eachother?
Sub menu in specific location
Disabling border-collapse for single columns and rows
Call function in asp from onclick button
Background bigger than iframe
If Else button pressed in HTML5?
How to get multiple rotating background cover with css / Full screen slideshow
Two divs side-by-side—one in the centre, the other on the right
Chrome hides SPAN if "list-style-type" is "none"
How can I change the size of my css button in outlook?
Retain table layout while using block display for tbody
Align image in unordered list with list items
Background-color covers previous line
Sending a web page as HTML mail from Perl
Correctly formatting arrays in HTML
HTML/CSS - Change color of inputbox if certain number of chars is entered
Polymer SVG as CSS background-image not working
inside a
how to replace or update json value in file?
© Copyright 2017 spot7.org Publishing Limited. All rights reserved.