Questions tagged [markup]

1

votes
0

answer
20

Views

Blockquote element for centered text in books

Once in a while, a novel (book, story, short story, etc.) will have a block of centered text to display something external from the main subject, either a sign that is being read, an abstract text, etc. Would it be proper (semantically correct) to use the blockquote element in these cases? For examp...
Emily
1

votes
1

answer
37

Views

Semantic way of adding an advertisement inside the <main> element?

I am planning to insert an advertisement in the middle of the page content while not breaking accessibility and semantics. My page has its contents inside a element, but I am confused if I should use an or to nest the advertisement. What confuses me more is that W3C's documentation says: compleme...
JAT86
1

votes
1

answer
101

Views

Specifying fallback fonts with Pango markup for Gtk application

I am developing a dialog for my application using Ruby Gtk and have a requirement of displaying the text on the dialog in the Open Sans font. I have used Pango markup below to achieve this and seems to work as expected on my system. #{value} To make it work though, I also had to manually install the...
1

votes
1

answer
17

Views

Should the label wrap my input or the other way around? [duplicate]

This question already has an answer here: Should I put input elements inside a label element? 12 answers I have this markup:
coolpasta
1

votes
0

answer
27

Views

Reader View for clutter-free Design

Are there any Guidelines to do Reader View Design? I've been looking for documentation about it, and I find nothing recent, a lot of discussion about having no standard established... I want to enable the site to be able to visualize in a nice way on Kindle, Tablet reader mode, terminal browsers,...
ekiim
1

votes
3

answer
52

Views

How do I describe an image created using CSS? [closed]

So for images, there's the alt attribute to tell people who can't view it what it is. What if I have a bunch of divs styled in such a way that it creates an image? (Like a bunch of divs styled to look like a dice using CSS perspective and transforms). How do I tell screen readers that 'Hey! this is...
xagipi
1

votes
1

answer
61

Views

How add tooltip for disabed button ? (reactstrap)

How add tooltip for disabled dropdown button. I use reactstrap.
Oleg Ovcharenko
1

votes
1

answer
21

Views

Why doesn't asterisk work in Xcode Quick Help markup?

As Markup Formatting Reference states, you can use *,+ or - characters as prefixes for markup keywords. For example, take a look at Parameter: Now, when I try to use *, markup doesn't work: /** * Parameter piece: A piece to validate. * Parameter matchBlock: Called only if necessary. */ init(piece: M...
kelin
1

votes
1

answer
46

Views

Should I use a button or a link if the URL doesn't change?

I'm building an app which works only with JavaScript enabled (otherwise, an appropriate message is displayed). There are a couple of screens in the app: game, tutorial, settings, about/credits. They look like separate pages, but it's all a single-page app. There are no URL changes when navigating be...
Lazar Ljubenović
1

votes
0

answer
14

Views

How to semantically add labeling to non-input elements that are used as inputs

I am currently working on a website which incorporates heavily styled inputs, for example using the -element to style checkboxes: And where the standard types just can't be reliably styled, We have recreated the neccessary functionality with other element types, for example has been replaced with...
Jave
1

votes
1

answer
17

Views

create html from r file containing markup code

I have an R file which contains: --- runtime:shiny output:html_document - -- ### Here are two Shiny widgets '''{r echo = FALSE} selectInput('n_breaks', label = 'Number of bins:', choices = c(10, 20, 35, 50), selected = 20) I have a 'build' file: setwd('C:/Bla/Shiny/Markup') rmarkdown::render('ShinyM...
cs0815
1

votes
0

answer
28

Views

Why is the title of an HTML document written as a 'title' element and not as a 'meta' element?

In a HTML document all meta information inside the head element is written as an attribute value of an element, e.g. the meta elements. Why is the title value for the HTML document not written the same way, but placed as the content of the title element instead?
marvhock
1

votes
0

answer
23

Views

Docutils: Does rst2html copy images?

Does rst2html copy image directories and image paths? I tried rst2odt and it copies the images. I failed to reach the same for rst2html. It's crazy. It is a tool for documentation and yet I am searching for hours to find a definitive answer to such a central question.
Blcknx
1

votes
1

answer
22

Views

Semantic HTML for article reactions

I need to create a reaction section for blog posts (think like Facebook reactions), but am wondering if the markup I've chosen is semantically correct. Would reactions fall under the tag in an ? I decided to use a the element with a for the name of the reaction. Right now it's just a mock using e...
sammiepls
1

votes
0

