Skip to main content

All Questions

Tagged with
0 votes
1 answer
41 views

How to make responsive 'legend' area for mobile view

I'm building a portfolio website using HTML & CSS. I want to add my projects inside tags. But those legend tags arn't responsive for the screen resolution(for me, it's mobile view) and its' ...
Tharin Edirisinghe's user avatar
3 votes
1 answer
378 views

Creating a legend for a scatter plot in D3

I have written the following code snippets to create a legend for a scatter plot. Basically, it is a simple example that uses Susie Lu's D3-legend module to create a legend for a scatter plot. The ...
Reem Al-Assaf's user avatar
0 votes
1 answer
137 views

Highcharts - Heatmap - Legend remove white "dashes"

I need to remove all of these white lines from the heatmap legend. Does anyone know how I can edit these? Rendered Chart Design I'm trying to achieve
Ian Tennyson's user avatar
1 vote
2 answers
1k views

How to show the fieldset border through a section of the label?

I have a form with fieldsets, and would like to keep the border, but would like the border to be shown between some text legends. I can't get the legend to have a transparent background to let the ...
Stephen's user avatar
  • 1,661
0 votes
0 answers
145 views

Can´t align left legend text

I am trying to align legend text to left side but when i do that the top border disappear. If i add width=auto I get the complete border but the text align to center. border: 1px solid #395d8b !...
Edgard Ruiz Gonzalez's user avatar
4 votes
0 answers
3k views

how to give custom design (icons) for point Style of chart js legends?

I have a chart which designed based on a mock-up but the the mock-up chart has used custom icons for legends pointStyles which basically i couldn't find them in chart JS itself, i tried different ...
Sajad Haibat's user avatar
2 votes
0 answers
16k views

How to add legend in Leaflet map?

I am trying to add a legend in my Leaflet map at the bottom right corner, Ive actually written the code halfway near the end of the code and I do not know how to continue, I want it displayed in the ...
Jackson_Stake's user avatar
1 vote
1 answer
5k views

Position legend on bottom in HTML5 [closed]

Previously legend-tags had an align property with the values top, bottom, left and right. But in HTML 5 this property is not supported anymore. W3schools advises to use css instead. But how can you ...
Fay Boisam's user avatar
1 vote
3 answers
707 views

How can I align three elements in a legend tag in the same line?

I have three elements: a letter in a <h1> tag, a <hr /> tag and an image. This is how they are in html: <h1 class="red">&nbsp A &nbsp</h1> <hr /> <img src="...
SpadaSpettro's user avatar
4 votes
0 answers
2k views

Safari 11 Bug Fieldset-Legend with Overflow Hidden and Click

Since Safari 11 for Mac checkboxes (and links/other click-events) are inaccessible when placed in a <legend>, does anyone know of a workaround? JS fiddle contains a demo, neither the checkbox ...
elveti's user avatar
  • 2,356
1 vote
2 answers
17k views

Custom border for a fieldset and legend

sorry if this question has been asked before, my friend asked me to do this sort of fieldset for their website. screenshot in this link it looks like a normal one but I'm curious how do I get that ...
Felix Agung's user avatar
0 votes
1 answer
280 views

How do I make CSS sharp "V" like horizontal corners for `<legend>` and `<fieldset>`?

How do I make in CSS sharp "V" like horizontal corners? Corners that look like this < > as if the corners were arose to left and right in both the <legend> and then in the <fieldset> ...
SeekLoad's user avatar
  • 1,033
26 votes
3 answers
95k views

How can I control the placement of my Chart.JS pie chart's legend, as well as its appearance?

I am able to create a pie chart using Chart.JS with this code: HTML <div> <canvas id="top10ItemsChart" style="padding-left:20px" width="320" height="320"></canvas> <div ...
B. Clay Shannon-B. Crow Raven's user avatar
1 vote
1 answer
1k views

Underlined Fieldset Legend

I am working on a small interface, and currently have a simple set of radio buttons inside a fieldset with a legend. It currently looks like this: But I want to get a border between the legend and ...
Joe Balin's user avatar
  • 177
0 votes
1 answer
3k views

CSS/HTML fieldset with legend side by side

I just wanna ask how can i make that side by side? i know this has already been questioned many times here but i already tried the solutions that they've said worked. like adding <div> or ...
bruh's user avatar
  • 79

15 30 50 per page