Questions tagged [markup]

Markup covers various systems for annotating text with extra information which defines its formatting or appearance. Markup languages include HTML, XML, SGML, and markdown. The markup can typically only be seen when editing a document, not when viewing it.

Markup covers various systems for annotating text with extra information which defines its formatting or appearance. Markup languages include , , , and .

The markup can typically only be seen when editing a document, not when viewing it.

1350 questions
0
votes
2 answers

Original Markup inInternet Explorer in Range / Selection

I am extracting content selected by the user via this function: function getSelectionHTML() { var userSelection; if (window.getSelection) { // W3C Ranges userSelection = document.getElementById('axPage').contentWindow.getSelection(); …
Peavey
  • 302
  • 2
  • 11
0
votes
2 answers

Change background color not working. JQuery

What I'm trying to do is crate a button that changes the background color of the div container with the color that was specified on the tags. When I run this on my console it says that my variables have not been specified.
Manuel Medina
  • 409
  • 1
  • 7
  • 14
0
votes
2 answers

Markup incorrect but can't find the error

I've started the css to a website, but am having some markup issues with my HTML here is a link to the code. http://pastebin.com/dTRH263t seems I've not closed some div's but when I look back at it can't see the problem. Thanks.
Dannyw24
  • 61
  • 8
0
votes
1 answer

How to (re)create JSON records from HTML data attributes

This might be something quite trivial, but I have very little experience in the field so it might as well turn out quite complicated. Basically, I'm trying to render a bunch of HTML data attributes into their JSON equivalents. For example I have the…
user2339805
0
votes
1 answer

Markup Validation errors

I'm getting 1 Error found while checking this document as XHTML, through validator w3. It's really bugging me as I've gone over it numerous times and I can't find it. Can anyone please spot it? Thank you so much! This is what I'm…
user2239972
  • 45
  • 1
  • 8
0
votes
1 answer

is rich-snippet value type deprecated?

i´m using google rich-snippet markup and you define the type like
when you look up http://data-vocabulary.org/Review-aggregate in the browser, google say 404, not…
john Smith
  • 17,409
  • 11
  • 76
  • 117
0
votes
1 answer

HTML5 Auto Anchor Generation When Wrapping Block Level Elements

So this is quite interesting to me. I've got the following example markup:

Hello World

Hello again

When I have my Google Chrome (Version 26) rendering this, it shows me exactly this…
amann
  • 5,449
  • 4
  • 38
  • 46
0
votes
1 answer

Passing Arguments via ajax - Correct Markup

I am putting together a front end for a shopping basket, and it uses a Javascript API to communicate with the database. I have methods such as: updatePackageQuantity updateProductQuantity removePackage reinstatePackage Each of the methods require…
Chris J Allen
  • 18,970
  • 20
  • 76
  • 114
0
votes
1 answer

Jquery mobile - update button style

If you add items to a listview, you'll need to call the refresh() method on it to update the styles and create any nested lists that are added. For example: $('#mylist').listview('refresh'); What code I need if I add buttons to the page and refresh…
alexander-fire
  • 1,082
  • 4
  • 27
  • 52
0
votes
2 answers

show data in listview pulling from DB

trying to use data-filter attribute of listview but its working like a plain html listview getting some errors regarding "refresh" of listview HTML code:
Erum
  • 790
  • 3
  • 14
  • 36
0
votes
2 answers

jQuery parent() function not working

Consider the following HTML
FOO
When I run this…
Matthew Layton
  • 39,871
  • 52
  • 185
  • 313
0
votes
1 answer

HTML - Will this be valid for an hgroup tag?

Is this valid markup for an hgroup tag?

Main header

Sub header

For design purposes I want to put an image between the h elements. Putting the h tags within an hgroup would be in keeping with the…
0
votes
1 answer

create dynamic collapsible set after ajax call

I'm trying to build a dynamic collapsible set in jquery mobile, and the code below just creates a regular div with two paragraph elements. all happens after an ajax call to an aspx webmethod which returns some values I would like to put in the…
Dvirski
  • 321
  • 4
  • 16
  • 36
0
votes
3 answers

HTML markup in mail

private void button1_Click(object sender, EventArgs e) { if (check() == true) // True: sends mail { try { // Mailmessage wordt gedeclareerd (hiermee kan je mails sturen) MailMessage mail = new…
David Asssad
  • 41
  • 1
  • 9
0
votes
2 answers

Style Button in Header of JQuery Mobile App

I have a JQuery Mobile app. I want to style the buttons that are used in the "header". Currently, I have the following: .my-btn-hdr { text-transform:uppercase; background-color:blue; color:white; min-height:33px; width:93px; } ...
Eels Fan
  • 2,043
  • 6
  • 22
  • 23