FAQ Database Discussion Community


Border in my site

html,css,border
straight to the point; there is a margin border in my site and I can't seem to remove it... I'v tried everything, disabling some of the css,.. I really don't know what that border is doing there. image: the index code: <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>XylCro Home</title>...

CSS: How to set up border radius cross browser (only IE8 and IE9 missing ?)

css,internet-explorer-8,internet-explorer-9,border,internet-explorer-10
I have created my own buttons and set up some simple border radius. So far I have the following which works fine for me in newer browsers but I am not sure what I have to add here to cover IE8 and IE9 as well (I am not interested in...

Creating semi-transparent borders

css,border
I'm trying to create semi-transparent borders like on this screenshot. I could only achieve this. How to make the borders look like those on the screenshot?...

Draw border around nontransparent part of image on canvas

javascript,image,canvas,html5-canvas,border
I'm drawing an image onto a canvas using drawImage. It's a PNG that is surrounded by transparent pixels, like this: How can I add a solid-colored border to the visible part of that image on the canvas? To clarify: I don't want a rectangle that surrounds the image's bounding box....

CSS Transition Effect :: Text changing color, but not border

css,hover,border,css-transitions,border-color
I'm trying to apply a transition effect to some icons. The transition works for the font (FontAwesome), but not for the border, and I'm not sure why. Been trying since yesterday, combed through the web including stackoverflow, but nothing. You can see the example here, and here is the code:...

Tabbed Content: Left Border Disconnected from Tabs Above - html CSS jQuery

jquery,html,css,tabs,border
I'm having a go at building a reusable tabbed content. The following is remixed from Shay Howe's jQuery Tutorial; catching up on HTML5/CSS3 skills. I've added a margin to further highlight the issue. Everything is spot on, but the left vertical border doesn't line up with the left side of...

Extra misplaced pixel in border

html,css,animation,border
I made a test header to do my animations in. What the thick red line does is to slide to the next header if the user clicks on it. It works fine for Home, About, and Contact... but for some reason, Gallery has an extra misplaced pixel. (You might have...

Adding a border is causing my header format to have issues

html,css,html-lists,border
I am trying to add a border to my header, but when I do, the line-height (or something like that) is getting messed up. HTML - <div class='header'> <ul> <li>Home</li> <li>Services</li> <li>Estimates</li> <li>Co2 Calculator</li> <li>Contact Us</li> </ul> </div> CSS - .header { background-color: #006633; height: 50px; border-radius: 5px; border: 1px...

Android: How do I add a thin grey horizontal line on alert-dialog before the buttons?

android,android-layout,border,alertdialog,material-design
I'm using android.app.AlertDialog that contains a ScrollView and inside (of course) some content. Google shows in its material-guidelines a small grey line above the buttons when the content is larger than the visible space: http://www.google.com/design/spec/components/dialogs.html#dialogs-behavior My alert-dialog doesn't have this grey line. How do I create this line? I already...

How to make a double line border UIButton?

ios,swift,uibutton,border
I'd like my buttons to have a double line border, like in the image. Is there a way of doing it programatically? ...

Insert text in border CSS HTML

css,text,background-image,border
I need to insert text in the upper and lower of an inner border (both centred) which will have a background image behind it. This will be the same on each page. Can I achieve this using CSS? Please see screenshot of what I mean: The border needs to be...

Custom Control BorderThickness

c#,wpf,textbox,user-controls,border
I've created a custom WPF user control. The problem is, that sometimes I need a BorderThickness of 0 and sometimes a BorderThickness of 1. <UserControl ...> <clay:TextBox x:Name="ClayTextBox" BorderThickness="1" > </clay:TextBox> </UserControl> If I'm using the control in a xaml document like this: <clay:TextBox x:Name="ClayTextBox" BorderThickness="0" > </clay:TextBox> ... the...

Slanted diagonal line in html or css?

html,css,css3,border,css-shapes
I want to make a Table like this is it possible to add a slanted diagonal border in table?...

how to make bottom border gradient? [closed]

html,css3,border,gradient
EXAMPLE: Hello i need help with creating the bottom border with gradient and transparent edges. How could I go about creating this effect?...

How to reduce table border thickness?

table,border,thickness
I am drawing one table with border=1 but it looks quite prominent as i am enclosing one image inside it so i want to make it thinner for better look and feel. <table border=1 cellpadding=50 cellspacing=0><tr><td></td></tr></table> How can i reduce border thickness? ...

How do you create a boarder in an SSRS Report?

reporting-services,group-by,border,hidden,row-number
I've gotten the hang of creating charts/colors and grouping data but I can't seem to figure out how to outline each grouping in my report. I've got data built for my chart - what I would like to have it appear as -- is like this: I'm not picky on...

Edge border for navigation bar

html,css,navigation,border
I have a fairly simple navigation bar with a bottom border but I would like to box it off on either side - but not the top. So I get a |______________| surrounding all of my links but I am just starting out and whatever I try seems to border...

ImageView remove white border?

android,imageview,border
How to make this imageView full screen? No matter how I'm trying, I'm still getting that white borders on my phone, and on my emulator also, how to remove fully them?...

CSS gradient on border

html,css,background,border,gradient
In the following code, the gradient has a width of 100% and goes over the border on the left side. JSFiddle input { background: transparent; font-family:'Open Sans'; border: 1px solid rgba(255, 255, 255, 0.2); box-sizing: border-box; padding: 5px; color: rgb(164, 164, 164); } input:focus { outline: none; border: 1px solid...

Remove Black Border From Scanned Image c#

c#,image,border
I have an application that scan Images from scanner but some scanners put a black border around the saved image. How can I remove that black border? Thanks so much for your participation.

how to put border image inside of div [duplicate]

html,css,border,border-image
This question already has an answer here: Placing border inside of div and not on its edge 8 answers When using border-image CSS property, the border is placed outside of div. Is there any way to put the border image inside of div? border-width: 50px; border-image: url(Border.png) 50 repeat;...

Create a border around image when active/clicked

css,image,border,active
I want to let my website visitors select from 3 different images and what I want now is a border around the image when they selected, so basically when it's active. I hope it's understandable what I am looking for. Can someone help me perhaps with that? I've tried to...

Border with inverted rectangular corners

html,css,css3,border,css-shapes
How do I create a non-rectangular border like in this image? Current Code: http://jsfiddle.net/bqjr5wep/ div { background:#1c1c1c; width:400px; height:200px; position:relative; } div:before, div:after { content:''; display:block; left:10px; right:10px; top:10px; bottom:10px; border:2px solid #FFF; position:absolute; } div:after { left:14px; top:14px; right:14px; bottom:14px; } ...

Can't figure out how to remove text-decoration on

css,border,text-decorations
UPDATE 2: Question no longer relevant since it can't be solved with a MWE offline example. (I also found the offending piece of code which was responsible for the bug. I have a small thin border when hovering over the header element which looks suspiciously like a text-decoration border and...

Draw lines between divs using css border

jquery,css,border,line,connections
This below is a "jQuery plugin that adds stylable connecting lines using CSS border among block elements of your page, which is good for web based mind map or project flow." I was trying to use it but when I do, it connects every box to every box. Can't I...

CSS bottom border hover “jitter”

html,css,colors,hover,border
I have a navigation bar which I would like to give an orange bottom border when you hover over the navigation buttons. Only problem is that whenever you hover, the border makes the content/navigation buttons "jitter" which they aren't supposed to. Also I already have a black bottom border on...

Foundation 5 - modifying top-bar links to have a border-bottom with SASS

sass,zurb-foundation,border,navbar
I'm working on a Foundation 5 site and need to customize the .top-bar navigation menu. I am using the SASS version of Foundation. I'm having difficulty modifying the active and hover styles for the menu links using SASS. I've changed their colors, however I want to add a border-bottom to...

Using IE11 server - Rounded borders not showing?

html,css,border,internet-explorer-11,radius
I am creating a webpage that sits inside another webpage (like an intranet) the document sits and runs from our server which runs Internet Explorer 11. Can anyone tell me why some of the design elements do not appear? (especially curves) JS Fiddle: https://jsfiddle.net/kt4hs1pk/ I have put this at the...

JButton with padding between its border and the button itself

java,swing,border,jbutton,padding
I've a JButton that has its background green-colored and its border as a LineBorder. I would like to insert a space between the button and the border, a kind of padding. I've tried with setMargin(new Insets(x,y,t,z)) but it seems not working. This is my piece of code. JButton JBtn=new JButton("sdfd");...

borders slightly misaligned

html,css,border
For an odd reason, my 6 borders seem a little garbled. Here's an image: Here's my chunk of CSS for that list: #aboutcontent #names li{ width: 325px; border: 1px solid white; display: inline-block; font-size: 12px; line-height: 25px; } I'd like all those borders touching perfectly, no space in between. Here's...

Inside transparent arrow on the top

css,css3,border,css-shapes
I would like to make a transparent arrow over an image. This triangle should be indented in a block and show the background image. Desired output: I used skewX() property that @web-tiki had explained here but I want it to display on the top of the border rather than on...

how to stop wiggling (jumping) list menu item on mouse over?

css,css3,user-interface,border
I have menu when I mouseover li is wiggling little bit. How stop that wiggling. code is here JSFiddle...

How to re-height border for windows resize in XAML WPF

wpf,xaml,height,border
I have a more StackPanels in my XAML. Every StackPanel has a border inside. When I modify the Main Window the width follows the resizing. But the height follows only in one the bigger direction. If I make the Window smaller the height of the borders doesn't follows. So the...

WPF DataGrid DataGridRow Selection Border and Spacing

wpf,datagrid,border,datatrigger
I'm using the WPF DataGrid to display data and when the user selects a row, I'd like the background of the entire row to be highlighted (with a gradient) and also to have a border. I've been using the following code, which works for the most part: <Style TargetType="DataGridRow"> <Setter...

How to create a border gap illusion

html,css,css3,svg,border
This is the illusion that I am attempting to create: Notice that my designer wants the border cut off in the middle of the div, this is what I need to know how to do. I don't think overlapping with a z-index will work because of how the HTML is...

How to zoom in when hover on image but make border stay in place?

css,hover,border,zoom,image-zoom
I'm quite new to CSS and HTML and I want to create an image that zooms in fast when you hover. But the box radius zooms in as well. I know I'm doing something wrong with my div classes but I can't figure out what exactly. So I mean I...

Create text-area dotted on each line

html,css,textarea,border
I would like to make a contactform like this one: http://line25.com/wp-content/uploads/2012/letter-form/20.jpg (a multi-line textarea where each line has a dotted border-bottom, like a notebook. So not just the bottom border of the field) The name and e-mail fields I already have: #contactform input[type="text"]{ border: none; border-bottom: dashed 2px #c9c9c9; width:...

How can I remove the border of a TextView item in a ListView

android,listview,textview,border
I have this bank info list for user to select a bank. I have set textview's background with a drawable file to replace system effect. However, it will show orange borders(system effect) around textview which looks terrible for me .I would like to give you guys some pictures, since my...

How to stop element moving when its border-radius changes?

html,css,position,size,border
So I've just got this small extract of code which I want to go ahead and add some more effects too. At the moment though, the problem I'm having is that when the border-radius changes (from 0 to 5px), then the image jumps down and to the right, so not...

HTML, remove border from top-left cell of a table

html,css,table,border
I have a html table, my top-left cell is empty and I want to remove its border. I tried with some css: .border-less { border-top: 1px solid #FFFFFF; border-left: 1px solid #FFFFFF; } That I applied to my top left cell: <td class="border-less"></td> but it doesn't work. Any idea how...

Possible to place border on inside of padding using only one div?

html,css,css3,border
I'm just wondering if anyone knows a way to use only one div to get an inlayed border effect? Or do I have to use two? Here's what I mean: I'm currently using a div with a border, wrapped inside a div with padding. I have to keep track mentally...

Cant find resolution for the error “invalid conversion from char to const char*”

c++,string,char,border,const
I have looked around but cant find an answer to my question. The program is suppose to put a border of stars (*) around a heading, but I'm getting the error: invalid conversion from 'char' to 'const char*' [-fpermissive] as well as the error initializing argument 1 of 'std::basic_string<_CharT, _Traits,...

CSS3 border animation ghost

css,css3,animation,border
I have this little border animation but has a ghost in the left top corner, a black dot, I don't know how to get rid of it... You can check it here: http://codepen.io/xaeoc/pen/xGRgze body { background-color: #333; height: 230px; } .lluv { width: 230px; height: 230px; border: solid red 1px;...

Remove border from Bootstrap accordion

html,css,twitter-bootstrap,border,accordion
I've been stuck on this (apparently easy) thing that I can't manage to solve. I'm using Bootstrap 3.2.0 and I'm not able to remove the line between the accordion panel title and the panel body while every other border and shadow is gone. I've already tried every suggestion that was...

How to remove border from table in WordPress

wordpress,border
WordPress 4.1 running Zonya theme. I want to know how to remove border from table in a wordpress page. Page link: http://www.worldmarketingsummitgroup.org/partners/...

Apply borders in a used cell Range VBA

excel,vba,loops,excel-vba,border
I am trying to apply a border around a group of used cells dynamically. The column Range is (B7:E7) The number of rows will always vary, so the code needs to be dynamic. My code below is not achieving this: Sub Borders() Application.ScreenUpdating = False Dim lngLstCol As Long, lngLstRow...

CSS: TD background color causing borders to disappear

css,border,background-color,border-color
I have a large HTML table that is created dynamically. The table has a standard structure, incl. colgroup, thead and tbody and the below styles. So far everything works as intended but when I add the class "bgGrey" to the TDs in one colum (see below) in order to give...

Browsers truncate border values to integers

javascript,html,css,border,pixels
Whenever a non-integer pixel value is used for the border of an element, the browser simply truncates the value to become an integer. Why is this the case? I'm aware that the border will not actually take up part of a pixel, but these types of values are sometimes used...

Increase space between border and background-image

css,border,background-image
I want to increase the distance between the border and the background-image ... I tried to add padding: 20px; but it doesn't work. .Tab1 { background-image: url("http://dl.dg-site.com/wp-content/themes/aeron/images/dl-products-icons5.jpg"); width: 100px; height: 75px; display: block; } .Tab1:hover { border: 1px solid green; } <div class="Tab1"></div> ...

Border radius CSS3

html,css,css3,border,css-shapes
How's the best way to do this kind of border with only css3? P.S: The width is 100%, size of screen....

make disappear bottom line in tabs html jquery css

border,out
i am making a web application and trying to make some nice tabs. The thing is i can't make the tabs show its content when they are active (if tab1 show content1) but without the bottom-border of the tab, classic tabs. With this i mean by switching to tab2, to...

need multiple border around fixed position element

css,border,sticky
I have a sticky header with a white background. The page background is also white. I'd like to set the header off from the content as the user scrolls down the page, so I gave the header some padding and a 1 pixel light gray bottom border. But I'd like...

Border some cells in table via CSS

css,layout,border,cells
In a very basic table I would like to put a border around some specific cells. I created for instance this table: <?php echo '<link rel="stylesheet" type="text/css" href="style1tt.css">'; echo '<table>'; echo '<tr> <th>name</th> <th>score</th> <th>position</th></tr>'; echo '<tr> <td>Bart</td> <td>189</td> <td>2</td></tr>'; echo '<tr> <td>Shirley</td> <td>211</td> <td>1</td></tr>';...

adjusting li border-bottom “length”

html,css,border
This is css for an unordered-list with the id "leftmenu" #leftmenu ul li{ list-style:none; padding:15px 0 8px 0; border-bottom:1px dashed white; float:left; clear:both; The problem is the border only goes as far as the text go. see:http://imgur.com/dhx2OKk I want it to be like that border under "Links"...

Wrong dashed outline around a

html,css,border,outline
If you click here, then click on the link "A new article" and then come back to the previous page (browser history previous page), you will see this: Why this strange dashed polygonal form/geometry? How to have it rectangular instead? The code seems normal: <div class="article"> <a href="article/coolarticle"> <h2 class="articletitle">A...

set inner shadow border to be ontop of image inside div

css,html5,border,shadow
I want a border inside the div display when an image is hover, but its showing the border on the back side of the div. I tried using z-index but doesnt work either. here is my code https://jsfiddle.net/ormxn1dn/2/ .thumb_images{ float:left; width: 90px; height: 60px; background-color:#CCC; text-align:center; margin-right: 5px; } .thumb_images:hover{...

ul percentage width with border

html,css,html-lists,border
I have a ul and table directly below, and I want to 2 to line up. Unfortunately as I've discovered, percentages can't be applied to the border I have, which is making the ul either too wide or narrow, depending on screen size. Apparently putting things into a container should...

How i can do custom border for matrix in css

html,css,html5,css3,border
<table style="float:left;"> <tr> <td><input id="c11" placeholder="c1,1" class="matr_c" readonly></td> <td><input id="c12" placeholder="c1,2" class="matr_c" readonly></td> </tr> <tr> <td><input id="c21" placeholder="c2,1" class="matr_c" readonly></td> <td><input id="c22" placeholder="c2,2" class="matr_c" readonly></td> </tr> </table> I have a code of some matrix in html and css. It looks like this picture now....

onclick css - border radius doesn't work

css,button,menu,border,radius
On http://www.backyardbiologics.com I have changed the css of the menu bar to a border radius: #header-v4 #navigation ul#nav > li.current-menu-item > a, {border-top-left-radius: 8px; border-top-right-radius: 8px; } On hover, the border radius works fine. But on click, the border radius is gone and the button turns into a square again....

Expand border from center on hover

css,css3,border,css-transitions
I'm trying to get a transition effect on border that the border expands right and left from center. h1 { color: #666; } h1:after { position: absolute; left: 10px; content: ''; height: 40px; width: 275px; border-bottom: solid 3px #019fb6; transition: left 250ms ease-in-out,right 250ms ease-in-out; opacity: 0; } h1:hover:after {...

Image border hover won't work

html,css,image,hover,border
I have an image centered on the screen that I would like a border around, which when hovered over changes color. I am trying to do this as you can see in the code below, but the problem is that the image just keeps being a link but no border,...

Custom CSS top-border

css,css3,border
I have to apply the same style for a set of paragraph. The top border have to be look the same like this.like this I don't want to make it for me, I just need some advice where to start! Thank you!

Border-top on input element is not “straight” [duplicate]

html,css,border
This question already has an answer here: CSS different border widths overlapping themselves 2 answers I'm applying a CSS border to an input element and then applying a thicker border-top styling. Why does this have a strange overlapping effect? input { width: 50%; border: 1px solid #ccc; border-top: 15px...

Python PIL - AttributeError: 'NoneType' object has no attribute 'save'

python,border,python-imaging-library,crop,trim
I use this code to delete the border of an image using PIL: def RemoveBlackBorders(img): bg = Image.new(img.mode, img.size, img.getpixel((0,0))) diff = ImageChops.difference(img, bg) diff = ImageChops.add(diff, diff, 2.0, -100) bbox = diff.getbbox() if bbox: return img.crop(bbox) from here And I use this to process all images contained in a...

How to add row borders and zebra stripes (row striping) to datatables DT in R?

html,r,datatables,border
I would like to know the proper way to add row borders styling and zebra stripes option to datatables created with the package DT in R. Simple starter example: library(DT) datatable(iris) Simple example with options: datatable(head(iris, 20), options = list( columnDefs = list(list(className = 'dt-center', targets = 4)), pageLength =...

Border bottom smaller than the text [duplicate]

html,css,html5,css3,border
This question already has an answer here: Title with bottom border smaller than width 4 answers I have this html code: <h1>FROZEN</h1> And I want a border bottom for this element, a border to look like this one: Maximum 150px width border. Is there any css solution to achieve...

Border bottom center with fade out

css,border
How do i create border that is centered with a fade out effect towards the edges of the element Example below: (The bottom border) ...

text boxes in html form going beyond borders of form

html5,forms,css3,textbox,border
I am making a form in HTML that contains two text boxes and one text area, and I would like for all three elements to share a common width value. However, if I use width: 100%, referring to 100% of the form width, the text boxes stretch past the right...

put title of title border to the right in java swing

java,swing,border
I have a swing form in my program and I used a panel which uses title border as you see in the picture: I want to put the title ( marked with red oval ) of title border to the right but I don't want to use applyComponentOrientation function because...

Do not add border first time HTML

html,css,row,border,html-table
Not sure how to go about this piece of code (CSS): td { border-bottom: solid 2px lightgray; } (featured in the jsfiddle below), to not function but only for the first button click. The reason behind this is because then there would be 2 bottom borders. http://jsfiddle.net/julianbuscema/yqh2rqh0/38/ Pretty much on...

CSS border triangle point right [duplicate]

html,css,css3,border,css-shapes
This question already has an answer here: How do CSS triangles work? 13 answers So i have a border that is a triangle pointing left, how would i turn this so it points right but staying in the same position ? CSS content: ''; position: relative; display: block; height:...

BorderLayout showing border lines

java,swing,border,border-layout
I am not very good in Java GUI and needs to seek help. I intend to add images at the west of my BorderLayout, center to be my contents and buttons at the bottom. I created an empty border to make some paddings between my south panel and my west...

Change border height

css,css3,border
I've a div with after border with triangle shape, but I want to reduce the height of the triangle . jsfiddle <div class="box"> <div class="content"></div> </div> .box { width: 200px; height: 120px; position: relative; background-color: #88b7d5; } .box:after { top: 100%; left: 50%; border: solid transparent; content: " "; height:...

Modifying already added child elements

wpf,vb.net,border,parent-child,children
How can I edit/modify child elements, that have already been added? I have a grid with added child element border that is set to specific color. How can I change the existing border color without adding a new child element? Because I need these elements to be created dynamically, I've...

CSS/HTML : float left not working when I zoom out the browser

html,css,css-float,border
I have a simple HTML like below : <div id="main_container"> <div class="floated_box">box 1</div> <div class="floated_box">box 2</div> <div class="floated_box">box 3</div> <div class="floated_box">box 4</div> <div class="floated_box">box 5</div> <div style="clear: both;"></div> </div> and the following css for my html elements : #main_container { width: 400px; margin: 20px auto; border: 2px solid #cccccc; padding:...

Div with border and top/right, bottom/left transparent edges

html,css,css3,border,css-shapes
Does anybody knows how to code the border (upper right corner and lower left corner) of the box(image below)? Hope you can help me. Thanks in advance! This is the HTML <div class="carouselle"> <div class="carousel-item"> <div class="xx_b"> <p>« Lorem ipsum dolor sit amet, feugiat delicata liberavisse id cum, no quo...

Images in front of a border

html,css,border,z-index
this is what I'm trying to achieve: http://imgur.com/2OqnSIu Three hours passed and I still can't figure it out how to do this. I've tried everything with positions and z-index but nothing works. I really don't want to use everything in a single image(border + pictures) and using it as a...

JPanel with triangular border

java,swing,jpanel,border
looking to create a JPanel border like that highlighted in the image in red below.. i.e. triangle at one side or two sides. I've successfully implement rounded JPanel borders using the info here and here. Any ideas or tips? ...

Android EditText Border Background Color

android,android-layout,colors,android-edittext,border
In My Application, I have set EditText with border background color and it works fine on all the devices, however on my 4.1.2 devices the whole EditText display as black color. I am able to enter text in it and everything works but text not visible because EditText is completely...

JavaFX Tooltip - border color bug

java,css,javafx,tooltip,border
I have a problem with Tooltips in JavaFX. For illustration the core of this problem I created new JavaFX project through IntelliJ Idea. Root pane of that project is HBox with alignment="CENTER" and that HBox contains four buttons (text: Button A-D). Every button has set Tooltip with text: Sample tooltip...

Padding make item move after adding border on JS click

javascript,html,css,border,padding
I am having a submenu made with an Ul Li. When you display the sub menu, the li are shown without any border. With a simple javascript code, when you click on a li I do this : .actif-link { border: 1px solid rgb(173, 178, 178); padding: 5px; } About...

Div border affected after removing display:table and table-cell

html,css,border
Im having an issue with a border on my outer div. (all) I just had to remove display: table; from html and display: table-cell; from .all to solve an issue i was having. It turns out that they were keeping the border in check on .all. Ive been able to...

Changing the border length in CSS

html,css,css3,border
I realize that borders wrap the content but is it possible to make the bottom border percentage of the element it is bordering? Also is it possible to reduce the border length by a set pixels i.e. -20px. nav li { display: inline-block; *display: inline; /*For Internet Explorer 7*/ *zoom:...

Producing an Error on input focus

jquery,focus,border
if you go on facebook when they focus on one of the register input fields an error appears, how would I go about doing this, I have had a go but it doesn't seem to work. _emptyCheck: function() { $('#login_form input').focus(function() { if (! $(this).val() ) { $(this).css("border", "1px solid...

Border (outline) on gradient border

css,border,gradient
Using this: background: -moz-linear-gradient(315deg, transparent 10px, black 10px); How can I create a border or outline around it without using border?...

Is it possible to retain button's border after changing the Look and Feel? (Java Swing)

java,swing,button,border,look-and-feel
I am currently working on a project in which users are allowed to choose a Look and Feel. However, when users choose another Look and Feel and change it back to the original CrossPlatformLookAndFeel, the borders of buttons disappear. code: import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; public class...

Div with transparent gap inside border

css,border,transparency,css-shapes
I've got a div of varying size that needs to have a transparent area followed by a white border as seen in this screenshot: I have no problem getting the red transparency and shape correct, but am at a loss on how to get the transparent area followed by the...

Jekyll kramdown how to display table border

table,border,markdown,jekyll,kramdown
I am using Jekyll default kramdown. I have a table showed using surround text, etc. | Tables | Are | Cool | | ------------- |:-------------:| -----:| | col 3 is | right-aligned | $1600 | | col 2 is | centered | $12 | | zebra stripes | are neat...

CSS border-image basic stuff

html,css,border
It's really simple stuff, but I can't understand what the problem is. In an ASP.Net webpage I want to create a div with a specific border. CSS: .ResourcesDiv { border-image:url(http://blogrope.com/wp-content/uploads/2013/06/003-wood-melamine-subttle-pattern-background-pat.jpg) 30 30 stretch; border: 15px solid transperant; width: 300px; padding: 10px 20px; margin: 50px; } HTML/ASP: <div id="Resources" class="ResourcesDiv"> In...

(Java) There are white borders around all my buttons

java,swing,border
In java, My buttons are surrounded by white, thick borders that only appear when I have a image in a jlabel for the background. Example: The problem here is that white borders go around all of my buttons, making it look terrible. The intended use was for the buttons to...

I cant create a CSS border for this content

html,css,wordpress,border
I'm using WordPress for my blog/website. On the regular pages I created borders just fine. On the blog template, I cant seem to figure out how to borders around boxes. this is what i have so far #secondary{ background-color: white; left: 15px; border-width: 15px; border-color: green; } (green for visibility)...

Why does the box come out like this (padding/border/margin)?

html5,css3,border,margin,padding
So this is my first day learning HTML&CSS and I'm currently having a problem. Why does this block come out like this (on left is what I get & on right is what I'm trying to achieve): HTML: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Temporary</title> <link rel="stylesheet" href="main2.css"> </head>...