I have two divs, and I want them to be surrounded by the same limit as "look like" Can help solve it?
I like to see it
_____ top | | | __ | Down | | | ─────────
The way PS I tried to add that border-bottom: white
to `` # top` div is.
However, it becomes more complicated because #bottom < Div>
Here is html.
& lt; Div id = 'top' & gt; Top & lt; / Div & gt; & Lt; Div id = 'bottom' & gt; Down & lt; / Div & gt;
Here's the CSS
#top {width: 100px; Height: 100 pixels; Border: Solid 1px black; Border bottom: solid 3px white; Status: Relative; Z-index: 1000; } #botum {width: 200px; Height: 200 pixels; Border: Solid 1px black; Status: Completed; }
If you need this, JSField is here
Thank you for your help!
Another solution, try the selector first:
# Top {width: 100px; Height: 100 pixels; Border: Solid 1px black; Border bottom: None; Background: #fff; } #botum {width: 200px; Height: 200 pixels; Border: Solid 1px black; Border-top: none; } #Botm: {Before Content: ""; Display area; Margin-left: 100px; Border-top: solid 1px black; }
Popular posts from this blog
I get my first project html & amp; CSS, but there is some problem. I am practicing using Codepean and my gallery was running well but I am trying to add the last line of images and it is all messing up and I do not know why For some reason, when I try to add that chess board it all gets worse. I am still very new so I hope to learn a lot. Thank you. [1]: http://codepen.io/zenturtle/pen/ezDGC Margins are causing issues when you use margins in the position of an element, then you push the elements around it too. Use a solution: Status: Relative and then use Positioning Properties: Above , Below , left , right example: #chess {status: relative; Left: 555px; } Another solution is to use status: absolute . Location Location: Relative on & lt; Div id = "perimeter" & gt; Status: Full on every Example: #chess {status: full; Bottom: 122px; Correct: 230px; } Similarly you are in the position of chess image...
I have written a simple httprequest / response code and I am getting this error below: I used to type in my classpath httpclient, httpcore, common -Codecs and general logging. I am very new to Java and I do not know what's going on here. Please help me. code: import org.apache.http.client.HttpClient; Import org.apache.http.client.methods.HttpGet; Import org.apache.http.HttpResponse; Import org.apache.http.impl.client.HttpClientBuilder; Import org.apache.http.Header; Import org.apache.http.HttpHeaders; Public class UnshorteningUrl {public static zero main (string [] args throws exception {HttpGet request = zero; HTTP Client Client = HTTP ClientBuilder.credit (). Build (); Try {Request = New HTTP Gate ("trib.me/1lBFzSi"); HttpResponse httpResponse = client.execute (request); Header [] header = httpResponse.getHeaders (HttpHeaders.LOCATION); // Preconditions.checkState (headers.length == 1); String new url = header [0] .getValue (); System.out.println ("new url...
After I am trying to open file changelog.txt and it does not matter if I open it Need to have the user open it though it is always located in the ~ / directory. Enter the file here. Here is my code: Process TForm1.FormCreate (From: TObject); Var myFile: textfile; Line: String; Start AssignFile (myFile, '~ / changelog.txt'); Reset (myFile); While EOF (MyFile) does not readLn (myFile, Line); Label3.Caption: = (Label3.Capttion + Line + # 13 # 10); End; CloseFile (myFile); End; This does not work, however, if I replace ~ with the actual user name, then it works, however, I use the username of each user Can not know which will run my program. Any idea how can I get the username that started the program? ! Thanks Edit1: I have tried this, but this also includes a new line: RunCommand ('/ bin / bash', ['- - C ',' Whoami '], users); This is normal. The concept of "~" is an shell level and thus requires a separate shell elev...
Comments
Post a Comment