answer
23

Views

Using date for the 'dl' element key?

I am creating an article list. An article list consists of date and article title: 2019-04-14 article_name1 2019-04-15 article_name2 2019-04-16 article_name3 I can use some list elements at this time. ol, dl, ul etc. When deciding which of these is appropriate, I wondered if it would be appropriate...
therd1500
1

votes
4

answer
1.8k

Views

Is it possible to export spatial data from Sql Server 2008 in gml2 format?

Sql Server 2008 supports spatial data with new geometry and geography UDT's. They both support AsGml() method to serialize data in gml format. However they serialize data into GML3 format. Is there any way to tell it to serialize data into GML2 format?
Alex Reitbort
1

votes
1

answer
350

Views

GML usage criteria, or what is the proper way for useing GML (Geography XML)

We want to use GML in our application; It is a GIS based application which simulates the real word objects (i.e. Pipes, Roads, etc) in a virtual reality environment. Currently we draw and store the geometry in AutoCAD DWGs but in future we want to change the Database. I really need to find the answe...
AliPST
1

votes
2

answer
947

Views

Is it possible to initialize a Control's List<T> property in markup?

Let's say we have the following: public enum RenderBehaviors { A, B, C, } public class MyControl : Control { public List Behaviors { get; set; } protected override void Render(HtmlTextWriter writer) { // output different markup based on behaviors that are set } } Is it possible to initialize the Beh...
Jason
1

votes
1

answer
76

Views

Semantic markup to achieve last row editable effect?

I'm looking to have a table that can be added to by just typing into the last row and clicking on the 'Add' button at the end of the row. All other rows in the table can be deleted by clicking on a button in their rightmost column. My problem is that forms can't wrap only one row and validate as XHT...
Allain Lalonde
1

votes
1

answer
1.9k

Views

Parsing Wiki markup in Javascript using regex

I'm attempting to parse some Wiki-style markup using the Javascript Creole Wiki Markup Parser. I'm attempting to extend the parser to parse div tags like so: Markup: any_content_here >> HTML: content Markup: ^^ any_content_here ^^ HTML: content The parser uses regular expressions to parse the mark...
thor
1

votes
1

answer
665

Views

jQuery: A widget or plug-in to create text balloons

I need to create some balloons that will contain text messages, similar to what you would see on a BBS or a blog comments area. I am not looking for a tool-tips widget - There will be several per page and they will always be displayed. My requirements: Drop shadows, if possible, using images instead...
user191688
1

votes
1

answer
333

Views

read php output into a js string?

Basically, I have an html page and I want to create a separate javascript file that reads all of the markup between the tags into a javascript string. Is there a way to do that? EDIT Okay, so, to elaborate a little more... In my tpl.php file, I basically have these lines js snippet: var text =...
phpN00b
1

votes
1

answer
118

Views

What is preferred accessible and semantically correct method to code this type of data design?

What is preferred accessible and semantically correct method to code this type of data design? Table UL, LI DIV,SPAN For icons should i use for each place or i should is icon from CSS sprites? If we use css sprite here then how to code, and what will happen when images will be disabled ? Every link...
Jitendra Vyas
1

votes
2

answer
256

Views

HTML Markup To Use For Video Transcripts

Any idea what the proper containing markup would be to indicate a transcript for a video? Thinking accessibility for folks with disabilities but also perhaps search engine recognition of the association between the text and the video.
phirschybar
1

votes
1

answer
220

Views

If I prefer semantic naming then shouldn't i use any CSS Framework and grid approach?

If I prefer semantic naming then shouldn't i use any CSS Framework and grid approach? Which approach is better Grid or Freehand? Is any CSS Frameworks really can save time and make semantic code even for Experienced CSS developer? Many CSS Frameworksd are popular in static PSD 2 XHTML+CSS conversion...
Jitendra Vyas
1

votes
1

answer
456

Views

css menu list with nested lists

I'm trying to recreate this type (example 1, example 2) of menu list style, but I need it to be able to handle nested lists and I'm not sure how to do it. does anyone have any insight how I can do this? ie (w/ minimal markup) : one two two and half Thanks a bunch!!
veilig
1

votes
1

answer
755

Views

Should I Use Anchor, Button Or Form Submit For “Follow” Feature In Rails

