Questions tagged [insets]

inclusion of smaller elements within larger elements; includes html elements, pictures, graphs

131 questions
0
votes
1 answer

Box inset shadow with deg.. (see example)

While I was working on some picture layouts in css I had an idea for a box shadow over my images. The problem is that nowhere on the internet, or out of my own knowledge I can find the answer to my question. Here you can see an iPhone with the…
0
votes
2 answers

CSS inset border radius with solid border

I know that I could create inset/inverted borders playing with radial-gradient, like here: Inset border-radius with CSS3, but what I want to know is if I can draw a solid border of 1px around the resulting shape, like in this image: I don't only…
ali
  • 10,927
  • 20
  • 89
  • 138
0
votes
2 answers

keep (or set) box-shadow inset for image

I would like to set a box-shadow inset for images. This is not possible for images, so I googled for workarounds and found this as one of them: JsFiddle The problem is that the span has a good wrap on the image, but if the image has a styling which…
Youss
  • 4,196
  • 12
  • 55
  • 109
0
votes
1 answer

Inset Box Shadow on iFrame (Google Calendar)

I am trying to put an Inset Box Shadow on a Google Calender and cannot seem to get it to show up unless the z-index is a negative. It shows, but then the user cannot click/use the calendar. I looked at: Add inset box-shadow on Google Maps element …
user1968727
  • 1
  • 1
  • 2
0
votes
2 answers

Adding vertical distance to components in gridBag Layout

I am adding four components in gridbagLayout. I want to add vertical distances between them how to add vertical distance? components are datfeild (Jlabel) billno (JTextFEILD) date (JTextField) search JBUTTOn) delete(JBUTTOn) I tried by making…
0
votes
1 answer

Border on bottom not disappearing on :active

I'm trying to get the bottom blue border to disappear on :active. The persistant border is tied to the background div but it's not going away when the hyperlink is active even though the hyperlink has no bottom border. Here is a fiddle of the…
0
votes
0 answers

UIScrollView contentInset vs viewport padding

I know about the contentInset on UIScrollView, however I'm trying to achieve something slightly different: I want to have a "viewport" on the scrollview: essentially have all the content scroll within the scrollview but at all times have a blank…
Aleks G
  • 56,435
  • 29
  • 168
  • 265
-1
votes
1 answer

Zooming and plotting a inset plot

I am trying to do a zoomed in inset plot like the image: The first part of the code is working i.e. it is plotting the file. Only when I try to plot the zoomed part it gives the following error I have trying to figure it out but none of the posts…
BRMBU
  • 31
  • 1
  • 10
-1
votes
1 answer

Java Layout Insets

board image the above is a board layout done by using gridbaglayout. i would like insets of 5 pixels around the whole board but not between each label. i scaned the api and havent come up with something that lets me do this. does this mean i have to…
iTEgg
  • 8,212
  • 20
  • 73
  • 107
-1
votes
1 answer

Get the width of a JPanel without the Border

I have a JPanel with a null layout (this should stay), and a simple Etched Border. Now i want to set the location of a button at the deapest point; for this i need the width of the border. How can i get this? Component.insets().bottom works fine,…
GFP
  • 260
  • 3
  • 10
-1
votes
1 answer

CSS3 Box-shadow not working

So, I'm having trouble with this code: #footer { position: fixed; bottom: 0px; margin: 0; padding: 0; left: 0; right: 0; width: 100%; height: 40px; font-family: Arial; text-shadow: 1px 1px 1px black; border-top: 1px solid rgba(0, 0, 0,…
Jesse Dijkstra
  • 130
  • 1
  • 7
1 2 3
8
9