I am developing an application in Rails 3 using a nosql database. I am trying to add a 'Follow' feature similar to twitter or github. In terms of markup, I have determined that there are three ways to do this. 1) Use a regular anchor. (Github Uses This Method) Follow 2) Use a button. (Twitter Use...
James
1

votes
1

answer
303

Views

Getting proper indentation using XMLBuilder in a helper

I'm attempting to use a view helper to create some dynamic links based on if you're logged in or not. What I want returned, for sake of easy code readability, is: Login Register In the view helper I have this Ruby code: def loginh xm = Builder::XmlMarkup.new(:indent=>2, :margin=>4) xm.ul('class' =>...
Robbie
1

votes
2

answer
114

Views

Markup filter wanted for a public website

Developing a community site where everyone can post text, I'm looking for a markup filter: What is not part of the markup must be escaped (htmlspecialchars()) as it is. Should turn URL-s automatically into links Should support some form of basic markups (bold, image, url, pre, list) Should have a si...
sibidiba
1

votes
1

answer
976

Views

How to override embedded style in chrome?

Chrome appends an stylesheet and it make a lot of problems for me. for example this selector html>body, html>body * {background-color:#ffffff !important} is one oe the things I can't override in my own styles. Anyone has a solution for that?
Erinther
1

votes
1

answer
370

Views

Is it possible to set Hibernate's “default” variable name mapping?

I'm looking for a way to set the 'default' mapping that Hibernate applies to a variable name in a Java object to query it against the database. At the moment we are using the inline javax.persistence markup to manually set column names, but since we have a rigid naming policy for our database it wou...
Stephen
1

votes
1

answer
94

Views

Common Markup Language for Address/Location

I'm looking for a standard markup language to transmit addresses (locations). I really need nothing more complicated than a list of addresses with some metadata, each requiring a name, address, state, phone, email, geocoordinates, and some other metadata. I don't want to have to parse these addres...
Michael Krauklis
1

votes
1

answer
255

Views

xhtml tables - proper use

I have a pretty simple question. Is it a good practice to write tables with 2 different headers and repeating sub-headers like in the example 1 or is it better/more semantic to split this code into 2 tables (see example 2) ? Example 1: HEADER 1 sub-header 1 sub-header 2 sub-header 3 data data data d...
boraz
1

votes
2

answer
938

Views

accordion faq in wordpress

I would like to make a simple collapsible faq in wordpress. There are accordion menu plugins out there that offer way more features than I need. But I'm having trouble getting things to look right with the Simple Content Reveal plugin. I'm ready to try writing my own jquery code for the first time...
aparente001
1

votes
2

answer
134

Views

How can I convert this table-based layout to use semantic html with css-based layout?

In the image above, most of the html is semantic, using css to manage the look of it all. Despite my best efforts, though, I had to resort to using a table to get the segment on the right to stay where it is and allow its inner elements to wrap fluidly when it gets too big for the screen, like this:...
StriplingWarrior
1

votes
1

answer
276

Views

What HTML5 markup do you recommend for a multipage book?

I'm writing a small book in HTML5 which is divided into chapters and sections like this: chapter1.html - intro to chapter 1 chapter1section1.html - section 1.1 chapter1section2.html - section 1.2 chapter2.html - intro to chapter 2 chapter2section1.html - section 2.1 chapter2section2.html - section 2...
expora
1

votes
1

answer
283

Views

How to disable doxygen markup

I would like to disable all doxygen markup handling (in my function header). I've read through all the doxygen options (in doxywizard) but can't seem to find the option. Does it exist? EG: /** ------------------------------------------------------------------------- Function : : \Test Purpose...
adjutant
1

votes
1

answer
62

Views

Is there any ActionScript library for turning simple wiki mark up into html?

So what I need is simple - a flash/flex application for turning wiki Google like mark up into html. In actionscript and mxml. Is there anything like that? When do you need such thing? - you need it when you create an app for some multiple editors at the same time to work on one document, probably on...
Rella
1

votes
2

answer
432

Views

HTML/jQuery: Semantically tagging glossary-enabled terms in body copy

All, I'm working on adding a glossary to an existing site. I'm planning to set up individual .html fragments with individual definitions, then use a jQuery Tooltip plugin attached to individual terms in the copy that will pull the .html fragment and render it. This avoids having to pre-load many def...
tkrajcar
1

votes
1

answer
378

Views

.net 4.0 markup-extensions WPF

I am back with another irritating problem. The problem is in .net 4.0 framework the TargetProperty type casting seems to have some problem and that's reported in msdn forums also. I've put up the code which i use here. Can someone suggest me a solution? The MSDN link which speaks of this problem is...
Anee

View additional questions